[issue9695] Return from generators in Python 3.2

Amaury Forgeot d'Arc report at bugs.python.org
Fri Aug 27 13:37:08 CEST 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Why is a run-time exception better than a SyntaxError in this case?
And your patch now allows:
   x = None
   return x
What's the rationale of this change?

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list