Chris Jerdonek <chris.jerdo...@gmail.com> added the comment:

Thanks, Antoine. Just a note: with that other implementation I think the call 
to pending.close() would probably also warrant a lock since it appears close() 
can't be called either if a generator is already executing (granted that 
situation would be even rarer since it could arise only during 
KeyboardInterrupt).

----------

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

Reply via email to