STINNER Victor added the comment:

contextmanager_leak.py: shorter script to demonstrate the issue.

Replacing "exc_info = sys.exc_info()" with "sys.exc_info()" works around the 
issue.

----------
Added file: http://bugs.python.org/file32953/contextmanager_leak.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to