On Fri, 13 Jan 2012 22:14:43 +1000
Nick Coghlan <ncogh...@gmail.com> wrote:
> I marked PEP 380 as Final this evening, after pushing the tested and
> documented implementation to hg.python.org:
> http://hg.python.org/cpython/rev/d64ac9ab4cd0

I don't know if this is supposed to work, but the exception looks wrong:

>>> def g(): yield from ()
... 
>>> f = list(g())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 1, in g
SystemError: error return without exception set


Also, the checkin lacked a bytecode magic number bump. It is not really
a problem since I've just bumped it anyway.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to