[pypy-commit] pypy py3.6: Add a TODO.

mjacob pypy.commits at gmail.com
Tue Jul 18 18:22:56 EDT 2017


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.6
Changeset: r91920:7f4ec0d17965
Date: 2017-07-18 19:59 +0200
http://bitbucket.org/pypy/pypy/changeset/7f4ec0d17965/

Log:	Add a TODO.

diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py
--- a/pypy/interpreter/generator.py
+++ b/pypy/interpreter/generator.py
@@ -710,6 +710,7 @@
         try:
             if throwing:
                 if self.w_exc_type is None:
+                    # TODO: add equivalent to CPython's o->agt_gen->ag_closed = 1;
                     w_value = self.async_gen.throw(space.w_GeneratorExit,
                                                    None, None)
                     if w_value is not None:


More information about the pypy-commit mailing list