[pypy-issue] [issue974] channel is not iterable

Armin Rigo tracker at bugs.pypy.org
Sat Dec 31 18:59:25 CET 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

The documentation at that link is unclear: when does next() raises
StopIteration?  It seems that if next() is just implemented by calling
receive(), then it should block forever, so I'm unsure what happens.

I'm fine with fixing it if I have clarification; if you like, you can also fix
it yourself, by editing the pure Python implementation, in lib_pypy/stackless.py
and lib_pypy/pypy_test/test_stackless.py.

nosy: +arigo
status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list