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
RuntimeError in pickle.whichmodule when sys.modules if mutated #66104
Comments
This would also render The attach patch protect the iterator by copying the dict items into a fixed list. I could write a tests involving dynamic module definitions as done in |
Sounds fine, but you should at least add a comment explaining the list() call. |
New version of the patch to add an inline comment. |
New changeset 86ba3bdfac15 by Antoine Pitrou in branch '3.4': New changeset d748a3503ad5 by Antoine Pitrou in branch 'default': |
Sorry for the delay, Olivier. Your patch is now pushed. Thank you! |
No problem. Thanks Antoine for the review! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: