<kenaan>
stevie_92 cpyext-gc-cycle e5ba3fd47f96 /: Implemented cpython-like GC list for cpyext Added some code for cpyext-only boehm GC support
<kenaan>
stevie_92 cpyext-gc-cycle 878ff32d88a1 /: Removed extra flags in cpython refcount Fixed tests in test_rawrefcount and test_cpyext Removed referen...
<kenaan>
stevie_92 cpyext-gc-cycle 9e5001a6604b /: Implemented pyobj_list for rawrefcount (to be used in cpyext tests) Added own cpyext test file for GC-r...
<kenaan>
stevie_92 cpyext-gc-cycle a189719f68e4 /: Implemented pyobj as gc and vice-versa Cleaned cpyext and gc/rawrefcount tests Cleaned translation options
<kenaan>
stevie_92 cpyext-gc-cycle ada4b64c0816 /pypy/module/cpyext/test/test_cpyext.py: Fixed cpyext test
<kenaan>
stevie_92 cpyext-gc-cycle 860d9f8d29b6 /pypy/module/cpyext/test/test_cpyext.py: Fixed cpyext test
<kenaan>
stevie_92 cpyext-gc-cycle fa88e83164e0 /: Fixed cpyext test
<kenaan>
stevie_92 cpyext-gc-cycle 5b3e2b3a25bf /rpython/memory/gc/incminimark.py: Cleaned up code in incminimark
<kenaan>
stevie_92 cpyext-gc-cycle 80824650968a /pypy/module/cpyext/: Fixed some formatting issues
<kenaan>
stevie_92 cpyext-gc-cycle 2e7b85611e30 /rpython/memory/gc/: Added complex rawrefcount tests using dot files Adapted traverse support in incminimark to support tests
<kenaan>
stevie_92 cpyext-gc-cycle 48c91f03eaa6 /rpython/memory/gc/test/test_rawrefcount.py: Finished implementation of dot file tests for rawrefcount Removed obsolete tests, that will be replaced...
<kenaan>
stevie_92 cpyext-gc-cycle ea95f4bc807f /rpython/memory/gc/test/test_rawrefcount.py: Fixed dot tests by allocating all PyPy objects old Add to stackroots instead of immortal PyPy objects f...
<kenaan>
stevie_92 cpyext-gc-cycle c46c894a7c06 /rpython/memory/gc/test/dot/: Added some dot tests
<mattip>
ahh, no wrong measuring
dddddd_ has joined #pypy
dddddd_ is now known as dddddd
<mattip>
ok, that was a dead end. The difference in test times is due to W_UnicodeObject.__init__,
<mattip>
we call lgt = rutf8.codepoints_in_utf8(utf8str) to assert lgt == length
<mattip>
that test really slows things down
<mattip>
s/test/check/
<mattip>
i guess we need a flag to disable this check for the buildbots
<kenaan>
mattip unicode-utf8-py3 cc276d4cd166 /pypy/objspace/std/unicodeobject.py: vastly speed up own tests
marky1991 has joined #pypy
<cfbolz>
mattip: good catch!
Rhy0lite has joined #pypy
<arigato>
mattip: uh what
<arigato>
code in W_UnicodeObject.__init__ contains "try: check stuff; except: pass"
<arigato>
that means "please check, and if the check fails, ignore that anyway"
<arigato>
(in the py2 branch)
<mattip>
yes, that is to handle a = array.array('u', ...); a.byteswap();
<arigato>
ok, but the whole code is strictly equivalent to nothing
<arigato>
(except much slower)
<mattip>
ahh, yes, the assert should be outside the try/except, or all that should just be removed
<arigato>
even the assert would have its AssertionError eaten
<arigato>
..ah I see
<mattip>
probably removing would be the best choice
<arigato>
at this point, yes
<arigato>
also, if we allow array.array to make nonsense W_UnicodeObjects, we must be ready to have random explosions down the line
<mattip>
yes, there are tests for that since CPython allows it, and we pass them
<arigato>
I guess the tests don't cover all details, but "good enough"
<ronan>
so when globals() has the UnicodeDictStrategy, LOAD_GLOBAL leaves residual calls after jitting, and the branch adds a slow call to str_decode_utf8() to the already-slow path