[pypy-issue] Issue #2009: PyPy3: "yield from" doesn't return all values (pypy/pypy)

gmludo issues-reply at bitbucket.org
Tue Mar 24 22:05:43 CET 2015


New issue 2009: PyPy3: "yield from" doesn't return all values
https://bitbucket.org/pypy/pypy/issue/2009/pypy3-yield-from-doesnt-return-all-values

gmludo:

The script below prints "(1, 2)" with CPython 3.4.3, but "1" with pypy3.3


```
#!python

def f():
    yield 3
    return 1, 2

def g():
    x = yield from f()
    print(x)

list(g())
```





More information about the pypy-issue mailing list