Skip to content
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

Possible hang in ExitStack when RuntimeError is raised #7

Closed
ncoghlan opened this issue May 25, 2016 · 1 comment
Closed

Possible hang in ExitStack when RuntimeError is raised #7

ncoghlan opened this issue May 25, 2016 · 1 comment

Comments

@ncoghlan
Copy link
Collaborator

ExitStack's logic to handle the PEP 479 changes in Python 3.5+ can hang in some cases: http://bugs.python.org/issue27122

Once added to CPython, that fix and new test case should be backported to contextlib2.

ncoghlan added a commit to ncoghlan/contextlib2 that referenced this issue Jul 31, 2016
Prevents a potential infinite loop on Python 3.5 when handling
``RuntimeError``.

(CPython updates by Gregory P. Smith & Serhiy Storchaka)
@ncoghlan
Copy link
Collaborator Author

Fixed in 2f4fd22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant