[issue21340] Possible concurrency bug in asyncio, AttributeError in tasks.py

Guido van Rossum report at bugs.python.org
Mon Apr 28 06:03:26 CEST 2014


Guido van Rossum added the comment:

Sorry, should have let someone review it. I'm a bit out of practice. :-)

But in this case I think three-arg getattr() is better; less code, less indentation, and the final question (is the frame not None?) must still be asked.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21340>
_______________________________________


More information about the Python-bugs-list mailing list