[pypy-commit] pypy default: Disable an assert that fails also on CPython, where failure is better just ignored at least on PyPy
arigo
pypy.commits at gmail.com
Thu May 11 17:14:07 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
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
More information about the pypy-commit
mailing list