-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting a key from a dictionary while iterating over it raises an exception in Python 3 #1998
Closed
tacchinotacchi opened this issue
Dec 16, 2019
· 2 comments
· May be fixed by arsdragonfly/node-gyp#1
Closed
Deleting a key from a dictionary while iterating over it raises an exception in Python 3 #1998
tacchinotacchi opened this issue
Dec 16, 2019
· 2 comments
· May be fixed by arsdragonfly/node-gyp#1
Comments
Wrap the dict inside a list(). |
running into the same issue when |
cclauss
added a commit
that referenced
this issue
Dec 31, 2019
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem is at line
node-gyp/gyp/pylib/gyp/input.py
Line 2288 in 038b4a3
In Python 3, it's not allowed to delete a key from a dictionary while iterating over it.
Example while trying to
npm install --save gl
:The text was updated successfully, but these errors were encountered: