Nick Coghlan added the comment:

I've pushed a variant that relies entirely on checking for instruction pointer 
changes, and it seems quite promising. However, a test_io failure introduced by 
this variant shows a new way for this version to *create* problems: because of 
the shift in the way signals are handled, the failing test switches from 
raising the exception as the last item inside the with statement to instead 
raising it as the first thing inside the __exit__ statement for a pure-Python 
context manager.

----------

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

Reply via email to