Nick Coghlan added the comment:

After chatting to Facebook's Carl Shapiro here at the core dev sprint, I'm 
going to start exploring a hopefully more robust white-listing based approach 
where we check for pending calls in the following cases:

* the instruction pointer either hasn't changed or has gone backwards and the 
instruction isn't a YIELD_FROM (the "return to the start of a loop" case)
* the next instruction is RETURN_VALUE (the function postamble case)

For now, I'm going to *skip* checking for additional pending calls when exiting 
a frame via exception, based on the theory that if we're already handling an 
exception, it's OK to wait until something catches it before checking for 
potential additional exception sources.

----------

_______________________________________
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