[pypy-commit] pypy py3.6: Write down the result of investigating this failure

arigo pypy.commits at gmail.com
Sun Jul 14 12:37:37 EDT 2019


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.6
Changeset: r96998:41876ed51727
Date: 2019-07-14 18:36 +0200
http://bitbucket.org/pypy/pypy/changeset/41876ed51727/

Log:	Write down the result of investigating this failure

diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py
--- a/pypy/module/pypyjit/test_pypy_c/test_string.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_string.py
@@ -198,7 +198,11 @@
         assert loop.match_by_id('calltwo', '')    # nothing
 
     def test_move_method_call_out_of_loop(self):
-        # XXX not implemented: lower() on unicodes is not considered elidable
+        # XXX this does not work: _lower_unicode() is found to be elidable,
+        # but it can raise (because of 'raise StopIteration' in
+        # Utf8StringIterator.next()---we don't detect that such an exception
+        # is always caught in the caller).  Raising elidable calls are not
+        # unroll-removed: see issue #2015.
         def main(n):
             lst = []
             s = 'Hello %d' % n


More information about the pypy-commit mailing list