Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r91257:e300fd927c59
Date: 2017-05-11 23:13 +0200
http://bitbucket.org/pypy/pypy/changeset/e300fd927c59/

Log:    Disable an assert that fails also on CPython, where failure is
        better just ignored at least on PyPy

diff --git a/pypy/module/itertools/interp_itertools.py 
b/pypy/module/itertools/interp_itertools.py
--- a/pypy/module/itertools/interp_itertools.py
+++ b/pypy/module/itertools/interp_itertools.py
@@ -1004,7 +1004,8 @@
                 w_newkey = w_newvalue
             else:
                 w_newkey = space.call_function(groupby.w_keyfunc, w_newvalue)
-            assert groupby.w_currvalue is None
+            #assert groupby.w_currvalue is None
+            # ^^^ check disabled, see http://bugs.python.org/issue30347
             groupby.w_currkey = w_newkey
             groupby.w_currvalue = w_newvalue
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to