virt_test\Scripts\python.exe testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py --config=~/machine_cfg.py --root=pypy --timeout=4000 in dir d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build (timeout 4000 secs) watching logfiles {'pytestLog': 'testrun.log'} argv: ['virt_test\\Scripts\\python.exe', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=pypy', '--timeout=4000'] environment: ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\matti\AppData\Roaming ASL.LOG=Destination=file CHOCOLATEYINSTALL=C:\ProgramData\chocolatey CHOCOLATEYLASTPATHUPDATE=133185086718935289 CHOCOLATEYTOOLSLOCATION=C:\tools CLINK_DIR=C:\Program Files (x86)\clink\0.4.9 COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files COMMONPROGRAMW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-RYZEN COMSPEC=C:\WINDOWS\system32\cmd.exe CONDA_BAT=d:\miniconda\condabin\conda.bat CONDA_EXE=d:\miniconda\Scripts\conda.exe CONDA_SHLVL=0 CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7 CUDA_PATH_V11_7=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7 DRIVERDATA=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\matti LOCALAPPDATA=C:\Users\matti\AppData\Local NUMBER_OF_PROCESSORS=2 NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\ OS=Windows_NT PATH=d:\CPython27\lib\site-packages\pywin32_system32;d:\pypy_stuff\pypy\externals\bin;D:\CPython27;D:\pypy_stuff\pypy2.7-v7.3.18\Scripts;D:\pypy_stuff\pypy2.7-v7.3.18;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseHg\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\WINDOWS\System32\OpenSSH PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=x86 PROCESSOR_ARCHITEW6432=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD PROCESSOR_LEVEL=23 PROCESSOR_REVISION=7100 PROGRAMDATA=C:\ProgramData PROGRAMFILES=C:\Program Files (x86) PROGRAMFILES(X86)=C:\Program Files (x86) PROGRAMW6432=C:\Program Files PROMPT=$P$G PSMODULEPATH=%ProgramFiles%\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public PWD=d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build PYPYCHERRYPICK= PYPY_ENABLE_WINCONSOLEIO=1 PYTEST_XDIST_AUTO_NUM_WORKERS=4 PYTHONPATH=.; RTOOLS40_HOME=C:\rtools40 RTOOLS43_HOME=C:\rtools43 RTOOLS44_HOME=C:\rtools44 SYSTEMDRIVE=C: SYSTEMROOT=C:\WINDOWS TEMP=D:\SystemTemp TMP=D:\SystemTemp TMPDIR=d:\systemtemp\pytest USERDOMAIN=DESKTOP-RYZEN USERDOMAIN_ROAMINGPROFILE=DESKTOP-RYZEN USERNAME=matti USERPROFILE=C:\Users\matti VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ WINDIR=C:\WINDOWS using PTY: False using config pypy/testrunner_cfg.py using config C:\Users\matti/machine_cfg.py running 4 parallel test workers setting MAKEFLAGS to ' ' (space) -- config/test -- interpreter/astcompiler/test -- interpreter/pyparser/test -- interpreter/test -- module/__builtin__/test -- module/__pypy__/test -- module/_abc/test -- module/_ast/test -- module/_cffi_backend/test -- module/_codecs/test -- module/_collections/test -- module/_continuation/test -- module/_cppyy/test -- module/_csv/test -- module/_demo/test -- module/_hpy_universal/test/_vendored -- module/_hpy_universal/test/pypy -- module/_io/test -- module/_jitlog/test -- module/_locale/test -- module/_lsprof/test -- module/_md5/test -- module/_minimal_curses/test -- module/_multibytecodec/test -- module/_multiprocessing/test -- module/_opcode/test -- module/_pickle/test -- module/_pickle_support/test -- module/_posixsubprocess/test -- module/_pypyjson/test -- module/_random/test -- module/_rawffi/alt/test -- module/_rawffi/test -- module/_socket/test -- module/_sre/test -- module/_vmprof/test -- module/_warnings/test -- module/_weakref/test -- module/_winreg/test -- module/array/test -- module/atexit/test -- module/binascii/test -- module/bz2/test -- module/cmath/test -- module/cpyext/test/test_api.py -- module/cpyext/test/test_arraymodule.py -- module/cpyext/test/test_async_iter.py -- module/cpyext/test/test_boolobject.py -- module/cpyext/test/test_borrow.py -- module/cpyext/test/test_buffer.py -- module/cpyext/test/test_bytearrayobject.py -- module/cpyext/test/test_bytesobject.py -- module/cpyext/test/test_capsule.py -- module/cpyext/test/test_cell.py -- module/cpyext/test/test_classobject.py -- module/cpyext/test/test_codecs.py -- module/cpyext/test/test_complexobject.py -- module/cpyext/test/test_contextvars.py -- module/cpyext/test/test_cpyext.py -- module/cpyext/test/test_datetime.py -- module/cpyext/test/test_dictobject.py -- module/cpyext/test/test_eval.py -- module/cpyext/test/test_exception.py -- module/cpyext/test/test_fileobject.py -- module/cpyext/test/test_floatobject.py -- module/cpyext/test/test_frameobject.py -- module/cpyext/test/test_funcobject.py -- module/cpyext/test/test_genobject.py -- module/cpyext/test/test_getargs.py -- module/cpyext/test/test_import.py -- module/cpyext/test/test_iterator.py -- module/cpyext/test/test_listobject.py -- module/cpyext/test/test_longobject.py -- module/cpyext/test/test_mapping.py -- module/cpyext/test/test_marshal.py -- module/cpyext/test/test_memoryobject.py -- module/cpyext/test/test_methodobject.py -- module/cpyext/test/test_misc.py -- module/cpyext/test/test_module.py -- module/cpyext/test/test_namespaceobject.py -- module/cpyext/test/test_ndarrayobject.py -- module/cpyext/test/test_number.py -- module/cpyext/test/test_object.py -- module/cpyext/test/test_pyerrors.py -- module/cpyext/test/test_pyfile.py -- module/cpyext/test/test_pymem.py -- module/cpyext/test/test_pysignals.py -- module/cpyext/test/test_pystate.py -- module/cpyext/test/test_pystrhex.py -- module/cpyext/test/test_pystrtod.py -- module/cpyext/test/test_sequence.py -- module/cpyext/test/test_setobject.py -- module/cpyext/test/test_sliceobject.py -- module/cpyext/test/test_structseq.py -- module/cpyext/test/test_sysmodule.py -- module/cpyext/test/test_thread.py -- module/cpyext/test/test_traceback.py -- module/cpyext/test/test_translate.py -- module/cpyext/test/test_tupleobject.py -- module/cpyext/test/test_typedeallocate.py -- module/cpyext/test/test_typeobject.py -- module/cpyext/test/test_unicodeobject.py -- module/cpyext/test/test_userslots.py -- module/cpyext/test/test_version.py -- module/cpyext/test/test_weakref.py -- module/crypt/test -- module/errno/test -- module/exceptions/test -- module/faulthandler/test -- module/fcntl/test -- module/gc/test -- module/imp/test -- module/itertools/test -- module/marshal/test -- module/math/test -- module/micronumpy/test -- module/mmap/test -- module/operator/test -- module/posix/test -- module/pwd/test -- module/pyexpat/test -- module/pypyjit/test -- module/select/test -- module/signal/test -- module/struct/test -- module/sys/test -- module/termios/test -- module/test_lib_pypy -- module/thread/test -- module/time/test -- module/token/test -- module/unicodedata/test -- module/zipimport/test -- module/zlib/test -- objspace/fake/test -- objspace/std/test -- objspace/test -- sandbox/test -- tool/bench/test -- tool/memusage/test -- tool/pytest/fake_pytest/test -- tool/pytest/test -- tool/release/test -- tool/test -- total: 144 to run ++ 03:43:02 starting config/test [1 started in total] ++ 03:43:02 starting interpreter/astcompiler/test [2 started in total] ++ 03:43:02 starting interpreter/pyparser/test [3 started in total] ++ 03:43:02 starting interpreter/test [4 started in total] __ config/test [1 done in total, somefailed=False] ____________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.py rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 161 items / 1 skipped config\test\test_pypyoption.py ................................................................................................................................................................. =================== 161 passed, 1 skipped in 438.99 seconds =================== ++ 03:50:26 starting module/__builtin__/test [5 started in total] __ interpreter/pyparser/test [2 done in total, somefailed=False] ______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 192 items interpreter\pyparser\test\apptest_parsestring.py ...... interpreter\pyparser\test\test_automata.py ... interpreter\pyparser\test\test_future.py ................................... interpreter\pyparser\test\test_gendfa.py . interpreter\pyparser\test\test_parsestring.py ............ interpreter\pyparser\test\test_pyparse.py ......................................................................................................... interpreter\pyparser\test\test_pytokenizer.py .............................. ======================== 192 passed in 749.09 seconds ========================= ++ 03:55:40 starting module/__pypy__/test [6 started in total] __ interpreter/astcompiler/test [3 done in total, somefailed=False] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1513 items interpreter\astcompiler\test\apptest_compiler.py ....... interpreter\astcompiler\test\apptest_exceptiongroup.py ......................... interpreter\astcompiler\test\apptest_misc.py ............... interpreter\astcompiler\test\apptest_patma.py ......................................... interpreter\astcompiler\test\test_assemble.py ....................... interpreter\astcompiler\test\test_ast.py ............ interpreter\astcompiler\test\test_astbuilder.py ................................................................................................................. interpreter\astcompiler\test\test_compiler.py ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. interpreter\astcompiler\test\test_misc.py ............... interpreter\astcompiler\test\test_symtable.py ........................................ interpreter\astcompiler\test\test_unparse.py ................................ interpreter\astcompiler\test\test_validate.py ..................................................... ======================== 1513 passed in 898.82 seconds ======================== ++ 03:58:08 starting module/_abc/test [7 started in total] __ module/__builtin__/test [4 done in total, somefailed=False] ________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 319 items module\__builtin__\test\apptest_compile.py ..................... module\__builtin__\test\apptest_descriptor.py ..... module\__builtin__\test\apptest_operator.py ... module\__builtin__\test\apptest_print.py ... module\__builtin__\test\test_abstractinst.py ..........s.. module\__builtin__\test\test_breakpoint.py ........ module\__builtin__\test\test_builtin.py ....................................................................... module\__builtin__\test\test_compile.py .. module\__builtin__\test\test_construct_singletons.py . module\__builtin__\test\test_descriptor.py ................................... module\__builtin__\test\test_dir.py ........... module\__builtin__\test\test_filter.py ........ module\__builtin__\test\test_filter_pickle.py ..... module\__builtin__\test\test_format.py . module\__builtin__\test\test_functional.py ........................................................................................ module\__builtin__\test\test_map_pickle.py ... module\__builtin__\test\test_minmax.py ....................... module\__builtin__\test\test_rawinput.py .. module\__builtin__\test\test_sum.py . module\__builtin__\test\test_vars.py ... module\__builtin__\test\test_zip.py ........... module\__builtin__\test\test_zip_pickle.py . =================== 318 passed, 1 skipped in 670.74 seconds =================== ++ 04:01:42 starting module/_ast/test [8 started in total] __ interpreter/test [5 done in total, somefailed=True] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1345 items interpreter\test\apptest_annotations.py .......................... interpreter\test\apptest_annotations_string.py ...... interpreter\test\apptest_buffer.py ..... interpreter\test\apptest_class.py ................ interpreter\test\apptest_coroutine.py ..................................................... interpreter\test\apptest_descrtypecheck.py .. interpreter\test\apptest_exceptions.py .......................... interpreter\test\apptest_exctable_dis.py ......... interpreter\test\apptest_exec.py ......................... interpreter\test\apptest_extcall.py ..... interpreter\test\apptest_function.py .....................................s....................................................... interpreter\test\apptest_generator.py ................................................................... interpreter\test\apptest_nestedscope.py .................. interpreter\test\apptest_pycode.py .... interpreter\test\apptest_pyframe.py ................................................................ interpreter\test\apptest_raise.py ..................................................... interpreter\test\apptest_settrace_jump.py . interpreter\test\apptest_sys_settrace.py .............................................................................................................................................. interpreter\test\apptest_traceback.py ......F. interpreter\test\apptest_unraisable.py .... interpreter\test\apptest_with_leak.py ......... interpreter\test\test_app_main.py sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss... interpreter\test\test_appinterp.py ............. interpreter\test\test_argument.py .............................................. interpreter\test\test_buffer.py ... interpreter\test\test_cellfamily.py ....... interpreter\test\test_code.py ............ interpreter\test\test_compiler.py ............................................................................................................. interpreter\test\test_error.py .............. interpreter\test\test_exceptcomp.py ......... interpreter\test\test_executioncontext.py ................ interpreter\test\test_extmodules.py . interpreter\test\test_fsencode.py F.. interpreter\test\test_function.py ............. interpreter\test\test_gateway.py .........................................ss......................... interpreter\test\test_generator.py . interpreter\test\test_interpreter.py ................................................. interpreter\test\test_location.py .......... interpreter\test\test_main.py ..... interpreter\test\test_mixedmodule.py ...... interpreter\test\test_module.py ....................... interpreter\test\test_objspace.py ............................................ interpreter\test\test_pycode.py .. interpreter\test\test_pyframe.py ................................ interpreter\test\test_reverse_debugging.py .. interpreter\test\test_special.py ... interpreter\test\test_syntax.py ......................................................... interpreter\test\test_targetpypy.py .. interpreter\test\test_typedef.py ................... interpreter\test\test_unicodehelper.py .......... interpreter\test\test_zpy.py ssssssss interpreter\test\test_zzpickle_and_slow.py s.....s..s..sss........ss...s. ================================== FAILURES =================================== __________________________ test_colors_in_traceback ___________________________ def test_colors_in_traceback(): import os def division_by_zero(a, b): return ( a + b / 0 # abc ) old_value = os.environ.get('FORCE_COLOR', None) os.environ['FORCE_COLOR'] = '1' try: from _colorize import can_colorize, ANSIColors > assert can_colorize() E (application-level) AssertionError: assert False E + where False = <function can_colorize at 0x000001eb104120c8>() interpreter\test\apptest_traceback.py:177: AssertionError _____________________ TestFSEncode.test_fsencode_fsdecode _____________________ self = <pypy.interpreter.test.test_fsencode.TestFSEncode instance at 0x000001eb23ff96a0> def test_fsencode_fsdecode(self): space = self.space strs = [u"/home/bar/baz", u"c:\\"] if self.special_char: strs.append(self.special_char) for st in strs: # check roundtrip w_st = space.newtext(st.encode('utf8'), len(st)) w_enc = space.fsencode(w_st) w_st2 = space.fsdecode(w_enc) assert space.eq_w(w_st, w_st2) > assert space.fsdecode_w(w_enc) == st E assert '\xc3\xa4' == u'\xe4' E - \xc3\xa4 E + \xe4 interpreter\test\test_fsencode.py:77: AssertionError ---------------------------- Captured stderr call ----------------------------- d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\interpreter\test\test_fsencode.py:77: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal assert space.fsdecode_w(w_enc) == st d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\interpreter\test\test_fsencode.py:1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal import sys =========================== short test summary info =========================== FAIL interpreter\test\apptest_traceback.py::test_colors_in_traceback FAIL interpreter\test\test_fsencode.py::TestFSEncode::()::test_fsencode_fsdecode ============ 2 failed, 1234 passed, 109 skipped in 1124.53 seconds ============ ++ 04:01:54 starting module/_cffi_backend/test [9 started in total] __ module/_abc/test [6 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 6 items module\_abc\test\apptest_abc.py ... module\_abc\test\test_abc.py ... ========================= 6 passed in 277.56 seconds ========================== ++ 04:02:55 starting module/_codecs/test [10 started in total] __ module/__pypy__/test [7 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 81 items module\__pypy__\test\apptest_picklebuffer.py ...... module\__pypy__\test\test_builders.py ..... module\__pypy__\test\test_bytebuffer.py ... module\__pypy__\test\test_debug.py ....... module\__pypy__\test\test_identitydict.py ...... module\__pypy__\test\test_intop.py ........... module\__pypy__\test\test_locals2fast.py ..... module\__pypy__\test\test_magic.py .......... module\__pypy__\test\test_newmemoryview.py ........ module\__pypy__\test\test_os.py F module\__pypy__\test\test_signal.py ..sss module\__pypy__\test\test_special.py ............s. ================================== FAILURES =================================== _________________________ AppTestOs.test_real_getenv __________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001a301fe4250> def test_real_getenv(self): import __pypy__.os import os key = 'UNLIKELY_SET' assert key not in os.environ os.putenv(key, '42') # this one skips Python cache > assert __pypy__.os.real_getenv(key) == '42' E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\__pypy__\test\test_os.py:4]:9: AssertionError =========================== short test summary info =========================== FAIL module\__pypy__\test\test_os.py::AppTestOs::()::test_real_getenv ============== 1 failed, 76 passed, 4 skipped in 475.87 seconds =============== ++ 04:03:41 starting module/_collections/test [11 started in total] __ module/_ast/test [8 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 55 items module\_ast\test\apptest_ast.py ... module\_ast\test\test_ast.py .................................................... ========================= 55 passed in 277.77 seconds ========================= ++ 04:06:22 starting module/_continuation/test [12 started in total] __ module/_collections/test [9 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 66 items module\_collections\test\apptest_defaultdict.py .............. module\_collections\test\apptest_deque.py .......................................... module\_collections\test\apptest_ordereddict.py .......... ========================= 66 passed in 314.49 seconds ========================= ++ 04:08:58 starting module/_cppyy/test [13 started in total] __ module/_codecs/test [10 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 99 items module\_codecs\test\apptest_codecs.py .. module\_codecs\test\test_codecs.py ............................................................................F......s...... module\_codecs\test\test_locale.py FFF... module\_codecs\test\test_ztranslation.py . ================================== FAILURES =================================== _____________________ AppTestPartialEvaluation.test_mbcs ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000021921367b08> def test_mbcs(self): import sys if sys.platform != 'win32': return # sanity test from _codecs import mbcs_encode, mbcs_decode toencode = u'caf\xe9', 'caf\xe9' try: # test for non-latin1 codepage, more general test needed import winreg key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'System\CurrentControlSet\Control\Nls\CodePage') if winreg.QueryValueEx(key, 'ACP')[0] == u'1255': # non-latin1 toencode = u'caf\xbf',b'caf\xbf' except: assert False, 'cannot test mbcs on this windows system, check code page' assert u'test'.encode('mbcs') == b'test' > assert toencode[0].encode('mbcs') == toencode[1] E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_codecs\test\test_codecs.py:1406]:19: AssertionError _____________________ TestLocaleCodec.test_encode_locale ______________________ self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x0000021923b64838> def test_encode_locale(self): self.setlocale("en_US.UTF-8") for locale_encoder in (utf8_encode_locale_surrogateescape, utf8_encode_locale_strict): for val in u'foo', u' 日本', u'\U0001320C': utf8 = val.encode('utf-8') encoded = locale_encoder(utf8, len(val)) > assert encoded.decode('utf8') == val E assert u'\u320c' == u'\U0001320c' E - \u320c E + \U0001320c module\_codecs\test\test_locale.py:45: AssertionError _______________ TestLocaleCodec.test_encode_locale_errorhandler _______________ self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x0000021922b86560> def test_encode_locale_errorhandler(self): self.setlocale("en_US.UTF-8") locale_encoder = utf8_encode_locale_surrogateescape utf8_encoder = self.getencoder('utf-8') encode_error_handler = self.getstate().encode_error_handler for val in u'foo\udc80bar', u'\udcff\U0001320C': s = val.encode('utf8') w_s = self.space.newtext(s) expected = utf8_encoder(self.space, s, w_s, 'surrogateescape', encode_error_handler) utf8 = val.encode('utf-8') > assert locale_encoder(utf8, len(val)) == expected E assert '\xff\xe3\x88\x8c' == '\xff\xf0\x93\x88\x8c' E - \xff\xe3\x88\x8c E ? ^ E + \xff\xf0\x93\x88\x8c E ? ^^^^^ module\_codecs\test\test_locale.py:58: AssertionError _____________________ TestLocaleCodec.test_decode_locale ______________________ self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x000002192242cfa8> def test_decode_locale(self): self.setlocale("en_US.UTF-8") utf8_decoder = self.getdecoder('utf-8') for locale_decoder in (str_decode_locale_surrogateescape, str_decode_locale_strict): for val in 'foo', ' \xe6\x97\xa5\xe6\x9c\xac', '\xf0\x93\x88\x8c': w_s = self.space.newbytes(val) assert (locale_decoder(val) == utf8_decoder(self.space, val, w_s, 'strict', > True, None)[:2]) E assert ('\xef\xbf\xbd', 1) == ('\xf0\x93\x88\x8c', 1) E At index 0 diff: '\xef\xbf\xbd' != '\xf0\x93\x88\x8c' E Use -v to get the full diff module\_codecs\test\test_locale.py:69: AssertionError =========================== short test summary info =========================== FAIL module\_codecs\test\test_codecs.py::AppTestPartialEvaluation::()::test_mbcs FAIL module\_codecs\test\test_locale.py::TestLocaleCodec::()::test_encode_locale FAIL module\_codecs\test\test_locale.py::TestLocaleCodec::()::test_encode_locale_errorhandler FAIL module\_codecs\test\test_locale.py::TestLocaleCodec::()::test_decode_locale ============== 4 failed, 94 passed, 1 skipped in 409.67 seconds =============== ++ 04:09:47 starting module/_csv/test [14 started in total] __ module/_cppyy/test [11 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.02 seconds ========================= ++ 04:10:07 starting module/_demo/test [15 started in total] __ module/_continuation/test [12 done in total, somefailed=False] _____________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items / 3 skipped module\_continuation\test\test_generator.py ssss module\_continuation\test\test_greenlet.py s.ssssss.sssssssssssssss.sss =================== 3 passed, 32 skipped in 308.04 seconds ==================== ++ 04:11:39 starting module/_hpy_universal/test/_vendored [16 started in total] __ module/_demo/test [13 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\_demo\test\test_import.py .. module\_demo\test\test_sieve.py . ========================= 3 passed in 147.98 seconds ========================== ++ 04:12:42 starting module/_hpy_universal/test/pypy [17 started in total] __ module/_csv/test [14 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 34 items module\_csv\test\test_dialect.py .............. module\_csv\test\test_reader.py ............. module\_csv\test\test_writer.py ...... module\_csv\test\test_ztranslation.py . ========================= 34 passed in 209.95 seconds ========================= ++ 04:13:20 starting module/_io/test [18 started in total] __ module/_io/test [15 done in total, somefailed=True] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 299 items module\_io\test\apptest_bufferedio.py . module\_io\test\apptest_bytesio.py ................. module\_io\test\apptest_io.py .......................F.....F..........F.. module\_io\test\apptest_stringio.py ........................... module\_io\test\apptest_textio.py ..............................s................. module\_io\test\test_bufferedio.py .....................ss......................ss........................ss................................ module\_io\test\test_fileio.py ..................s................. module\_io\test\test_interp_textio.py ......FF. module\_io\test\test_win32consoleio.py ......s...... ================================== FAILURES =================================== ________________________________ test_telling _________________________________ tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-2438\\tempfile') def test_telling(tempfile): with _io.open(tempfile, "w+", encoding="utf8") as f: p0 = f.tell() f.write("\xff\n") p1 = f.tell() f.write("\xff\n") p2 = f.tell() f.seek(0) assert p0 == 0 > assert p1 == 3 E (application-level) AssertionError: assert 4 == 3 module\_io\test\apptest_io.py:287: AssertionError ____________________________ test_warn_on_dealloc _____________________________ tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-2444\\tempfile') def test_warn_on_dealloc(tempfile): > _check_warn_on_dealloc(tempfile, 'wb', buffering=0) module\_io\test\apptest_io.py:376: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = W_TupleObject(W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-2444\\tempfile'), W_UnicodeObject('wb')) kwargs = W_DictObject(<pypy.objspace.std.kwargsdict.KwargsDictStrategy object at 0x000001bb7c618bb8>) gc = <pypy.module.gc.moduledef.Module object at 0x000001bb7b79b168> warnings = <pypy.interpreter.module.Module object at 0x000001bb7abf43a0> f = <pypy.objspace.std.noneobject.W_NoneObject object at 0x000001bb79ab6c60> r = W_UnicodeObject("<_io.FileIO name='d:\\\\systemtemp\\\\pytest\\\\pytest-of-matti\\\\pytest-2444\\\\tempfile' mode='wb' closefd=True>") w = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...reter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001bb057d7b78>]) @py_assert2 = <pypy.objspace.std.noneobject.W_NoneObject object at 0x000001bb79ab6c60> @py_assert5 = W_UnicodeObject('{message : ResourceWarning("unclosed file <_io.FileIO name=\'...\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}') @py_assert4 = <pypy.objspace.std.noneobject.W_NoneObject object at 0x000001bb79ab6c60> @py_format7 = W_UnicodeObject('"<_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest\\\\\\\...ne : None}\' = str(<warnings.WarningMessage object at 0x000001bb057d7b78>)\n}') @py_format9 = W_UnicodeObject('assert "<_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest...ne : None}\' = str(<warnings.WarningMessage object at 0x000001bb057d7b78>)\n}') def _check_warn_on_dealloc(*args, **kwargs): import gc import warnings f = open(*args, **kwargs) r = repr(f) gc.collect() with warnings.catch_warnings(record=True) as w: warnings.simplefilter('always') f = None gc.collect() assert len(w) == 1, len(w) > assert r in str(w[0]) E (application-level) AssertionError: assert "<_io.FileIO name='d:\\\\systemtemp\\\\pytest\\\\pytest-of-matti\\\\pytest-2444\\\\tempfile' mode='wb' closefd=True>" in '{message : ResourceWarning("unclosed file <_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest\\\\\\\\pytest-of-matti\\\\\\\\pytest-2444\\\\\\\\tempfile\' mode=\'wb\' closefd=True>"), category : \'ResourceWarning\', filename : \'d:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\own-win-x86-64\\\\build\\\\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}' E + where '{message : ResourceWarning("unclosed file <_io.FileIO name=\'d:\\\\\\\\systemtemp\\\\\\\\pytest\\\\\\\\pytest-of-matti\\\\\\\\pytest-2444\\\\\\\\tempfile\' mode=\'wb\' closefd=True>"), category : \'ResourceWarning\', filename : \'d:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\own-win-x86-64\\\\build\\\\pypy\\\\module\\\\_io\\\\test\\\\apptest_io.py\', lineno : 371, line : None}' = str(<warnings.WarningMessage object at 0x000001bb057d7b78>) module\_io\test\apptest_io.py:373: AssertionError ___________________________ test_tell_univnewlines ____________________________ tempfile = W_UnicodeObject('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-2453\\tempfile') def test_tell_univnewlines(tempfile): import io import sys NEWLINE = '\r\n' with io.open(tempfile, "w") as fp: fp.write(DATA_CRLF) with io.open(tempfile, "r") as fp: assert repr(fp.newlines) == repr(None) data = fp.readline() pos = fp.tell() if "__pypy__" in sys.modules: > assert repr(fp.newlines) == repr(NEWLINE) E (application-level) AssertionError: assert "'\\r'" == "'\\r\\n'" E + where "'\\r'" = repr('\r') E + where '\r' = <_io.TextIOWrapper name='d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-2453\\tempfile' mode='r' encoding='utf-8'>.newlines E + and "'\\r\\n'" = repr('\r\n') module\_io\test\apptest_io.py:559: AssertionError __________________________________ test_tell __________________________________ space = StdObjSpace @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) > def test_tell(space, content): module\_io\test\test_interp_textio.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\virt_test\site-packages\hypothesis\core.py:563: in execute result = self.test_runner(data, run) ..\virt_test\site-packages\hypothesis\executors.py:56: in default_new_style_executor return function(data) ..\virt_test\site-packages\hypothesis\core.py:561: in run return test(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, content = (u'\n', [0, -1]) @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) def test_tell(space, content): txt, limits = content restxt = translate_newlines(txt) resstr = restxt.encode('utf-8') for read_chars_before_seeking in range(len(restxt)): w_stream = W_BytesIO(space) w_stream.descr_init(space, space.newbytes(txt.encode('utf-8'))) w_textio = W_TextIOWrapper(space) w_textio.descr_init( space, w_stream, encoding='utf-8' ) w_res1 = w_textio.read_w(space, space.newint(read_chars_before_seeking)) assert space.len_w(w_res1) <= read_chars_before_seeking w_tell = w_textio.tell_w(space) w_textio.seek_w(space, space.newint(0)) # seek to beginning w_textio.seek_w(space, w_tell) # then back to position w_res2 = w_textio.read_w(space) w_res = space.add(w_res1, w_res2) res = space.text_w(w_res) > assert res == resstr E assert '\n' == '\r\n' E - E + \r module\_io\test\test_interp_textio.py:170: AssertionError --------------------------------- Hypothesis ---------------------------------- Falsifying example: test_tell(space=StdObjSpace, content=(u'\n', [0, -1])) ___________________________ test_getstate_setstate ____________________________ space = StdObjSpace @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) > def test_getstate_setstate(space, content): module\_io\test\test_interp_textio.py:173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\virt_test\site-packages\hypothesis\core.py:563: in execute result = self.test_runner(data, run) ..\virt_test\site-packages\hypothesis\executors.py:56: in default_new_style_executor return function(data) ..\virt_test\site-packages\hypothesis\core.py:561: in run return test(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, content = (u'\n', [0, -1]) @given(content=st_readline(characters=st.characters(blacklist_categories='C'))) def test_getstate_setstate(space, content): txt, limits = content restxt = translate_newlines(txt) for read_chars_before_getstate in range(len(restxt)): w_stream = W_BytesIO(space) w_stream.descr_init(space, space.newbytes(txt.encode('utf-8'))) w_textio = W_TextIOWrapper(space) w_textio.descr_init( space, w_stream, encoding='utf-8' ) w_state_start = w_textio.w_decoder.getstate_w(space) w_res1 = w_textio.read_w(space, space.newint(read_chars_before_getstate)) w_current_state = w_textio.w_decoder.getstate_w(space) w_textio.w_decoder.setstate_w(space, w_state_start) w_textio.w_decoder.setstate_w(space, w_current_state) w_res2 = w_textio.read_w(space) w_res = space.add(w_res1, w_res2) res = space.text_w(w_res).decode("utf-8") > assert res == restxt E assert u'\n' == u'\r\n' module\_io\test\test_interp_textio.py:194: AssertionError --------------------------------- Hypothesis ---------------------------------- Falsifying example: test_getstate_setstate(space=StdObjSpace, content=(u'\n', [0, -1])) =========================== short test summary info =========================== FAIL module\_io\test\apptest_io.py::test_telling FAIL module\_io\test\apptest_io.py::test_warn_on_dealloc FAIL module\_io\test\apptest_io.py::test_tell_univnewlines FAIL module\_io\test\test_interp_textio.py::test_tell FAIL module\_io\test\test_interp_textio.py::test_getstate_setstate ============== 5 failed, 285 passed, 9 skipped in 394.24 seconds ============== ++ 04:20:03 starting module/_jitlog/test [19 started in total] __ module/_jitlog/test [16 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\_jitlog\test\test__jitlog.py s ========================= 1 skipped in 111.49 seconds ========================= ++ 04:22:01 starting module/_locale/test [20 started in total] __ module/_hpy_universal/test/_vendored [17 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (0d4dcfdded47, Oct 09 2024, 22:30:52)\n[PyPy 7.3.18-alpha0 with MSC v.1929 64 bit (AMD64)]')argparse.c buildvalue.c format.c helpers.c structseq.c Microsoft (R) Library Manager Version 14.41.34123.0 Copyright (C) Microsoft Corporation. All rights reserved. ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.02 seconds ========================= ++ 04:22:24 starting module/_lsprof/test [21 started in total] __ module/_hpy_universal/test/pypy [18 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (0d4dcfdded47, Oct 09 2024, 22:30:52)\n[PyPy 7.3.18-alpha0 with MSC v.1929 64 bit (AMD64)]')argparse.c buildvalue.c format.c helpers.c structseq.c Microsoft (R) Library Manager Version 14.41.34123.0 Copyright (C) Microsoft Corporation. All rights reserved. ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.01 seconds ========================= ++ 04:23:12 starting module/_md5/test [22 started in total] __ module/_md5/test [19 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module\_md5\test\test_md5.py ........ ========================= 8 passed in 243.67 seconds ========================== ++ 04:27:24 starting module/_minimal_curses/test [23 started in total] __ module/_locale/test [20 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items module\_locale\test\test_locale.py .......ss.ss.s. =================== 10 passed, 5 skipped in 336.76 seconds ==================== ++ 04:27:40 starting module/_multibytecodec/test [24 started in total] __ module/_lsprof/test [21 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\_lsprof\test\test_cprofile.py .F..F. ================================== FAILURES =================================== ________________________ AppTestCProfile.test_builtins ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002e56efd3fa0> def test_builtins(self): import _lsprof prof = _lsprof.Profiler() lst = [] prof.enable() lst.append(len(lst)) prof.disable() stats = prof.getstats() expected = ( "<built-in method builtins.len>", "<method 'append' of 'list' objects>", "<method 'disable' of '_lsprof.Profiler' objects>", ) for entry in stats: > assert entry.code in expected E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_lsprof\test\test_cprofile.py:13]:15: AssertionError ____________________ AppTestCProfile.test_scale_of_result _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002e56efd3fa0> def test_scale_of_result(self): import _lsprof, time prof = _lsprof.Profiler() def foo(n): t = time.time() while abs(t - time.time()) < 1.0: pass # busy-wait for 1 second def bar(n): foo(n) prof.enable() bar(0) prof.disable() stats = prof.getstats() entries = {} for entry in stats: entries[entry.code] = entry efoo = entries[foo.__code__] ebar = entries[bar.__code__] > assert 0.9 < efoo.totaltime < 2.9 E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_lsprof\test\test_cprofile.py:130]:19: AssertionError =========================== short test summary info =========================== FAIL module\_lsprof\test\test_cprofile.py::AppTestCProfile::()::test_builtins FAIL module\_lsprof\test\test_cprofile.py::AppTestCProfile::()::test_scale_of_result ==================== 2 failed, 4 passed in 317.28 seconds ===================== ++ 04:27:48 starting module/_multiprocessing/test [25 started in total] __ module/_minimal_curses/test [22 done in total, somefailed=False] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True module\_minimal_curses\test\test_curses.py ssssss ========================= 6 skipped in 96.74 seconds ========================== ++ 04:29:09 starting module/_opcode/test [26 started in total] __ module/_multibytecodec/test [23 done in total, somefailed=True] ____________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 67 items module\_multibytecodec\test\apptest_codecs.py ................... module\_multibytecodec\test\apptest_incremental.py ...................F module\_multibytecodec\test\apptest_stream.py ..... module\_multibytecodec\test\test_c_codecs.py ..................s module\_multibytecodec\test\test_multibtye_codecs.py ... module\_multibytecodec\test\test_translation.py s ================================== FAILURES =================================== _________________________ test_incremental_big5hkscs __________________________ def test_incremental_big5hkscs(): import _codecs import _io with open(myfile + '/big5hkscs.txt', 'rb') as fid: uni_str = fid.read() with open(myfile + '/big5hkscs-utf8.txt', 'rb') as fid: utf8str = fid.read() UTF8Reader = _codecs.lookup('utf-8').streamreader for sizehint in [None] + list(range(1, 33)) + [64, 128, 256, 512, 1024]: istream = UTF8Reader(_io.BytesIO(utf8str)) ostream = _io.BytesIO() encoder = IncrementalBig5hkscsEncoder() while 1: if sizehint is not None: data = istream.read(sizehint) else: data = istream.read() if not data: break > e = encoder.encode(data) E (application-level) UnicodeEncodeError: 'big5hkscs' codec can't encode character '\U0002010c' in position 0: illegal multibyte sequence module\_multibytecodec\test\apptest_incremental.py:270: UnicodeEncodeError =========================== short test summary info =========================== FAIL module\_multibytecodec\test\apptest_incremental.py::test_incremental_big5hkscs ============== 1 failed, 64 passed, 2 skipped in 186.59 seconds =============== ++ 04:30:52 starting module/_pickle/test [27 started in total] __ module/_opcode/test [24 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 5 items module\_opcode\test\apptest_opcode.py ..... ========================= 5 passed in 167.91 seconds ========================== ++ 04:31:59 starting module/_pickle_support/test [28 started in total] __ module/_multiprocessing/test [25 done in total, somefailed=True] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items module\_multiprocessing\test\test_interp_semaphore.py s module\_multiprocessing\test\test_semaphore.py s.........E module\_multiprocessing\test\test_win32.py . module\_multiprocessing\test\test_ztranslation.py . =================================== ERRORS ==================================== ____________ ERROR at teardown of AppTestSemaphore.test_in_threads ____________ self = <CallInfo when='teardown' exception: { array [ '%', 'L', 'E', '\x00' ]: ... File "d:\pypy_stuff\buildbot64\slav...bot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate flavor='raw') }> func = <function <lambda> at 0x000001e352525bc8>, when = 'teardown' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_teardown'> kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppT...s, 0 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x000001e3457014e8> hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppT...s, 0 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppT...s, 0 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_teardown at 0x000001e3524d5e20> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...losesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001e34d414160> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x000001e34d414160> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...losesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_in_threads'>, 'nextitem': <AppTestMethod 'test_closesocket'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.conftest.LeakFinder instance at 0x000001e346fe61e0> item = <AppTestMethod 'test_in_threads'> @pytest.hookimpl(trylast=True) def pytest_runtest_teardown(self, item): if not isinstance(item, py.test.collect.Function): return if (not getattr(item.obj, 'dont_track_allocations', False) and leakfinder.TRACK_ALLOCATIONS): kwds = {} try: kwds['do_collection'] = item.track_allocations_collect except AttributeError: pass item._pypytest_leaks = leakfinder.stop_tracking_allocations(False, **kwds) else: # stop_tracking_allocations() already called item._pypytest_leaks = None # check for leaks, but only if the test passed so far if getattr(item, '_success', False) and item._pypytest_leaks: > raise leakfinder.MallocMismatch(item._pypytest_leaks) E MallocMismatch: { E E array [ '%', 'L', 'E', '\x00' ]: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdataobj.py", line 13, in <module> E from pypy.module._cffi_backend import misc E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\misc.py", line 125, in <module> E FORMAT_LONGDOUBLE = rffi.str2charp("%LE") E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct cffi_ctxobj { ctx, info } at 0x1e345a23c30>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 738, in make_plain_ffi_object E r.__init__(space, src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 59, in __init__ E self.ctxobj = parse_c_type.allocate_ctxobj(src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\parse_c_type.py", line 71, in allocate_ctxobj E p = lltype.malloc(CTXOBJ, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1e350aa7090>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 131, in ffiobj_init E ntypes = allocate_array(ffi, _CFFI_OPCODE_T, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1e34cbe9850>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 191, in descr_init E w__typenames, w__includes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 146, in ffiobj_init E p = allocate(ffi, size) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1e345b48120>: E <C object Array of Char {'nolength': True} at 0x1e345b47c60>: E <C object Array of Char {'nolength': True} at 0x1e345b47ec0>: E <C object Array of Char {'nolength': True} at 0x1e345b47c00>: E <C object Array of Char {'nolength': True} at 0x1e345b47a60>: E <C object Array of Char {'nolength': True} at 0x1e345b47e80>: E <C object Array of Char {'nolength': True} at 0x1e345b47c40>: E <C object Array of Char {'nolength': True} at 0x1e345b48140>: E <C object Array of Char {'nolength': True} at 0x1e345b47ba0>: E <C object Array of Char {'nolength': True} at 0x1e345b47d80>: E <C object Array of Char {'nolength': True} at 0x1e345b479c0>: E <C object Array of Char {'nolength': True} at 0x1e345b480a0>: E <C object Array of Char {'nolength': True} at 0x1e345b47ee0>: E <C object Array of Char {'nolength': True} at 0x1e345b47e40>: E <C object Array of Char {'nolength': True} at 0x1e345b48180>: E <C object Array of Char {'nolength': True} at 0x1e345b48000>: E <C object Array of Char {'nolength': True} at 0x1e345b47fc0>: E <C object Array of Char {'nolength': True} at 0x1e345b47ea0>: E <C object Array of Char {'nolength': True} at 0x1e345b47f00>: E <C object Array of Char {'nolength': True} at 0x1e34cb05360>: E <C object Array of Char {'nolength': True} at 0x1e345b47e00>: E <C object Array of Char {'nolength': True} at 0x1e345b47bc0>: E <C object Array of Char {'nolength': True} at 0x1e345b47c80>: E <C object Array of Char {'nolength': True} at 0x1e345b47f40>: E <C object Array of Char {'nolength': True} at 0x1e345b47be0>: E <C object Array of Char {'nolength': True} at 0x1e345b47d60>: E <C object Array of Char {'nolength': True} at 0x1e345b47a80>: E <C object Array of Char {'nolength': True} at 0x1e345b47b60>: E <C object Array of Char {'nolength': True} at 0x1e345b47a40>: E <C object Array of Char {'nolength': True} at 0x1e34faa2da0>: E <C object Array of Char {'nolength': True} at 0x1e345b47b80>: E <C object Array of Char {'nolength': True} at 0x1e345b47ce0>: E <C object Array of Char {'nolength': True} at 0x1e345b47c20>: E <C object Array of Char {'nolength': True} at 0x1e345b47fe0>: E <C object Array of Char {'nolength': True} at 0x1e345b47d40>: E <C object Array of Char {'nolength': True} at 0x1e345b48160>: E <C object Array of Char {'nolength': True} at 0x1e345b49600>: E <C object Array of Char {'nolength': True} at 0x1e345b49920>: E <C object Array of Char {'nolength': True} at 0x1e345b49980>: E <C object Array of Char {'nolength': True} at 0x1e34faa3160>: E <C object Array of Char {'nolength': True} at 0x1e345b493c0>: E <C object Array of Char {'nolength': True} at 0x1e34faa2920>: E <C object Array of Char {'nolength': True} at 0x1e345b49400>: E <C object Array of Char {'nolength': True} at 0x1e345b49420>: E <C object Array of Char {'nolength': True} at 0x1e34faa2890>: E <C object Array of Char {'nolength': True} at 0x1e345b4a1a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a300>: E <C object Array of Char {'nolength': True} at 0x1e345b4a400>: E <C object Array of Char {'nolength': True} at 0x1e345b4a6a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a800>: E <C object Array of Char {'nolength': True} at 0x1e345b4a1e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a880>: E <C object Array of Char {'nolength': True} at 0x1e345b4a6c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a4e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a540>: E <C object Array of Char {'nolength': True} at 0x1e345b4a440>: E <C object Array of Char {'nolength': True} at 0x1e345b4a480>: E <C object Array of Char {'nolength': True} at 0x1e345b4a580>: E <C object Array of Char {'nolength': True} at 0x1e345b4a5a0>: E <C object Array of Char {'nolength': True} at 0x1e350934ff0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a2e0>: E <C object Array of Char {'nolength': True} at 0x1e3509347b0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a360>: E <C object Array of Char {'nolength': True} at 0x1e345b4a4a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a220>: E <C object Array of Char {'nolength': True} at 0x1e345b4a5c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a3a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a960>: E <C object Array of Char {'nolength': True} at 0x1e345b4a5e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a760>: E <C object Array of Char {'nolength': True} at 0x1e345b4a920>: E <C object Array of Char {'nolength': True} at 0x1e345b4a2c0>: E <C object Array of Char {'nolength': True} at 0x1e3509354c0>: E <C object Array of Char {'nolength': True} at 0x1e350938350>: E <C object Array of Char {'nolength': True} at 0x1e350934c20>: E <C object Array of Char {'nolength': True} at 0x1e345b4b0c0>: E <C object Array of Char {'nolength': True} at 0x1e350938460>: E <C object Array of Char {'nolength': True} at 0x1e345b4ab60>: E <C object Array of Char {'nolength': True} at 0x1e345b4af20>: E <C object Array of Char {'nolength': True} at 0x1e350938470>: E <C object Array of Char {'nolength': True} at 0x1e350934cd0>: E <C object Array of Char {'nolength': True} at 0x1e345b4aea0>: E <C object Array of Char {'nolength': True} at 0x1e345b4aa00>: E <C object Array of Char {'nolength': True} at 0x1e345b4b140>: E <C object Array of Char {'nolength': True} at 0x1e350934b20>: E <C object Array of Char {'nolength': True} at 0x1e345b4ab00>: E <C object Array of Char {'nolength': True} at 0x1e350938330>: E <C object Array of Char {'nolength': True} at 0x1e350934b50>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 153, in ffiobj_init E nglobs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x1e345a5bd00>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 174, in ffiobj_init E nstructs = allocate_array(ffi, STRUCT_UNION_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1e345fa7180>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 175, in ffiobj_init E nfields = allocate_array(ffi, FIELD_S, nftot) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1e34fd1f330>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fd00>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fa50>: E <C object Array of Char {'nolength': True} at 0x1e34fd1f930>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fb90>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fb80>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fea0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fdb0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fca0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1ffb0>: E <C object Array of Char {'nolength': True} at 0x1e34fd201d0>: E <C object Array of Char {'nolength': True} at 0x1e345b4ae60>: E <C object Array of Char {'nolength': True} at 0x1e345b4af00>: E <C object Array of Char {'nolength': True} at 0x1e345b4aec0>: E <C object Array of Char {'nolength': True} at 0x1e34cb05a50>: E <C object Array of Char {'nolength': True} at 0x1e345b4aae0>: E <C object Array of Char {'nolength': True} at 0x1e34cb05c30>: E <C object Array of Char {'nolength': True} at 0x1e345b4abc0>: E <C object Array of Char {'nolength': True} at 0x1e345b4ac60>: E <C object Array of Char {'nolength': True} at 0x1e34faa2b60>: E <C object Array of Char {'nolength': True} at 0x1e345b4b560>: E <C object Array of Char {'nolength': True} at 0x1e345b4b3c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b460>: E <C object Array of Char {'nolength': True} at 0x1e345b4b840>: E <C object Array of Char {'nolength': True} at 0x1e345b4b880>: E <C object Array of Char {'nolength': True} at 0x1e345b4b260>: E <C object Array of Char {'nolength': True} at 0x1e345b4b3a0>: E <C object Array of Char {'nolength': True} at 0x1e34faa2f80>: E <C object Array of Char {'nolength': True} at 0x1e34cb070a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b400>: E <C object Array of Char {'nolength': True} at 0x1e345b4b440>: E <C object Array of Char {'nolength': True} at 0x1e345b47f80>: E <C object Array of Char {'nolength': True} at 0x1e345b49280>: E <C object Array of Char {'nolength': True} at 0x1e34cb06ed0>: E <C object Array of Char {'nolength': True} at 0x1e345b49540>: E <C object Array of Char {'nolength': True} at 0x1e345b49c60>: E <C object Array of Char {'nolength': True} at 0x1e345b499c0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 185, in ffiobj_init E nstructs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x1e345b4af40>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fb20>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fac0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fbd0>: E <C object Array of Char {'nolength': True} at 0x1e34fd20130>: E <C object Array of Char {'nolength': True} at 0x1e34fd1e4f0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fc30>: E <C object Array of Char {'nolength': True} at 0x1e34fd1f880>: E <C object Array of Char {'nolength': True} at 0x1e34fd20290>: E <C object Array of Char {'nolength': True} at 0x1e345b4b160>: E <C object Array of Char {'nolength': True} at 0x1e345b4af80>: E <C object Array of Char {'nolength': True} at 0x1e345b4af60>: E <C object Array of Char {'nolength': True} at 0x1e345b4ac80>: E <C object Array of Char {'nolength': True} at 0x1e345b4b120>: E <C object Array of Char {'nolength': True} at 0x1e345b4ade0>: E <C object Array of Char {'nolength': True} at 0x1e345b4aac0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b180>: E <C object Array of Char {'nolength': True} at 0x1e34fd1e6e0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1f8b0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1e730>: E <C object Array of Char {'nolength': True} at 0x1e34fd1f830>: E <C object Array of Char {'nolength': True} at 0x1e34fd1eb90>: E <C object Array of Char {'nolength': True} at 0x1e34fd1e9d0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b040>: E <C object Array of Char {'nolength': True} at 0x1e345b4ace0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1ea20>: E <C object Array of Char {'nolength': True} at 0x1e34fd1eea0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fa90>: E <C object Array of Char {'nolength': True} at 0x1e345b4a9c0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1e850>: E <C object Array of Char {'nolength': True} at 0x1e345b4afa0>: E <C object Array of Char {'nolength': True} at 0x1e345b4ad40>: E <C object Array of Char {'nolength': True} at 0x1e34fd20220>: E <C object Array of Char {'nolength': True} at 0x1e34fd1ed20>: E <C object Array of Char {'nolength': True} at 0x1e345b4afc0>: E <C object Array of Char {'nolength': True} at 0x1e345b4afe0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1ee40>: E <C object Array of Char {'nolength': True} at 0x1e34fd1f010>: E <C object Array of Char {'nolength': True} at 0x1e34fd20150>: E <C object Array of Char {'nolength': True} at 0x1e34fd1eba0>: E <C object Array of Char {'nolength': True} at 0x1e34fd1ec30>: E <C object Array of Char {'nolength': True} at 0x1e345b4a9e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4aa20>: E <C object Array of Char {'nolength': True} at 0x1e345b4ab40>: E <C object Array of Char {'nolength': True} at 0x1e34fd1fce0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b000>: E <C object Array of Char {'nolength': True} at 0x1e345b4b060>: E <C object Array of Char {'nolength': True} at 0x1e345b4aa80>: E <C object Array of Char {'nolength': True} at 0x1e345b4ab20>: E <C object Array of Char {'nolength': True} at 0x1e345b4aca0>: E <C object Array of Char {'nolength': True} at 0x1e345b4aa60>: E <C object Array of Char {'nolength': True} at 0x1e34cb064e0>: E <C object Array of Char {'nolength': True} at 0x1e34cb05cf0>: E <C object Array of Char {'nolength': True} at 0x1e345b4ac00>: E <C object Array of Char {'nolength': True} at 0x1e34cb05db0>: E <C object Array of Char {'nolength': True} at 0x1e34cb06540>: E <C object Array of Char {'nolength': True} at 0x1e34cb05d90>: E <C object Array of Char {'nolength': True} at 0x1e34cb05f80>: E <C object Array of Char {'nolength': True} at 0x1e345b4ab80>: E <C object Array of Char {'nolength': True} at 0x1e34cb06140>: E <C object Array of Char {'nolength': True} at 0x1e345b4ac40>: E <C object Array of Char {'nolength': True} at 0x1e345b4ad80>: E <C object Array of Char {'nolength': True} at 0x1e345b4ad00>: E <C object Array of Char {'nolength': True} at 0x1e345b4ad60>: E <C object Array of Char {'nolength': True} at 0x1e34cb06210>: E <C object Array of Char {'nolength': True} at 0x1e345b4ae40>: E <C object Array of Char {'nolength': True} at 0x1e345b4b820>: E <C object Array of Char {'nolength': True} at 0x1e345b4b4a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b4e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b3e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b600>: E <C object Array of Char {'nolength': True} at 0x1e34cb06170>: E <C object Array of Char {'nolength': True} at 0x1e34cb06290>: E <C object Array of Char {'nolength': True} at 0x1e34cb06d10>: E <C object Array of Char {'nolength': True} at 0x1e345b4b900>: E <C object Array of Char {'nolength': True} at 0x1e345b4b340>: E <C object Array of Char {'nolength': True} at 0x1e345b4b360>: E <C object Array of Char {'nolength': True} at 0x1e345b4b220>: E <C object Array of Char {'nolength': True} at 0x1e345b4b500>: E <C object Array of Char {'nolength': True} at 0x1e345b4b380>: E <C object Array of Char {'nolength': True} at 0x1e345b4b7e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b480>: E <C object Array of Char {'nolength': True} at 0x1e34cb066d0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b520>: E <C object Array of Char {'nolength': True} at 0x1e345b4b1e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b8a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b620>: E <C object Array of Char {'nolength': True} at 0x1e345b4b5e0>: E <C object Array of Char {'nolength': True} at 0x1e34cb06cc0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b200>: E <C object Array of Char {'nolength': True} at 0x1e345b4b660>: E <C object Array of Char {'nolength': True} at 0x1e34cb07800>: E <C object Array of Char {'nolength': True} at 0x1e345b4b580>: E <C object Array of Char {'nolength': True} at 0x1e34cb06a90>: E <C object Array of Char {'nolength': True} at 0x1e345b4b320>: E <C object Array of Char {'nolength': True} at 0x1e34cb06cb0>: E <C object Array of Char {'nolength': True} at 0x1e34cb06d80>: E <C object Array of Char {'nolength': True} at 0x1e34cb06e90>: E <C object Array of Char {'nolength': True} at 0x1e345b4b4c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b8c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b680>: E <C object Array of Char {'nolength': True} at 0x1e345b4b280>: E <C object Array of Char {'nolength': True} at 0x1e345b4b2e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b860>: E <C object Array of Char {'nolength': True} at 0x1e345b4b420>: E <C object Array of Char {'nolength': True} at 0x1e345b4b7c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b8e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b240>: E <C object Array of Char {'nolength': True} at 0x1e345b4b7a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b2a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b1c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b2c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b800>: E <C object Array of Char {'nolength': True} at 0x1e345b4b5c0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b740>: E <C object Array of Char {'nolength': True} at 0x1e345b4b6e0>: E <C object Array of Char {'nolength': True} at 0x1e345b47f20>: E <C object Array of Char {'nolength': True} at 0x1e345b480c0>: E <C object Array of Char {'nolength': True} at 0x1e345b47a00>: E <C object Array of Char {'nolength': True} at 0x1e345b47f60>: E <C object Array of Char {'nolength': True} at 0x1e345b47aa0>: E <C object Array of Char {'nolength': True} at 0x1e345b47da0>: E <C object Array of Char {'nolength': True} at 0x1e345b47e20>: E <C object Array of Char {'nolength': True} at 0x1e34cb05f50>: E <C object Array of Char {'nolength': True} at 0x1e345b47fa0>: E <C object Array of Char {'nolength': True} at 0x1e345b47d00>: E <C object Array of Char {'nolength': True} at 0x1e345b47dc0>: E <C object Array of Char {'nolength': True} at 0x1e345b49960>: E <C object Array of Char {'nolength': True} at 0x1e34cb06000>: E <C object Array of Char {'nolength': True} at 0x1e34cb07cc0>: E <C object Array of Char {'nolength': True} at 0x1e345b49300>: E <C object Array of Char {'nolength': True} at 0x1e34cb080c0>: E <C object Array of Char {'nolength': True} at 0x1e345b49c00>: E <C object Array of Char {'nolength': True} at 0x1e345b4a020>: E <C object Array of Char {'nolength': True} at 0x1e345b4a0a0>: E <C object Array of Char {'nolength': True} at 0x1e345b49ec0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a0e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a120>: E <C object Array of Char {'nolength': True} at 0x1e345b4a2a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a6e0>: E <C object Array of Char {'nolength': True} at 0x1e34cb08150>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 209, in ffiobj_init E nfields[nf].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x1e34b9c7ef0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 235, in ffiobj_init E ntypenames = allocate_array(ffi, TYPENAME_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x1e345b4b540>: E <C object Array of Char {'nolength': True} at 0x1e345b48040>: E <C object Array of Char {'nolength': True} at 0x1e345ef18e0>: E <C object Array of Char {'nolength': True} at 0x1e345b4a8a0>: E <C object Array of Char {'nolength': True} at 0x1e345b4b6a0>: E <C object Array of Char {'nolength': True} at 0x1e34c803060>: E <C object Array of Char {'nolength': True} at 0x1e34c802aa0>: E <C object Array of Char {'nolength': True} at 0x1e345ef19b0>: E <C object Array of Char {'nolength': True} at 0x1e34c803080>: E <C object Array of Char {'nolength': True} at 0x1e345ef1da0>: E <C object Array of Char {'nolength': True} at 0x1e34c802c60>: E <C object Array of Char {'nolength': True} at 0x1e34c8028e0>: E <C object Array of Char {'nolength': True} at 0x1e34c802f80>: E <C object Array of Char {'nolength': True} at 0x1e34c802940>: E <C object Array of Char {'nolength': True} at 0x1e34c802d00>: E <C object Array of Char {'nolength': True} at 0x1e345ef14d0>: E <C object Array of Char {'nolength': True} at 0x1e34c802cc0>: E <C object Array of Char {'nolength': True} at 0x1e34faa2d70>: E <C object Array of Char {'nolength': True} at 0x1e34c802fe0>: E <C object Array of Char {'nolength': True} at 0x1e34c802ba0>: E <C object Array of Char {'nolength': True} at 0x1e350935860>: E <C object Array of Char {'nolength': True} at 0x1e34c803040>: E <C object Array of Char {'nolength': True} at 0x1e34c802ae0>: E <C object Array of Char {'nolength': True} at 0x1e34c8029a0>: E <C object Array of Char {'nolength': True} at 0x1e34c802e40>: E <C object Array of Char {'nolength': True} at 0x1e34c802ea0>: E <C object Array of Char {'nolength': True} at 0x1e34c8029e0>: E <C object Array of Char {'nolength': True} at 0x1e34c802980>: E <C object Array of Char {'nolength': True} at 0x1e34faa2b30>: E <C object Array of Char {'nolength': True} at 0x1e34c802a20>: E <C object Array of Char {'nolength': True} at 0x1e34c802e20>: E <C object Array of Char {'nolength': True} at 0x1e34faa2c80>: E <C object Array of Char {'nolength': True} at 0x1e34c802c40>: E <C object Array of Char {'nolength': True} at 0x1e34c802920>: E <C object Array of Char {'nolength': True} at 0x1e34c802f20>: E <C object Array of Char {'nolength': True} at 0x1e350934ab0>: E <C object Array of Char {'nolength': True} at 0x1e34c803000>: E <C object Array of Char {'nolength': True} at 0x1e34c802be0>: E <C object Array of Char {'nolength': True} at 0x1e350935740>: E <C object Array of Char {'nolength': True} at 0x1e34faa2770>: E <C object Array of Char {'nolength': True} at 0x1e34c803320>: E <C object Array of Char {'nolength': True} at 0x1e34c803280>: E <C object Array of Char {'nolength': True} at 0x1e34c803300>: E <C object Array of Char {'nolength': True} at 0x1e34c8030a0>: E <C object Array of Char {'nolength': True} at 0x1e34c8037a0>: E <C object Array of Char {'nolength': True} at 0x1e34c803620>: E <C object Array of Char {'nolength': True} at 0x1e34c803140>: E <C object Array of Char {'nolength': True} at 0x1e34c803660>: E <C object Array of Char {'nolength': True} at 0x1e34c8031c0>: E <C object Array of Char {'nolength': True} at 0x1e350936160>: E <C object Array of Char {'nolength': True} at 0x1e34c8030c0>: E <C object Array of Char {'nolength': True} at 0x1e34c8030e0>: E <C object Array of Char {'nolength': True} at 0x1e34c8031a0>: E <C object Array of Char {'nolength': True} at 0x1e34c803340>: E <C object Array of Char {'nolength': True} at 0x1e34c8037c0>: E <C object Array of Char {'nolength': True} at 0x1e34c803520>: E <C object Array of Char {'nolength': True} at 0x1e350935530>: E <C object Array of Char {'nolength': True} at 0x1e34c803400>: E <C object Array of Char {'nolength': True} at 0x1e34c803460>: E <C object Array of Char {'nolength': True} at 0x1e34c8036e0>: E <C object Array of Char {'nolength': True} at 0x1e34c8033c0>: E <C object Array of Char {'nolength': True} at 0x1e34faa31f0>: E <C object Array of Char {'nolength': True} at 0x1e350935ee0>: E <C object Array of Char {'nolength': True} at 0x1e34c803580>: E <C object Array of Char {'nolength': True} at 0x1e34c803220>: E <C object Array of Char {'nolength': True} at 0x1e350935af0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 239, in ffiobj_init E ntypenames[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct CIF_DESCRIPTION { cif, abi, nargs, rtype, atypes, exchange_size, exchange_result, exchange_args } at 0x1e350242e10>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\newtype.py", line 752, in _build_function_type E fct = ctypefunc.W_CTypeFunc(space, fargs, fresult, ellipsis, abi) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 53, in __init__ E builder.rawallocate(self) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate E flavor='raw') E } ..\rpython\conftest.py:103: MallocMismatch =============== 11 passed, 2 skipped, 1 error in 411.16 seconds =============== ++ 04:34:46 starting module/_posixsubprocess/test [29 started in total] __ module/_posixsubprocess/test [26 done in total, somefailed=False] __________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.01 seconds ========================= ++ 04:34:48 starting module/_pypyjson/test [30 started in total] __ module/_pickle_support/test [27 done in total, somefailed=False] ___________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items module\_pickle_support\test\apptest__pickle_support.py . ========================= 1 passed in 208.68 seconds ========================== ++ 04:35:33 starting module/_random/test [31 started in total] __ module/_pickle/test [28 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 96 items module\_pickle\test\apptest_optional_frames.py .. module\_pickle\test\apptest_pickle.py ...............................................................s... module\_pickle\test\apptest_pypy_extensions.py ........................... =================== 95 passed, 1 skipped in 379.26 seconds ==================== ++ 04:37:14 starting module/_rawffi/alt/test [32 started in total] __ module/_pypyjson/test [29 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 56 items module\_pypyjson\test\apptest__pypyjson.py ......... module\_pypyjson\test\test__pypyjson.py ............................................ module\_pypyjson\test\test_simd.py ... ========================= 56 passed in 261.38 seconds ========================= ++ 04:39:14 starting module/_rawffi/test [33 started in total] __ module/_random/test [30 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items module\_random\test\test_random.py ............ module\_random\test\test_ztranslation.py . ========================= 13 passed in 257.34 seconds ========================= ++ 04:39:59 starting module/_socket/test [34 started in total] __ module/_rawffi/alt/test [31 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 73 items module\_rawffi\alt\test\test_ffitype.py ..... module\_rawffi\alt\test\test_funcptr.py ..s..............................ss.ss.... module\_rawffi\alt\test\test_struct.py ............... module\_rawffi\alt\test\test_type_converter.py ........... =================== 68 passed, 5 skipped in 243.09 seconds ==================== ++ 04:41:26 starting module/_sre/test [35 started in total] __ module/_rawffi/test [32 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 84 items module\_rawffi\test\apptest_rawffi.py . module\_rawffi\test\test__rawffi.py .................s.................................s................. module\_rawffi\test\test_exit.py s module\_rawffi\test\test_nested.py ...... module\_rawffi\test\test_struct.py ... module\_rawffi\test\test_tracker.py ... module\_rawffi\test\test_ztranslation.py . =================== 81 passed, 3 skipped in 385.81 seconds ==================== n: 2 Arg 0: 3 Arg 1: 15 ++ 04:45:45 starting module/_vmprof/test [36 started in total] __ module/_vmprof/test [33 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.00 seconds ========================= ++ 04:45:47 starting module/_warnings/test [37 started in total] __ module/_socket/test [34 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 87 items module\_socket\test\apptest_socket.py ..........ss.............F..s.....s...s.ss..s...s....s...sssss module\_socket\test\test_sock_app.py .......s.........ss.s... module\_socket\test\test_ztranslation.py . ================================== FAILURES =================================== ___________________________ test_recvmsg_issue2649 ____________________________ @pytest.mark.skipif(sys.platform == 'win32', reason="no recvmsg on win32") @pytest.mark.skipif(sys.platform == 'darwin', reason="no MSG_ERRQUEUE on macos") def test_recvmsg_issue2649(): import _socket as socket listener = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM) listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) listener.bind(('127.0.0.1', 1234)) s = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM) s.sendto(b'x', ('127.0.0.1', 1234)) > with pytest.raises(BlockingIOError): queue = s.recvmsg(1024, 1024, socket.MSG_ERRQUEUE) E (application-level) AssertionError: raises() expected <class 'BlockingIOError'>, but got <class 'AttributeError'> module\_socket\test\apptest_socket.py:334: AssertionError =========================== short test summary info =========================== FAIL module\_socket\test\apptest_socket.py::test_recvmsg_issue2649 ============== 1 failed, 67 passed, 19 skipped in 406.95 seconds ============== ++ 04:46:54 starting module/_weakref/test [38 started in total] __ module/_sre/test [35 done in total, somefailed=True] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 160 items module\_sre\test\apptest_sre.py FF...FFFFFFFFFFF.FFFFFFFFF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF module\_sre\test\test_app_sre.py FFFFFFFFFFFFFFFFFFFFFFFF.FFF...................................... module\_sre\test\test_sre_buf.py FFFFFFFFFFFFFFFFFFFFFFFF.FFF ================================== FAILURES =================================== ____________________ test_finditer_holds_bytearray_export _____________________ self = <CallInfo when='call' exception: CompilationError(out=""" """)> func = <function <lambda> at 0x000002245943d9e8>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestFunction u'test_finditer_holds_bytearray_exp..._': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestFunction u'test_finditer_holds_bytearray_export'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x000002244ede14b0> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000224506be460>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestFunction u'test_finditer_holds_bytearray_exp..._': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestFunction u'test_finditer_holds_bytearray_export'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000224506be460>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestFunction u'test_finditer_holds_bytearray_exp..._': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestFunction u'test_finditer_holds_bytearray_export'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestFunction u'test_finditer_holds_bytearray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000022459466ae8> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000022459456620> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000022459456620> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestFunction u'test_finditer_holds_bytearray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000022459466598> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000224594565e0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000224594565e0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestFunction u'test_finditer_holds_bytearray_export'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestFunction u'test_finditer_holds_bytearray_export'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestFunction u'test_finditer_holds_bytearray_export'> def runtest(self): target = self.w_obj space = target.space self.check_run(space, target) > self.execute_appex(space, target) tool\pytest\apptest2.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestFunction u'test_finditer_holds_bytearray_export'> space = StdObjSpace, w_func = <Function test_finditer_holds_bytearray_export> def execute_appex(self, space, w_func): space.getexecutioncontext().set_sys_exc_info(None) sig = w_func.code._signature if sig.varargname or sig.kwargname or sig.num_kwonlyargnames(): raise ValueError( 'Test functions may not use *args, **kwargs or ' 'keyword-only args') args_w = self.get_fixtures(space, sig.argnames) try: > space.call_function(w_func, *args_w) tool\pytest\apptest2.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function test_finditer_holds_bytearray_export> args_w = (), nargs = 0, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_finditer_holds_bytearray_export>, args_w = () gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_finditer_holds_bytearray_export, file "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 name = 'test_finditer_holds_bytearray_export' qualname = 'test_finditer_holds_bytearray_export' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 pycode = <code object test_finditer_holds_bytearray_export, file "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 co_code = 'd\x01d\x00l\x00}\x00d\x01d\x00l\x01}\x01t\x02d\x02\x83\x01}\x02|\x00\xa0\x03d\x03|\x02\xa1\x02}\x03\t\x00|\x02\xa0\x0...03\x83\x01\x01\x00~\x03|\x01\xa0\x08\xa1\x00\x01\x00|\x02\xa0\x04d\x04\xa1\x01\x01\x00d\x00S\x00\x01\x01\x00d\x00S\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 co_code = 'd\x01d\x00l\x00}\x00d\x01d\x00l\x01}\x01t\x02d\x02\x83\x01}\x02|\x00\xa0\x03d\x03|\x02\xa1\x02}\x03\t\x00|\x02\xa0\x0...03\x83\x01\x01\x00~\x03|\x01\xa0\x08\xa1\x00\x01\x00|\x02\xa0\x04d\x04\xa1\x01\x01\x00d\x00S\x00\x01\x01\x00d\x00S\x00' next_instr = 6L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: self.CALL_METHOD(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD_KW.index: self.CALL_METHOD_KW(oparg, next_instr) elif opcode == opcodedesc.CHECK_EG_MATCH.index: self.CHECK_EG_MATCH(oparg, next_instr) elif opcode == opcodedesc.CHECK_EXC_MATCH.index: self.CHECK_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.COMPARE_OP.index: self.COMPARE_OP(oparg, next_instr) elif opcode == opcodedesc.IS_OP.index: self.IS_OP(oparg, next_instr) elif opcode == opcodedesc.CONTAINS_OP.index: self.CONTAINS_OP(oparg, next_instr) elif opcode == opcodedesc.DELETE_ATTR.index: self.DELETE_ATTR(oparg, next_instr) elif opcode == opcodedesc.DELETE_DEREF.index: self.DELETE_DEREF(oparg, next_instr) elif opcode == opcodedesc.DELETE_FAST.index: self.DELETE_FAST(oparg, next_instr) elif opcode == opcodedesc.SETUP_ANNOTATIONS.index: self.SETUP_ANNOTATIONS(oparg, next_instr) elif opcode == opcodedesc.DELETE_GLOBAL.index: self.DELETE_GLOBAL(oparg, next_instr) elif opcode == opcodedesc.DELETE_NAME.index: self.DELETE_NAME(oparg, next_instr) elif opcode == opcodedesc.DELETE_SUBSCR.index: self.DELETE_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.DUP_TOP.index: self.DUP_TOP(oparg, next_instr) elif opcode == opcodedesc.DUP_TOP_TWO.index: self.DUP_TOP_TWO(oparg, next_instr) elif opcode == opcodedesc.GET_ITER.index: self.GET_ITER(oparg, next_instr) elif opcode == opcodedesc.IMPORT_FROM.index: self.IMPORT_FROM(oparg, next_instr) elif opcode == opcodedesc.IMPORT_NAME.index: > self.IMPORT_NAME(oparg, next_instr) interpreter\pyopcode.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_finditer...own-win-x86-64\build\pypy\module\_sre\test\apptest_sre.py", line 10> at line 12 nameindex = 0, next_instr = 6L def IMPORT_NAME(self, nameindex, next_instr): space = self.space w_modulename = self.getname_w(nameindex) w_fromlist = self.popvalue() w_flag = self.popvalue() w_import = self.get_builtin().getdictvalue(space, '__import__') if w_import is None: raise oefmt(space.w_ImportError, "__import__ not found") d = self.getdebug() if d is None: w_locals = None else: w_locals = d.w_locals if w_locals is None: # CPython does this w_locals = space.w_None w_globals = self.get_w_globals() w_obj = space.call_function(w_import, w_modulename, w_globals, > w_locals, w_fromlist, w_flag) interpreter\pyopcode.py:1129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <FunctionWithFixedCode __import__> args_w = (W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x0000022458fe2a68...bject at 0x00000224544fd0c0>, <pypy.objspace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)) nargs = 5 def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): return w_func.funccall(*args_w) # end of hack for performance args = Arguments(self, list(args_w)) > return self.call_args(w_func, args) interpreter\baseobjspace.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = <FunctionWithFixedCode __import__> args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def call_args(space, w_obj, args): # two special cases for performance if isinstance(w_obj, Function): > return w_obj.call_args(args) objspace\descroperation.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode __import__> args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022454d88cd0> func = <FunctionWithFixedCode __import__> args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def funcrun(self, func, args): > return BuiltinCode.funcrun_obj(self, func, None, args) interpreter\gateway.py:869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022454d88cd0> func = <FunctionWithFixedCode __import__>, w_obj = None args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022454d88cd0> space = StdObjSpace, e = CompilationError(out=""" """) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022454d88cd0> func = <FunctionWithFixedCode __import__>, w_obj = None args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_Root_W_Root_W_Root object at 0x0000022454d88d78> space = StdObjSpace scope_w = [W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x0000022458fe2a68...bject at 0x00000224544fd0c0>, <pypy.objspace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)] def _run(self, space, scope_w): > return self.behavior(space, scope_w[0], scope_w[1], scope_w[2], scope_w[3], scope_w[4]) <2112-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_name = W_UnicodeObject('re') w_globals = W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x0000022458fe2a68>) w_locals = <pypy.objspace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0> w_fromlist = <pypy.objspace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0> w_level = W_IntObject(0) @unwrap_spec(w_globals=WrappedDefault(None), w_locals=WrappedDefault(None), w_fromlist=WrappedDefault(()), w_level=WrappedDefault(0)) def interp___import__(space, w_name, w_globals, w_locals, w_fromlist, w_level): """ Import a module. Because this function is meant for use by the Python interpreter and not for general use, it is better to use importlib.import_module() to programmatically import a module. The globals argument is only used to determine the context; they are not modified. The locals argument is unused. The fromlist should be a list of names to emulate ``from name import ...'', or an empty list to emulate ``import name''. When importing a module from a package, note that __import__('A.B', ...) returns package A when fromlist is empty, but its submodule B when fromlist is not empty. The level argument is used to determine whether to perform absolute or relative imports: 0 is absolute, while a positive number is the number of parent directories to search relative to the current module.""" level = space.int_w(w_level) if level == 0: # fast path only for absolute imports without a "from" list, for now # fromlist can be supported if we are importing from a module, not a # package. to check that, look for the existence of __path__ attribute # in w_mod try: name = space.text_w(w_name) w_mod = _gcd_import(space, name) have_fromlist = space.is_true(w_fromlist) if not have_fromlist: dotindex = name.find(".") if dotindex < 0: return w_mod return _gcd_import(space, name[:dotindex]) except FastPathGiveUp: pass else: assert have_fromlist w_path = space.findattr(w_mod, space.newtext("__path__")) if w_path is not None: # hard case, a package! Call back into importlib w_importlib = space.getbuiltinmodule('_frozen_importlib') return space.call_method(w_importlib, "_handle_fromlist", w_mod, w_fromlist, space.w_default_importlib_import) else: return w_mod try: return space.call_function( space.fromcache(FrozenCache).w_frozen_import, w_name, w_globals, w_locals, w_fromlist, > w_level) module\_frozen_importlib\interp_import.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function __import__> args_w = (W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x0000022458fe2a68...bject at 0x00000224544fd0c0>, <pypy.objspace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)) nargs = 5 def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): return w_func.funccall(*args_w) # end of hack for performance args = Arguments(self, list(args_w)) > return self.call_args(w_func, args) interpreter\baseobjspace.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = <Function __import__> args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def call_args(space, w_obj, args): # two special cases for performance if isinstance(w_obj, Function): > return w_obj.call_args(args) objspace\descroperation.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function __import__> args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <code object __import__, file "<frozen importlib._bootstrap>", line 1271> func = <Function __import__> args = Arguments([W_UnicodeObject('re'), W_ModuleDictObject(<pypy.objspace.std.celldi...ace.std.noneobject.W_NoneObject object at 0x00000224544fd0c0>, W_IntObject(0)]) def funcrun(self, func, args): frame = self.space.createframe(self, func.w_func_globals, func) sig = self._signature # speed hack fresh_frame = jit.hint(frame, access_directly=True, fresh_virtualizable=True) args.parse_into_scope(None, fresh_frame.locals_cells_stack_w, func.qualname, sig, func.defs_w, func.w_kw_defs) fresh_frame.init_cells() > return frame.run(func.name, func.qualname) interpreter\pycode.py:280: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 name = '__import__', qualname = '__import__' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 pycode = <code object __import__, file "<frozen importlib._bootstrap>", line 1271> next_instr = 8L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 co_code = '|\x04d\x01k\x02r\tt\x00|\x00\x83\x01}\x05n\x12|\x01d\x02u\x01r\x0f|\x01n\x01i\x00}\x06t\x01|\x06\x83\x01}\x07t\x00|\x...\x83\x01|\x08\x18\x00\x85\x02\x19\x00\x19\x00S\x00t\x07|\x05d\x04\x83\x02rUt\x08|\x05|\x03t\x00\x83\x03S\x00|\x05S\x00' next_instr = 8L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 co_code = '|\x04d\x01k\x02r\tt\x00|\x00\x83\x01}\x05n\x12|\x01d\x02u\x01r\x0f|\x01n\x01i\x00}\x06t\x01|\x06\x83\x01}\x07t\x00|\x...\x83\x01|\x08\x18\x00\x85\x02\x19\x00\x19\x00S\x00t\x07|\x05d\x04\x83\x02rUt\x08|\x05|\x03t\x00\x83\x03S\x00|\x05S\x00' next_instr = 14L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: > self.CALL_FUNCTION(oparg, next_instr) interpreter\pyopcode.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 oparg = 1, next_instr = 14L def CALL_FUNCTION(self, oparg, next_instr): # Only positional arguments nargs = oparg & 0xff w_function = self.peekvalue(nargs) > w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1) interpreter\pyopcode.py:1399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function _gcd_import>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 dropvalues = 2, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _gcd_import>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 dropvalues = 2, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) return self._flat_pycall(code, nargs, frame, dropvalues) elif fast_natural_arity & Code.FLATPYCALL: natural_arity = fast_natural_arity & 0xff if natural_arity > nargs >= natural_arity - len(self.defs_w): assert isinstance(code, PyCode) return self._flat_pycall_defaults(code, nargs, frame, > natural_arity - nargs, dropvalues) interpreter\function.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _gcd_import> code = <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object __import__, file "<frozen importlib._bootstrap>", line 1271> at line 1283 defs_to_load = 2, dropvalues = 2 @jit.unroll_safe def _flat_pycall_defaults(self, code, nargs, frame, defs_to_load, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) ndefs = len(self.defs_w) start = ndefs - defs_to_load i = nargs for j in xrange(start, ndefs): new_frame.locals_cells_stack_w[i] = self.defs_w[j] i += 1 frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:231: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 name = '_gcd_import', qualname = '_gcd_import' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 pycode = <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> next_instr = 32 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 co_code = 't\x00|\x00|\x01|\x02\x83\x03\x01\x00|\x02d\x01k\x04r\x10t\x01|\x00|\x01|\x02\x83\x03}\x00t\x02|\x00t\x03\x83\x02S\x00' next_instr = 32 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 co_code = 't\x00|\x00|\x01|\x02\x83\x03\x01\x00|\x02d\x01k\x04r\x10t\x01|\x00|\x01|\x02\x83\x03}\x00t\x02|\x00t\x03\x83\x02S\x00' next_instr = 40 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: > self.CALL_FUNCTION(oparg, next_instr) interpreter\pyopcode.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 oparg = 2, next_instr = 40 def CALL_FUNCTION(self, oparg, next_instr): # Only positional arguments nargs = oparg & 0xff w_function = self.peekvalue(nargs) > w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1) interpreter\pyopcode.py:1399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function _find_and_load>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 dropvalues = 3, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _find_and_load>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 dropvalues = 3, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) > return self._flat_pycall(code, nargs, frame, dropvalues) interpreter\function.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _find_and_load> code = <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _gcd_import, file "<frozen importlib._bootstrap>", line 1192> at line 1204 dropvalues = 3 @jit.unroll_safe def _flat_pycall(self, code, nargs, frame, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 name = '_find_and_load', qualname = '_find_and_load' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 pycode = <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> next_instr = 74 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 co_code = 't\x00j\x01\xa0\x02|\x00t\x03\xa1\x02}\x02|\x02t\x03u\x00s\x15t\x04t\x04|\x02d\x01d\x02\x83\x03d\x03d\x04\x83\x03rEt\x...t\x07|\x00\x83\x01\x01\x00|\x02d\x02u\x00rTd\x05\xa0\x08|\x00\xa1\x01}\x03t\t|\x03|\x00d\x06\x8d\x02\x82\x01|\x02S\x00' next_instr = 74 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 co_code = 't\x00j\x01\xa0\x02|\x00t\x03\xa1\x02}\x02|\x02t\x03u\x00s\x15t\x04t\x04|\x02d\x01d\x02\x83\x03d\x03d\x04\x83\x03rEt\x...t\x07|\x00\x83\x01\x01\x00|\x02d\x02u\x00rTd\x05\xa0\x08|\x00\xa1\x01}\x03t\t|\x03|\x00d\x06\x8d\x02\x82\x01|\x02S\x00' next_instr = 82 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: > self.CALL_FUNCTION(oparg, next_instr) interpreter\pyopcode.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 oparg = 2, next_instr = 82 def CALL_FUNCTION(self, oparg, next_instr): # Only positional arguments nargs = oparg & 0xff w_function = self.peekvalue(nargs) > w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1) interpreter\pyopcode.py:1399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function _find_and_load_unlocked>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 dropvalues = 3, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _find_and_load_unlocked>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 dropvalues = 3, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) > return self._flat_pycall(code, nargs, frame, dropvalues) interpreter\function.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _find_and_load_unlocked> code = <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load, file "<frozen importlib._bootstrap>", line 1165> at line 1176 dropvalues = 3 @jit.unroll_safe def _flat_pycall(self, code, nargs, frame, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 name = '_find_and_load_unlocked', qualname = '_find_and_load_unlocked' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 pycode = <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> next_instr = 208 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 co_code = 'd\x00}\x02|\x00\xa0\x00d\x01\xa1\x01d\x02\x19\x00}\x03d\x00}\x04|\x03rN|\x03t\x01j\x02v\x01r\x17t\x03|\x01|\x03\x83\x...b\x02d\x07|\x07\x9b\x02\x9d\x04}\x06t\x10\xa0\x11|\x06t\x12\xa1\x02\x01\x00Y\x00n\x05w\x01w\x00&\x03Y\x00w\x01|\tS\x00' next_instr = 208 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 co_code = 'd\x00}\x02|\x00\xa0\x00d\x01\xa1\x01d\x02\x19\x00}\x03d\x00}\x04|\x03rN|\x03t\x01j\x02v\x01r\x17t\x03|\x01|\x03\x83\x...b\x02d\x07|\x07\x9b\x02\x9d\x04}\x06t\x10\xa0\x11|\x06t\x12\xa1\x02\x01\x00Y\x00n\x05w\x01w\x00&\x03Y\x00w\x01|\tS\x00' next_instr = 216 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: > self.CALL_FUNCTION(oparg, next_instr) interpreter\pyopcode.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 oparg = 1, next_instr = 216 def CALL_FUNCTION(self, oparg, next_instr): # Only positional arguments nargs = oparg & 0xff w_function = self.peekvalue(nargs) > w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1) interpreter\pyopcode.py:1399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function _load_unlocked>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 dropvalues = 2, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _load_unlocked>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 dropvalues = 2, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) > return self._flat_pycall(code, nargs, frame, dropvalues) interpreter\function.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function _load_unlocked> code = <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _find_and_load_unlocked, file "<frozen importlib._bootstrap>", line 1120> at line 1147 dropvalues = 2 @jit.unroll_safe def _flat_pycall(self, code, nargs, frame, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 name = '_load_unlocked', qualname = '_load_unlocked' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 pycode = <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> next_instr = 122 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 co_code = '|\x00j\x00d\x00u\x01r\x1dt\x01|\x00j\x00d\x01\x83\x02s\x1dt\x02|\x00j\x00\x83\x01\x9b\x00d\x02\x9d\x02}\x01t\x03\xa0\...00t\x11d\x06|\x00j\x0b|\x00j\x00\x83\x03\x01\x00d\x07|\x00_\x08n\x08#\x00d\x07|\x00_\x08w\x00&\x03Y\x00w\x01|\x02S\x00' next_instr = 122 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 co_code = '|\x00j\x00d\x00u\x01r\x1dt\x01|\x00j\x00d\x01\x83\x02s\x1dt\x02|\x00j\x00\x83\x01\x9b\x00d\x02\x9d\x02}\x01t\x03\xa0\...00t\x11d\x06|\x00j\x0b|\x00j\x00\x83\x03\x01\x00d\x07|\x00_\x08n\x08#\x00d\x07|\x00_\x08w\x00&\x03Y\x00w\x01|\x02S\x00' next_instr = 132 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 oparg = 1, ignored = (132,), n_args = 1 w_self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000022455ddb2b8> n = 2 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function exec_module>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 dropvalues = 3, methodcall = True def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function exec_module>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 dropvalues = 3, methodcall = True def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) > return self._flat_pycall(code, nargs, frame, dropvalues) interpreter\function.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function exec_module> code = <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object _load_unlocked, file "<frozen importlib._bootstrap>", line 666> at line 690 dropvalues = 3 @jit.unroll_safe def _flat_pycall(self, code, nargs, frame, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 name = 'exec_module', qualname = '_LoaderBasics.exec_module' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 pycode = <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 co_code = '|\x00\xa0\x00|\x01j\x01\xa1\x01}\x02|\x02d\x01u\x00r\x12t\x02d\x02\xa0\x03|\x01j\x01\xa1\x01\x83\x01\x82\x01t\x04\xa0\x05t\x06|\x02|\x01j\x07\xa1\x03\x01\x00d\x01S\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 co_code = '|\x00\xa0\x00|\x01j\x01\xa1\x01}\x02|\x02d\x01u\x00r\x12t\x02d\x02\xa0\x03|\x01j\x01\xa1\x01\x83\x01\x82\x01t\x04\xa0\x05t\x06|\x02|\x01j\x07\xa1\x03\x01\x00d\x01S\x00' next_instr = 10L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 oparg = 1, ignored = (10L,), n_args = 1 w_self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000022455ddb2b8> n = 2 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function get_code>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 dropvalues = 3, methodcall = True def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function get_code>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 dropvalues = 3, methodcall = True def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) > return self._flat_pycall(code, nargs, frame, dropvalues) interpreter\function.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function get_code> code = <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object exec_module, file "<frozen importlib._bootstrap_external>", line 949> at line 951 dropvalues = 3 @jit.unroll_safe def _flat_pycall(self, code, nargs, frame, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 name = 'get_code', qualname = 'SourceLoader.get_code' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 pycode = <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 co_code = '|\x00\xa0\x00|\x01\xa1\x01}\x02d\x01}\x03d\x01}\x04d\x01}\x05d\x02}\x06d\x03}\x07\t\x00t\x01|\x02\x83\x01}\x08\t\x00|...0\x1a|\x02|\x08|\n\xa1\x03\x01\x00n\r#\x00t\x13$\x00\x90\x01r\x03\x01\x00Y\x00n\x05w\x01w\x00&\x03Y\x00w\x01|\x0eS\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 co_code = '|\x00\xa0\x00|\x01\xa1\x01}\x02d\x01}\x03d\x01}\x04d\x01}\x05d\x02}\x06d\x03}\x07\t\x00t\x01|\x02\x83\x01}\x08\t\x00|...0\x1a|\x02|\x08|\n\xa1\x03\x01\x00n\r#\x00t\x13$\x00\x90\x01r\x03\x01\x00Y\x00n\x05w\x01w\x00&\x03Y\x00w\x01|\x0eS\x00' next_instr = 74L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 oparg = 1, ignored = (74L,), n_args = 1 w_self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000022455ddb2b8> n = 2 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function get_data>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 dropvalues = 3, methodcall = True def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function get_data>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 dropvalues = 3, methodcall = True def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) > return self._flat_pycall(code, nargs, frame, dropvalues) interpreter\function.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function get_data> code = <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_code, file "<frozen importlib._bootstrap_external>", line 1022> at line 1047 dropvalues = 3 @jit.unroll_safe def _flat_pycall(self, code, nargs, frame, dropvalues): # code is a PyCode new_frame = self.space.createframe(code, self.w_func_globals, self) for i in xrange(nargs): new_frame.locals_cells_stack_w[i] = frame.peekvalue(nargs-1-i) frame.dropvalues(dropvalues) > return new_frame.run(self.name, self.qualname) interpreter\function.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 name = 'get_data', qualname = 'FileLoader.get_data' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 e = CompilationError(out=""" """) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 pycode = <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> next_instr = 14L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 co_code = 't\x00|\x00t\x01t\x02f\x02\x83\x02r&t\x03\xa0\x04t\x05|\x01\x83\x01\xa1\x015\x00}\x02|\x02\xa0\x06\xa1\x00\x02\x00d\x0...2\x00d\x01\x04\x00\x04\x00\x83\x03\x01\x00S\x00#\x001\x00s>w\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x01S\x00' next_instr = 14L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 co_code = 't\x00|\x00t\x01t\x02f\x02\x83\x02r&t\x03\xa0\x04t\x05|\x01\x83\x01\xa1\x015\x00}\x02|\x02\xa0\x06\xa1\x00\x02\x00d\x0...2\x00d\x01\x04\x00\x04\x00\x83\x03\x01\x00S\x00#\x001\x00s>w\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x01S\x00' next_instr = 26L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000022456e2f718> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 oparg = 1, ignored = (26L,), n_args = 1, w_self = None, n = 1 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <BuiltinFunction open_code>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 dropvalues = 3, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <BuiltinFunction open_code>, nargs = 1 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object get_data, file "<frozen importlib._bootstrap_external>", line 1142> at line 1145 dropvalues = 3, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) > return code.fastcall_1(self.space, self, f_0) interpreter\function.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000224562edd00> space = StdObjSpace, w_func = <BuiltinFunction open_code> w1 = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') @signature(sigtypes.self(), sigtypes.any(), w_root_or_none, w_root_or_none, returns=w_root_or_none) def fastcall_1(self, space, w_func, w1): try: w_result = self.fastfunc_1(space, w1) except DescrMismatch: return self._type_unwrap_mismatch(space, Arguments(space, [w1])) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:982: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000224562edd00> space = StdObjSpace, e = CompilationError(out=""" """) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000224562edd00> space = StdObjSpace, w_func = <BuiltinFunction open_code> w1 = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') @signature(sigtypes.self(), sigtypes.any(), w_root_or_none, w_root_or_none, returns=w_root_or_none) def fastcall_1(self, space, w_func, w1): try: > w_result = self.fastfunc_1(space, w1) interpreter\gateway.py:977: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace w_file = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') def open_code(space, w_file): > return open(space, w_file, "rb") module\_io\interp_io.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace w_file = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None closefd = True, w_opener = None @unwrap_spec(mode='text', buffering=int, encoding="text_or_none", errors="text_or_none", newline="text_or_none", closefd=int) def open(space, w_file, mode="r", buffering=-1, encoding=None, errors=None, newline=None, closefd=True, w_opener=None): return _open(space, w_file, mode, buffering, encoding, errors, newline, > closefd, w_opener) module\_io\interp_io.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace w_file = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None closefd = True, w_opener = None def f(space, w_file, mode, buffering, encoding, errors, newline, closefd, w_opener): if not we_are_jitted() or predicate(space, w_file, mode, buffering, encoding, errors, newline, closefd, w_opener): > return func(space, w_file, mode, buffering, encoding, errors, newline, closefd, w_opener) <2721-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rlib\jit.py:246>:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace w_file = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None closefd = True, w_opener = None @jit.look_inside_iff(lambda space, w_file, mode, buffering, encoding, errors, newlines, closefd, w_opener: jit.isconstant(mode)) def _open(space, w_file, mode, buffering, encoding, errors, newline, closefd, w_opener): from pypy.module._io.interp_bufferedio import (W_BufferedRandom, W_BufferedWriter, W_BufferedReader) if not (space.isinstance_w(w_file, space.w_unicode) or space.isinstance_w(w_file, space.w_bytes) or space.isinstance_w(w_file, space.w_int)): w_file = interp_posix.fspath(space, w_file) reading = writing = creating = appending = updating = text = binary = False for i in range(1, len(mode)): flag = mode[i] if mode.find(flag, 0, i) != -1: raise oefmt(space.w_ValueError, "invalid mode: %s", mode) for flag in mode: if flag == "r": reading = True elif flag == "w": writing = True elif flag == "x": creating = True elif flag == "a": appending = True elif flag == "+": updating = True elif flag == "t": text = True elif flag == "b": binary = True else: raise oefmt(space.w_ValueError, "invalid mode: %s", mode) if text and binary: raise oefmt(space.w_ValueError, "can't have text and binary mode at once") if creating + reading + writing + appending > 1: raise oefmt(space.w_ValueError, "must have exactly one of create/read/write/append mode") if binary and encoding is not None: raise oefmt(space.w_ValueError, "binary mode doesn't take an encoding argument") if binary and newline is not None: raise oefmt(space.w_ValueError, "binary mode doesn't take a newline argument") if binary and buffering == 1: space.warn( space.newtext( "line buffering (buffering=1) isn't supported in " "binary mode, the default buffer size will be used" ), space.w_RuntimeWarning ) rawmode = "" if reading: rawmode = "r" if updating: rawmode = "r+" elif writing: rawmode = "w" if updating: rawmode = "w+" elif creating: rawmode = "x" if updating: rawmode = "x+" elif appending: rawmode = "a" if updating: rawmode = "a+" else: # error, will be raised from interp_fileio if updating: rawmode = "+" w_result = None try: rawclass = W_FileIO if _WIN32: from pypy.module._io.interp_win32consoleio import W_WinConsoleIO, _pyio_get_console_type typ = _pyio_get_console_type(space, w_file) if typ != '\0': rawclass = W_WinConsoleIO encoding = "utf-8" w_raw = space.call_function( space.gettypefor(rawclass), w_file, space.newtext(rawmode), > space.newbool(bool(closefd)), w_opener) module\_io\interp_io.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <W_TypeObject '_io.FileIO' at 0x22456393440> args_w = (W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None) nargs = 4, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): return w_func.funccall(*args_w) # end of hack for performance args = Arguments(self, list(args_w)) > return self.call_args(w_func, args) interpreter\baseobjspace.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = <W_TypeObject '_io.FileIO' at 0x22456393440> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def call_args(space, w_obj, args): # two special cases for performance if isinstance(w_obj, Function): return w_obj.call_args(args) if isinstance(w_obj, Method): return w_obj.call_args(args) w_descr = space.lookup(w_obj, '__call__') if w_descr is None: raise oefmt(space.w_TypeError, "'%T' object is not callable", w_obj) > return space.get_and_call_args(w_descr, w_obj, args) objspace\descroperation.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_descr = <FunctionWithFixedCode __call__> w_obj = <W_TypeObject '_io.FileIO' at 0x22456393440> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def get_and_call_args(space, w_descr, w_obj, args): # a special case for performance and to avoid infinite recursion if isinstance(w_descr, Function): > return w_descr.call_obj_args(w_obj, args) objspace\descroperation.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode __call__> w_obj = <W_TypeObject '_io.FileIO' at 0x22456393440> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def call_obj_args(self, w_obj, args): # delegate activation to code > w_res = self.getcode().funcrun_obj(self, w_obj, args) interpreter\function.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCodePassThroughArguments1 object at 0x0000022454158800> func = <FunctionWithFixedCode __call__> w_obj = <W_TypeObject '_io.FileIO' at 0x22456393440> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def funcrun_obj(self, func, w_obj, args): space = func.space try: w_result = self.func__args__(space, w_obj, args) except DescrMismatch: return self._type_unwrap_mismatch(space, args.prepend(w_obj)) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:941: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCodePassThroughArguments1 object at 0x0000022454158800> space = StdObjSpace, e = CompilationError(out=""" """) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCodePassThroughArguments1 object at 0x0000022454158800> func = <FunctionWithFixedCode __call__> w_obj = <W_TypeObject '_io.FileIO' at 0x22456393440> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def funcrun_obj(self, func, w_obj, args): space = func.space try: > w_result = self.func__args__(space, w_obj, args) interpreter\gateway.py:937: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = <W_TypeObject '_io.FileIO' at 0x22456393440> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def _call(space, w_obj, args): self = space.descr_self_interp_w(self_type, w_obj) > return func(self, space, args) <282-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:4: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <W_TypeObject '_io.FileIO' at 0x22456393440>, space = StdObjSpace __args__ = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def descr_call(self, space, __args__): promote(self) # invoke the __new__ of the type if not we_are_jitted(): # note that the annotator will figure out that self.w_new_function # can only be None if the newshortcut config option is not set w_newfunc = self.w_new_function else: # for the JIT it is better to take the slow path because normal lookup # is nicely optimized, but the self.w_new_function attribute is not # known to the JIT w_newfunc = None if w_newfunc is None: w_newtype, w_newdescr = self.lookup_where('__new__') if w_newdescr is None: # see test_crash_mro_without_object_1 raise oefmt(space.w_TypeError, "cannot create '%N' instances", self) # # issue #2666 if space.config.objspace.usemodules.cpyext: w_newtype, w_newdescr = self.hack_which_new_to_call( w_newtype, w_newdescr) # w_newfunc = space.get(w_newdescr, space.w_None, w_type=self) if (space.config.objspace.std.newshortcut and not we_are_jitted() and space._side_effects_ok() and isinstance(w_newtype, W_TypeObject)): self.w_new_function = w_newfunc w_newobject = space.call_obj_args(w_newfunc, self, __args__) call_init = space.isinstance_w(w_newobject, self) # maybe invoke the __init__ of the type if (call_init and not (space.is_w(self, space.w_type) and not __args__.keyword_names_w and len(__args__.arguments_w) == 1)): w_descr = space.lookup(w_newobject, '__init__') if w_descr is not None: # see test_crash_mro_without_object_2 w_result = space.get_and_call_args(w_descr, w_newobject, > __args__) objspace\std\typeobject.py:743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_descr = <FunctionWithFixedCode __init__> w_obj = <pypy.module._io.interp_fileio.W_FileIO object at 0x00000224563ae020> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def get_and_call_args(space, w_descr, w_obj, args): # a special case for performance and to avoid infinite recursion if isinstance(w_descr, Function): > return w_descr.call_obj_args(w_obj, args) objspace\descroperation.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode __init__> w_obj = <pypy.module._io.interp_fileio.W_FileIO object at 0x00000224563ae020> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def call_obj_args(self, w_obj, args): # delegate activation to code > w_res = self.getcode().funcrun_obj(self, w_obj, args) interpreter\function.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022455d0f590> func = <FunctionWithFixedCode __init__> w_obj = <pypy.module._io.interp_fileio.W_FileIO object at 0x00000224563ae020> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022455d0f590> space = StdObjSpace, e = CompilationError(out=""" """) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000022455d0f590> func = <FunctionWithFixedCode __init__> w_obj = <pypy.module._io.interp_fileio.W_FileIO object at 0x00000224563ae020> args = Arguments([W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\...che__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_W_FileIO_ObjSpace_W_Root_text_int_W_Root object at 0x0000022455d0f670> space = StdObjSpace scope_w = [<pypy.module._io.interp_fileio.W_FileIO object at 0x00000224563ae020>, W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\s...-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc'), W_UnicodeObject('r'), W_BoolObject(True), None] def _run(self, space, scope_w): > return self.behavior(space.interp_w(W_FileIO, scope_w[0]), space, scope_w[1], space.text_w(scope_w[2]), space.gateway_int_w(scope_w[3]), scope_w[4]) <2641-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module._io.interp_fileio.W_FileIO object at 0x00000224563ae020> space = StdObjSpace w_name = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') mode = 'r', closefd = 1, w_opener = None @unwrap_spec(mode='text', closefd=int) def descr_init(self, space, w_name, mode='r', closefd=True, w_opener=None): if self.fd >= 0: if self.closefd: self._close(space) else: self.fd = -1 if space.isinstance_w(w_name, space.w_float): raise oefmt(space.w_TypeError, "integer argument expected, got float") fd = -1 try: fd = space.c_int_w(w_name) except OperationError as e: pass else: if fd < 0: raise oefmt(space.w_ValueError, "negative file descriptor") self.readable, self.writable, self.created, self.appending, flags = decode_mode(space, mode) if rposix.O_CLOEXEC is not None: flags |= rposix.O_CLOEXEC fd_is_own = False try: if fd >= 0: self.fd = fd self.closefd = bool(closefd) space.audit("open", [space.newint(fd), space.newtext(mode), space.newint(closefd)]) else: space.audit("open", [w_name, space.newtext(mode), space.newint(1)]) self.closefd = True if not closefd: raise oefmt(space.w_ValueError, "Cannot use closefd=False with file name") if space.is_none(w_opener): > self.fd = _open_fd(space, w_name, flags) module\_io\interp_fileio.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace w_name = W_UnicodeObject('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\lib-python\\3\\re\\__pycache__\\__init__.pypy311.pyc') flags = 32768 def _open_fd(space, w_name, flags): from pypy.module.posix.interp_posix import dispatch_filename, fspath w_path = fspath(space, w_name) while True: try: fd = dispatch_filename(rposix.open)( space, w_path, flags, 0666) fd_is_own = True break except OSError as e: wrap_oserror2(space, e, w_name, w_exception_class=space.w_IOError, eintr_retry=True) try: > _open_inhcache.set_non_inheritable(fd) module\_io\interp_fileio.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.rlib.rposix.SetNonInheritableCache object at 0x0000022456c09600> fd = 10 def set_non_inheritable(self, fd): if self.cached_inheritable == -1: > self.cached_inheritable = get_inheritable(fd) ..\rpython\rlib\rposix.py:2943: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fd = 10 def get_inheritable(fd): > handle = get_osfhandle(fd) ..\rpython\rlib\rwin32.py:558: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fd = 10 def get_osfhandle(fd): from rpython.rlib.rposix import SuppressIPH > with SuppressIPH(): ..\rpython\rlib\rwin32.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.rlib.rposix.SuppressIPH object at 0x000002245977e870> def __enter__(self): > self.invalid_param_hndlr = c_enter_suppress_iph() ..\rpython\rlib\rposix.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (), real_args = (), to_free = () def wrapper(*args): assert len(args) == nb_args real_args = () # XXX 'to_free' leaks if an allocation fails with MemoryError # and was not the first in this function to_free = () for i, TARGET in unrolling_arg_tps: arg = args[i] if TARGET == CCHARP or TARGET is VOIDP: if arg is None: from rpython.rtyper.annlowlevel import llstr arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL to_free = to_free + (arg, llstr(None), '\x04') elif isinstance(arg, str): tup = get_nonmovingbuffer_ll_final_null(arg) to_free = to_free + tup arg = tup[0] elif isinstance(arg, unicode): _oops() elif TARGET == CWCHARP: if arg is None: arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL to_free = to_free + (arg,) elif isinstance(arg, unicode): arg = unicode2wcharp(arg) to_free = to_free + (arg,) elif _isfunctype(TARGET) and not _isllptr(arg): # XXX pass additional arguments use_gil = invoke_around_handlers arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg, callbackholder, use_gil)) else: SOURCE = lltype.typeOf(arg) if SOURCE != TARGET: if TARGET is lltype.Float: arg = float(arg) elif ((isinstance(SOURCE, lltype.Number) or SOURCE is lltype.Bool) and (isinstance(TARGET, lltype.Number) or TARGET is lltype.Bool)): arg = cast(TARGET, arg) real_args = real_args + (arg,) > res = call_external_function(*real_args) ..\rpython\rtyper\lltypesystem\rffi.py:321: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def call_external_function(): rgil.release() # NB. it is essential that no exception checking occurs here! if 0: from rpython.rlib import rposix rposix._errno_before(0) if we_are_translated(): res = funcptr() else: try: # only when non-translated > res = funcptr() <92-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py:217>:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <* fn enter_suppress_iph>, args = () rffi = <module 'rpython.rtyper.lltypesystem.rffi' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\rtyper\\lltypesystem\\rffi.pyc'> def __call__(self, *args): from rpython.rtyper.lltypesystem import rffi if isinstance(self._T, FuncType): if len(args) != len(self._T.ARGS): raise TypeError("calling %r with wrong argument number: %r" % (self._T, args)) for i, a, ARG in zip(range(len(self._T.ARGS)), args, self._T.ARGS): if typeOf(a) != ARG: # ARG could be Void if ARG == Void: try: value = getattr(self._obj, '_void' + str(i)) except AttributeError: pass else: assert a == value # None is acceptable for any pointer elif isinstance(ARG, Ptr) and a is None: pass # Any pointer is convertible to void* elif ARG is rffi.VOIDP and isinstance(typeOf(a), Ptr): pass # special case: ARG can be a container type, in which # case a should be a pointer to it. This must also be # special-cased in the backends. elif (isinstance(ARG, ContainerType) and typeOf(a) == Ptr(ARG)): pass else: args_repr = [typeOf(arg) for arg in args] raise TypeError("calling %r with wrong argument " "types: %r" % (self._T, args_repr)) callb = self._obj._callable if callb is None: raise RuntimeError("calling undefined function") > return callb(*args) ..\rpython\rtyper\lltypesystem\lltype.py:1384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.rtyper.lltypesystem.ll2ctypes.LL2CtypesCallable object at 0x000002244efcda28> argvalues = () def __call__(self, *argvalues): with rlock: if self.trampoline is None: # lazily build the corresponding ctypes function object cfunc = get_ctypes_callable(self.funcptr, self.calling_conv, > self.natural_arity) ..\rpython\rtyper\lltypesystem\ll2ctypes.py:1339: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ funcptr = <* fn enter_suppress_iph>, calling_conv = 'c', natural_arity = -1 def get_ctypes_callable(funcptr, calling_conv, natural_arity): if not ctypes: raise ImportError("ctypes is needed to use ll2ctypes") def get_on_lib(lib, elem): """ Wrapper to always use lib[func] instead of lib.func """ try: return lib[elem] except AttributeError: pass old_eci = funcptr._obj.compilation_info funcname = funcptr._obj._name if hasattr(old_eci, '_with_ctypes'): old_eci = old_eci._with_ctypes try: eci = _eci_cache[old_eci] except KeyError: eci = old_eci.compile_shared_lib(ignore_a_files=True, defines=['RPYTHON_LL2CTYPES'], > symbolic=True) ..\rpython\rtyper\lltypesystem\ll2ctypes.py:1236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ExternalCompilationInfo (pre_include_bits=(), includes=('errno.h', 'stdio.h',...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> outputfilename = 'd:\\systemtemp\\pytest\\usession-py3.11-1668\\shared_cache\\externmod_7' ignore_a_files = False, debug_mode = True, defines = ['RPYTHON_LL2CTYPES'] symbolic = True def compile_shared_lib(self, outputfilename=None, ignore_a_files=False, debug_mode=True, defines=[], symbolic=False): self = self.convert_sources_to_files() if ignore_a_files: if not [fn for fn in self.link_files if fn.endswith('.a')]: ignore_a_files = False # there are none if not self.separate_module_files and not ignore_a_files: return self # xxx there was some condition about win32 here else: #basepath = py.path.local(self.separate_module_files[0]).dirpath() basepath = udir.join('shared_cache') if outputfilename is None: # find more or less unique name there pth = basepath.join('externmod').new(ext=host.so_ext) num = 0 while pth.check(): pth = basepath.join( 'externmod_%d' % (num,)).new(ext=host.so_ext) num += 1 basepath.ensure(dir=1) outputfilename = str(pth.dirpath().join(pth.purebasename)) d = self._copy_attributes() if ignore_a_files: d['link_files'] = [fn for fn in d['link_files'] if not fn.endswith('.a')] if debug_mode and sys.platform != 'win32': d['compile_extra'] = d['compile_extra'] + ('-g', '-O0') d['compile_extra'] = d['compile_extra'] + ( '-DRPY_EXTERN=RPY_EXPORTED',) for define in defines: d['compile_extra'] += ('-D%s' % define,) # On ELF platforms (Linux), prevent symbol interposition: when the host # interpreter (e.g. pypy2.7) also exports symbols like pypysig_counter, # the shared lib's own references would otherwise resolve to the host's # copy via the GOT. -Bsymbolic makes the shared lib bind its own global # symbol references to its own definitions. Only needed when running # under a host interpreter (tests), not during translation. if symbolic and sys.platform not in ('win32', 'darwin'): d['link_extra'] = d['link_extra'] + ('-Wl,-Bsymbolic',) self = ExternalCompilationInfo(**d) lib = str(host.compile([], self, outputfilename=outputfilename, > standalone=False)) ..\rpython\translator\tool\cbuild.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, cfiles = [] eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('errno.h', 'stdio.h',...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> outputfilename = 'd:\\systemtemp\\pytest\\usession-py3.11-1668\\shared_cache\\externmod_7' standalone = False def compile(self, cfiles, eci, outputfilename=None, standalone=True): > ofiles = self._compile_o_files(cfiles, eci, standalone) ..\rpython\translator\platform\__init__.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe> cfiles = [local('d:\\systemtemp\\pytest\\usession-py3.11-1668\\module_cache\\module_9.c')] eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('errno.h', 'stdio.h',...estonly_libraries=(), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)> standalone = False def _compile_o_files(self, cfiles, eci, standalone=True): cfiles = self._all_cfiles(cfiles, eci) compile_args = self._compile_args_from_eci(eci, standalone) ofiles = [] for cfile in cfiles: # Windows hack: use masm for files ending in .asm if str(cfile).lower().endswith('.asm'): ofiles.append(self._compile_c_file(self.masm, cfile, [])) else: > ofiles.append(self._compile_c_file(self.cc, cfile, compile_args)) ..\rpython\translator\platform\__init__.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, cc = 'cl.exe' cfile = local('d:\\systemtemp\\pytest\\usession-py3.11-1668\\module_cache\\module_9.c') compile_args = ['/MD', '/O2', '-DRPY_EXTERN=RPY_EXPORTED', '-DRPYTHON_LL2CTYPES', '/Fdd:\\systemtemp\\pytest\\usession-py3.11-1668\\module_cache\\'] def _compile_c_file(self, cc, cfile, compile_args): oname = self._make_o_file(cfile, ext='obj') # notabene: (tismer) # This function may be called for .c but also .asm files. # The c compiler accepts any order of arguments, while # the assembler still has the old behavior that all options # must come first, and after the file name all options are ignored. # So please be careful with the order of parameters! ;-) pdb_dir = oname.dirname if pdb_dir: compile_args = compile_args + ['/Fd%s\\' % (pdb_dir,)] args = ['/nologo', '/c'] + compile_args + ['/Fo%s' % (oname,), str(cfile)] > self._execute_c_compiler(cc, args, oname) ..\rpython\translator\platform\windows.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, cc = 'cl.exe' args = ['/nologo', '/c', '/MD', '/O2', '-DRPY_EXTERN=RPY_EXPORTED', '-DRPYTHON_LL2CTYPES', ...] outname = local('d:\\systemtemp\\pytest\\usession-py3.11-1668\\module_cache\\module_9.obj') cwd = None def _execute_c_compiler(self, cc, args, outname, cwd=None): #log.execute(cc + ' ' + ' '.join(args)) # 'cc' can also contain some options for the C compiler; # e.g. it can be "gcc -m32". We handle it by splitting on ' '. cclist = cc.split() cc = cclist[0] args = cclist[1:] + args returncode, stdout, stderr = _run_subprocess(cc, args, self.c_environ, cwd) > self._handle_error(returncode, stdout, stderr, outname) ..\rpython\translator\platform\__init__.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <MsvcPlatform cc=cl.exe>, returncode = 3221225477, stdout = '' stderr = '' outname = local('d:\\systemtemp\\pytest\\usession-py3.11-1668\\module_cache\\module_9.obj') def _handle_error(self, returncode, stdout, stderr, outname): if returncode != 0: # Microsoft compilers write compilation errors to stdout stderr = stdout + stderr errorfile = outname.new(ext='errors') errorfile.write(stderr, mode='wb') if self.log_errors: stderrlines = stderr.splitlines() for line in stderrlines: log.Error(line) # ^^^ don't use ERROR, because it might actually be fine. # Also, ERROR confuses lib-python/conftest.py. > raise CompilationError(stdout, stderr) E CompilationError: CompilationError(out=""" E """) ..\rpython\translator\platform\windows.py:319: CompilationError _______________ test_scanner_dropped_releases_bytearray_export ________________ def test_scanner_dropped_releases_bytearray_export(): # Bug 1: W_SRE_Scanner defines _finalize_ but never calls # register_finalizer. Dropping a mid-iteration scanner therefore leaks # _exports and leaves the bytearray permanently locked. import re, gc b = bytearray(b'aaa') > it = re.finditer(b'a', b) E (application-level) AttributeError: partially initialized module 're' has no attribute 'finditer' (most likely due to a circular import) module\_sre\test\apptest_sre.py:33: AttributeError ______________________________ test_pattern_copy ______________________________ def test_pattern_copy(): import re > p = re.compile("b") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:75: AttributeError __________________________ test_creation_attributes ___________________________ def test_creation_attributes(): import re pattern_string = b"(b)l(?P<g>a)" > p = re.compile(pattern_string, re.I | re.M) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:83: AttributeError _________________________ test_repeat_minmax_overflow _________________________ def test_repeat_minmax_overflow(): import re, sre_constants string = "x" * 100000 > assert re.match(r".{%d}" % (sre_constants.MAXREPEAT - 1), string) is None E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:95: AttributeError _______________________________ test_match_none _______________________________ def test_match_none(): import re > p = re.compile("bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:105: AttributeError _______________________________ test_pos_endpos _______________________________ def test_pos_endpos(): import re > p = re.compile("bl(a)") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:113: AttributeError ________________________________ test_findall _________________________________ def test_findall(): import re > assert ["b"] == re.findall("b", "bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'findall' (most likely due to a circular import) module\_sre\test\apptest_sre.py:124: AttributeError ____________________________ test_findall_unicode _____________________________ def test_findall_unicode(): import re > assert [u"\u1234"] == re.findall(u"\u1234", u"\u1000\u1234\u2000") E (application-level) AttributeError: partially initialized module 're' has no attribute 'findall' (most likely due to a circular import) module\_sre\test\apptest_sre.py:133: AttributeError ________________________________ test_finditer ________________________________ def test_finditer(): import re > it = re.finditer("b(.)", "brabbel") E (application-level) AttributeError: partially initialized module 're' has no attribute 'finditer' (most likely due to a circular import) module\_sre\test\apptest_sre.py:143: AttributeError _________________________________ test_split __________________________________ def test_split(): import re > assert ["a", "o", "u", ""] == re.split("b", "abobub") E (application-level) AttributeError: partially initialized module 're' has no attribute 'split' (most likely due to a circular import) module\_sre\test\apptest_sre.py:151: AttributeError ________________________________ test_weakref _________________________________ def test_weakref(): import re, _weakref > _weakref.ref(re.compile(r"")) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:162: AttributeError ______________________________ test_match_compat ______________________________ def test_match_compat(): import re > res = re.match(r'(a)|(b)', 'b').start(1) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:167: AttributeError _______________________________ test_fullmatch ________________________________ def test_fullmatch(): import re > assert re.compile(r"ab*c").fullmatch("abbcdef") is None E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:178: AttributeError ______________________________ test_pattern_repr ______________________________ def test_pattern_repr(): import re > r = re.compile(r'f(o"\d)', 0) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:186: AttributeError ____________________________ test_pattern_compare _____________________________ def test_pattern_compare(): import re > pattern1 = re.compile('abc', re.IGNORECASE) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:196: AttributeError ___________________________ test_scanner_attributes ___________________________ def test_scanner_attributes(): import re > p = re.compile("bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:223: AttributeError _____________________________ test_scanner_match ______________________________ def test_scanner_match(): import re > p = re.compile(".").scanner("bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:230: AttributeError __________________________ test_scanner_match_detail __________________________ def test_scanner_match_detail(): import re > p = re.compile("a").scanner("aaXaa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:238: AttributeError _____________________________ test_scanner_search _____________________________ def test_scanner_search(): import re > p = re.compile(r"\d").scanner("bla23c5a") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:248: AttributeError ________________________ test_scanner_zero_width_match ________________________ def test_scanner_zero_width_match(): import re > p = re.compile(".*").scanner("bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:256: AttributeError __________________________ test_scanner_empty_match ___________________________ def test_scanner_empty_match(): import re > p = re.compile("a??").scanner("bac") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:263: AttributeError __________________________ test_scanner_match_string __________________________ def test_scanner_match_string(): import re class mystr(type(u"")): pass s = mystr(u"bla") > p = re.compile(u".").scanner(s) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:282: AttributeError _________________________ test_search_simple_literal __________________________ def test_search_simple_literal(): import re > assert re.search("bla", "bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:293: AttributeError ___________________________ test_search_simple_ats ____________________________ def test_search_simple_ats(): import re > assert re.search("^bla", "bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:300: AttributeError ________________________ test_search_simple_boundaries ________________________ def test_search_simple_boundaries(): import re UPPER_PI = "\u03a0" > assert re.search(r"bla\b", "bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:311: AttributeError ________________________ test_search_simple_categories ________________________ def test_search_simple_categories(): import re LOWER_PI = "\u03c0" INDIAN_DIGIT = "\u0966" EM_SPACE = "\u2001" LOWER_AE = "\xe4" > assert re.search(r"bla\d\s\w", "bla3 b") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:324: AttributeError ___________________________ test_search_simple_any ____________________________ def test_search_simple_any(): import re > assert re.search(r"b..a", "jboaas") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:336: AttributeError ____________________________ test_search_simple_in ____________________________ def test_search_simple_in(): import re UPPER_PI = "\u03a0" LOWER_PI = "\u03c0" EM_SPACE = "\u2001" LINE_SEP = "\u2028" > assert re.search(r"b[\da-z]a", "bb1a") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:347: AttributeError ______________________ test_search_simple_literal_ignore ______________________ def test_search_simple_literal_ignore(): import re UPPER_PI = "\u03a0" LOWER_PI = "\u03c0" > assert re.search(r"ba", "ba", re.IGNORECASE) E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:364: AttributeError ________________________ test_search_simple_in_ignore _________________________ def test_search_simple_in_ignore(): import re UPPER_PI = "\u03a0" LOWER_PI = "\u03c0" > assert re.search(r"ba[A-C]", "bac", re.IGNORECASE) E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:374: AttributeError __________________________ test_search_simple_branch __________________________ def test_search_simple_branch(): import re > assert re.search(r"a(bb|d[ef])b", "adeb") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:385: AttributeError ________________________ test_search_simple_repeat_one ________________________ def test_search_simple_repeat_one(): import re > assert re.search(r"aa+", "aa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:391: AttributeError ______________________ test_search_simple_min_repeat_one ______________________ def test_search_simple_min_repeat_one(): import re > assert re.search(r"aa+?", "aa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:405: AttributeError ____________________ test_search_simple_repeat_maximizing _____________________ def test_search_simple_repeat_maximizing(): import re > assert not re.search(r"(ab){3,5}", "abab") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:419: AttributeError ____________________ test_search_simple_repeat_minimizing _____________________ def test_search_simple_repeat_minimizing(): import re > assert not re.search(r"(ab){3,5}?", "abab") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:435: AttributeError _____________________ test_search_simple_groupref_exists ______________________ def test_search_simple_groupref_exists(): import re > assert re.search(r"(<)?bla(?(1)>)", "<bla>") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:445: AttributeError __________________________ test_search_simple_assert __________________________ def test_search_simple_assert(): import re > assert re.search(r"b(?=\d\d).{3,}", "b23a") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:453: AttributeError ________________________ test_search_simple_assert_not ________________________ def test_search_simple_assert_not(): import re > assert re.search(r"b(?<!\d.)a", "aba") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:461: AttributeError ___________________________ test_mark_stack_branch ____________________________ def test_mark_stack_branch(): import re > m = re.match("b(.)a|b.b", "bob") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:472: AttributeError _________________________ test_mark_stack_repeat_one __________________________ def test_mark_stack_repeat_one(): import re > m = re.match(r"\d+1((2)|(3))4", "2212413") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:479: AttributeError _______________________ test_mark_stack_min_repeat_one ________________________ def test_mark_stack_min_repeat_one(): import re > m = re.match(r"\d+?1((2)|(3))44", "221341244") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:486: AttributeError __________________________ test_mark_stack_max_until __________________________ def test_mark_stack_max_until(): import re > m = re.match(r"(\d)+1((2)|(3))4", "2212413") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:493: AttributeError __________________________ test_mark_stack_min_until __________________________ def test_mark_stack_min_until(): import re > m = re.match(r"(\d)+?1((2)|(3))44", "221341244") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:500: AttributeError _______________________________ test_bug_725149 _______________________________ def test_bug_725149(): import re > assert re.match('(a)(?:(?=(b)*)c)*', 'abb').groups() == ('a', None) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:507: AttributeError _______________________ test_match_length_optimization ________________________ def test_match_length_optimization(): import re > assert None == re.match("bla", "blub") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:517: AttributeError ______________________________ test_fast_search _______________________________ def test_fast_search(): import re > assert None == re.search("bl", "abaub") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:522: AttributeError ________________________ test_branch_literal_shortcut _________________________ def test_branch_literal_shortcut(): import re > assert None == re.search("bl|a|c", "hello") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:530: AttributeError _____________________________ test_literal_search _____________________________ def test_literal_search(): import re > assert re.search(r"b(\d)", "ababbbab1") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:535: AttributeError ________________________ test_repeat_one_literal_tail _________________________ def test_repeat_one_literal_tail(): import re > assert re.search(".+ab", "wowowowawoabwowo") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:541: AttributeError ______________________________ test_split_empty _______________________________ def test_split_empty(): import re > assert re.split('', '') == ['', ''] E (application-level) AttributeError: partially initialized module 're' has no attribute 'split' (most likely due to a circular import) module\_sre\test\apptest_sre.py:547: AttributeError _______________________________ test_type_names _______________________________ def test_type_names(): import re > assert repr(re.Pattern) == "<class 're.Pattern'>" E (application-level) AttributeError: partially initialized module 're' has no attribute 'Pattern' (most likely due to a circular import) module\_sre\test\apptest_sre.py:557: AttributeError ____________________________ test_string_attribute ____________________________ def test_string_attribute(): import re > match = re.search(u"\u1234", u"\u1233\u1234\u1235") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:567: AttributeError __________________ test_string_attribute_is_original_string ___________________ def test_string_attribute_is_original_string(): import re class mystr(type(u"")): pass s = mystr(u"\u1233\u1234\u1235") > match = re.search(u"\u1234", s) E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:578: AttributeError ______________________________ test_match_start _______________________________ def test_match_start(): import re > match = re.search(u"\u1234", u"\u1233\u1234\u1235") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:584: AttributeError ____________________________ test_match_repr_span _____________________________ def test_match_repr_span(): import re > match = re.match(u"\u1234", u"\u1234") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:590: AttributeError _________________________ test_match_repr_truncation __________________________ def test_match_repr_truncation(): import re s = "xy" + u"\u1234" * 50 > match = re.match(s, s) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) module\_sre\test\apptest_sre.py:598: AttributeError ________________________ test_pattern_repr_truncation _________________________ def test_pattern_repr_truncation(): import re s = "xy" + u"\u1234" * 200 > pattern = re.compile(s) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) module\_sre\test\apptest_sre.py:605: AttributeError ______________________ test_subx_unusual_types_no_match _______________________ def test_subx_unusual_types_no_match(): import re > result = re.sub(b"x", lambda x: 1/0, memoryview(b"yz")) E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) module\_sre\test\apptest_sre.py:611: AttributeError _______________________________ test_bug_40736 ________________________________ def test_bug_40736(): import re > with pytest.raises(TypeError) as exc_info: re.search("x*", 5) E (application-level) AssertionError: raises() expected <class 'TypeError'>, but got <class 'AttributeError'> module\_sre\test\apptest_sre.py:626: AssertionError _________________________ test_search_releases_buffer _________________________ def test_search_releases_buffer(): import re s = bytearray(b'abcdefgh') > m = re.search(b'[a-h]+', s) E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) module\_sre\test\apptest_sre.py:637: AttributeError __________________________ AppTestSreMatch.test_copy __________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_copy(self): import re # new in 3.7 > m = re.match("bla", "bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:27]:4: AttributeError ____________________ AppTestSreMatch.test_match_attributes ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_match_attributes(self): import re > c = re.compile("bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:34]:3: AttributeError ______________ AppTestSreMatch.test_match_attributes_with_groups ______________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_match_attributes_with_groups(self): import re > m = re.search("a(b)(?P<name>c)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:46]:3: AttributeError ________________ AppTestSreMatch.test_regs_overlapping_groups _________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_regs_overlapping_groups(self): import re > m = re.match("a((b)c)", "abc") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:55]:3: AttributeError _____________________ AppTestSreMatch.test_start_end_span _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_start_end_span(self): import re > m = re.search("a((b)c)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:60]:3: AttributeError _________________________ AppTestSreMatch.test_groups _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_groups(self): import re > m = re.search("a((.).)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:74]:3: AttributeError _______________________ AppTestSreMatch.test_groupdict ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_groupdict(self): import re > m = re.search("a((.).)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:87]:3: AttributeError _________________________ AppTestSreMatch.test_group __________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_group(self): import re > m = re.search("a((?P<first>\d)|(?P<second>\s))", "aa1b") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:97]:3: AttributeError ____________________ AppTestSreMatch.test_group_takes_long ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_group_takes_long(self): import re import sys if sys.version_info < (2, 7, 9): skip() > assert re.match("(foo)", "foo").group(1) == "foo" E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:108]:6: AttributeError ___________________ AppTestSreMatch.test_group_takes_index ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_group_takes_index(self): import re class Index: def __init__(self, value): self.value = value def __index__(self): return self.value > assert re.match("(foo)", "foo").group(Index(1)) == "foo" E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:117]:8: AttributeError ________________________ AppTestSreMatch.test_getitem _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_getitem(self): import re > assert re.match("(foo)bar", "foobar")[1] == "foo" E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:126]:3: AttributeError _________________________ AppTestSreMatch.test_expand _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_expand(self): import re > m = re.search("a(..)(?P<name>..)", "ab1bc") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:130]:3: AttributeError _______________________ AppTestSreMatch.test_sub_bytes ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_bytes(self): import re > assert b"bbbbb" == re.sub(b"a", b"b", b"ababa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:135]:3: AttributeError ______________________ AppTestSreMatch.test_sub_unicode _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_unicode(self): import re > assert isinstance(re.sub("a", "b", ""), str) E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:145]:3: AttributeError ______________________ AppTestSreMatch.test_sub_callable ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_callable(self): import re def call_me(match): ret = "" for char in match.group(): ret += chr(ord(char) + 1) return ret > assert ("bbbbb", 3) == re.subn("a", call_me, "ababa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'subn' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:155]:8: AttributeError _______________ AppTestSreMatch.test_sub_callable_returns_none ________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_callable_returns_none(self): import re def call_me(match): return None > assert "acd" == re.sub("b", call_me, "abcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:164]:5: AttributeError __________________ AppTestSreMatch.test_sub_subclass_of_str ___________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_subclass_of_str(self): import re class MyString(str): pass class MyBytes(bytes): pass s1 = MyString('zz') > s2 = re.sub('aa', 'bb', s1) E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:170]:8: AttributeError ________________________ AppTestSreMatch.test_sub_bug _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_bug(self): import re > assert re.sub('=\w{2}', 'x', '=CA') == 'x' E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:185]:3: AttributeError _____________________ AppTestSreMatch.test_sub_emptymatch _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_emptymatch(self): import re > assert re.sub(r"b*", "*", "abc") == "*a**c*" E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:189]:3: AttributeError _________________ AppTestSreMatch.test_sub_shortcut_no_match __________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_shortcut_no_match(self): import re s = b"ccccccc" > assert re.sub(b"a", b"b", s) is s E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:193]:4: AttributeError _____________________ AppTestSreMatch.test_sub_bytearray ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_bytearray(self): import re > assert re.sub(b'a', bytearray(b'A'), b'axa') == b'AxA' E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:200]:3: AttributeError ______________________ AppTestSreMatch.test_match_array _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_match_array(self): import re, array a = array.array('b', b'hello') > m = re.match(b'hel+', a) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:206]:4: AttributeError ____________________ AppTestSreMatch.test_match_typeerror _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_match_typeerror(self): import re > raises(TypeError, re.match, 'hel+', list('hello')) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:212]:3: AttributeError _______________________ AppTestSreMatch.test_match_repr _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_match_repr(self): import re > m = re.search("ab+c", "xabbbcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:216]:3: AttributeError _______________________ AppTestSreMatch.test_group_bugs _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_group_bugs(self): import re > r = re.compile(r""" \&(?: (?P<escaped>\&) | (?P<named>[_a-z][_a-z0-9]*) | {(?P<braced>[_a-z][_a-z0-9]*)} | (?P<invalid>) ) """, re.IGNORECASE | re.VERBOSE) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:226]:3: AttributeError _____________________ AppTestSreMatch.test_sub_typecheck ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_typecheck(self): import re > KEYCRE = re.compile(r"%\(([^)]*)\)s|.") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:261]:3: AttributeError _________________ AppTestSreMatch.test_sub_matches_stay_valid _________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000224551e6d08> def test_sub_matches_stay_valid(self): import re matches = [] def callback(match): matches.append(match) return "x" > result = re.compile(r"[ab]").sub(callback, "acb") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:266]:7: AttributeError ________________________ AppTestSreMatchBuf.test_copy _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_copy(self): import re # new in 3.7 > m = re.match("bla", "bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:27]:4: AttributeError __________________ AppTestSreMatchBuf.test_match_attributes ___________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_match_attributes(self): import re > c = re.compile("bla") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:34]:3: AttributeError ____________ AppTestSreMatchBuf.test_match_attributes_with_groups _____________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_match_attributes_with_groups(self): import re > m = re.search("a(b)(?P<name>c)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:46]:3: AttributeError _______________ AppTestSreMatchBuf.test_regs_overlapping_groups _______________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_regs_overlapping_groups(self): import re > m = re.match("a((b)c)", "abc") E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:55]:3: AttributeError ___________________ AppTestSreMatchBuf.test_start_end_span ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_start_end_span(self): import re > m = re.search("a((b)c)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:60]:3: AttributeError _______________________ AppTestSreMatchBuf.test_groups ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_groups(self): import re > m = re.search("a((.).)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:74]:3: AttributeError ______________________ AppTestSreMatchBuf.test_groupdict ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_groupdict(self): import re > m = re.search("a((.).)", "aabcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:87]:3: AttributeError ________________________ AppTestSreMatchBuf.test_group ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_group(self): import re > m = re.search("a((?P<first>\d)|(?P<second>\s))", "aa1b") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:97]:3: AttributeError __________________ AppTestSreMatchBuf.test_group_takes_long ___________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_group_takes_long(self): import re import sys if sys.version_info < (2, 7, 9): skip() > assert re.match("(foo)", "foo").group(1) == "foo" E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:108]:6: AttributeError __________________ AppTestSreMatchBuf.test_group_takes_index __________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_group_takes_index(self): import re class Index: def __init__(self, value): self.value = value def __index__(self): return self.value > assert re.match("(foo)", "foo").group(Index(1)) == "foo" E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:117]:8: AttributeError _______________________ AppTestSreMatchBuf.test_getitem _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_getitem(self): import re > assert re.match("(foo)bar", "foobar")[1] == "foo" E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:126]:3: AttributeError _______________________ AppTestSreMatchBuf.test_expand ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_expand(self): import re > m = re.search("a(..)(?P<name>..)", "ab1bc") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:130]:3: AttributeError ______________________ AppTestSreMatchBuf.test_sub_bytes ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_bytes(self): import re > assert b"bbbbb" == re.sub(b"a", b"b", b"ababa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:135]:3: AttributeError _____________________ AppTestSreMatchBuf.test_sub_unicode _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_unicode(self): import re > assert isinstance(re.sub("a", "b", ""), str) E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:145]:3: AttributeError ____________________ AppTestSreMatchBuf.test_sub_callable _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_callable(self): import re def call_me(match): ret = "" for char in match.group(): ret += chr(ord(char) + 1) return ret > assert ("bbbbb", 3) == re.subn("a", call_me, "ababa") E (application-level) AttributeError: partially initialized module 're' has no attribute 'subn' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:155]:8: AttributeError ______________ AppTestSreMatchBuf.test_sub_callable_returns_none ______________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_callable_returns_none(self): import re def call_me(match): return None > assert "acd" == re.sub("b", call_me, "abcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:164]:5: AttributeError _________________ AppTestSreMatchBuf.test_sub_subclass_of_str _________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_subclass_of_str(self): import re class MyString(str): pass class MyBytes(bytes): pass s1 = MyString('zz') > s2 = re.sub('aa', 'bb', s1) E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:170]:8: AttributeError _______________________ AppTestSreMatchBuf.test_sub_bug _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_bug(self): import re > assert re.sub('=\w{2}', 'x', '=CA') == 'x' E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:185]:3: AttributeError ___________________ AppTestSreMatchBuf.test_sub_emptymatch ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_emptymatch(self): import re > assert re.sub(r"b*", "*", "abc") == "*a**c*" E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:189]:3: AttributeError ________________ AppTestSreMatchBuf.test_sub_shortcut_no_match ________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_shortcut_no_match(self): import re s = b"ccccccc" > assert re.sub(b"a", b"b", s) is s E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:193]:4: AttributeError ____________________ AppTestSreMatchBuf.test_sub_bytearray ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_bytearray(self): import re > assert re.sub(b'a', bytearray(b'A'), b'axa') == b'AxA' E (application-level) AttributeError: partially initialized module 're' has no attribute 'sub' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:200]:3: AttributeError _____________________ AppTestSreMatchBuf.test_match_array _____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_match_array(self): import re, array a = array.array('b', b'hello') > m = re.match(b'hel+', a) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:206]:4: AttributeError ___________________ AppTestSreMatchBuf.test_match_typeerror ___________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_match_typeerror(self): import re > raises(TypeError, re.match, 'hel+', list('hello')) E (application-level) AttributeError: partially initialized module 're' has no attribute 'match' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:212]:3: AttributeError _____________________ AppTestSreMatchBuf.test_match_repr ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_match_repr(self): import re > m = re.search("ab+c", "xabbbcd") E (application-level) AttributeError: partially initialized module 're' has no attribute 'search' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:216]:3: AttributeError _____________________ AppTestSreMatchBuf.test_group_bugs ______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_group_bugs(self): import re > r = re.compile(r""" \&(?: (?P<escaped>\&) | (?P<named>[_a-z][_a-z0-9]*) | {(?P<braced>[_a-z][_a-z0-9]*)} | (?P<invalid>) ) """, re.IGNORECASE | re.VERBOSE) E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:226]:3: AttributeError ____________________ AppTestSreMatchBuf.test_sub_typecheck ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_typecheck(self): import re > KEYCRE = re.compile(r"%\(([^)]*)\)s|.") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:261]:3: AttributeError _______________ AppTestSreMatchBuf.test_sub_matches_stay_valid ________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000002245cefa020> def test_sub_matches_stay_valid(self): import re matches = [] def callback(match): matches.append(match) return "x" > result = re.compile(r"[ab]").sub(callback, "acb") E (application-level) AttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import) [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_sre\test\test_app_sre.py:266]:7: AttributeError =========================== short test summary info =========================== FAIL module\_sre\test\apptest_sre.py::test_finditer_holds_bytearray_export FAIL module\_sre\test\apptest_sre.py::test_scanner_dropped_releases_bytearray_export FAIL module\_sre\test\apptest_sre.py::test_pattern_copy FAIL module\_sre\test\apptest_sre.py::test_creation_attributes FAIL module\_sre\test\apptest_sre.py::test_repeat_minmax_overflow FAIL module\_sre\test\apptest_sre.py::test_match_none FAIL module\_sre\test\apptest_sre.py::test_pos_endpos FAIL module\_sre\test\apptest_sre.py::test_findall FAIL module\_sre\test\apptest_sre.py::test_findall_unicode FAIL module\_sre\test\apptest_sre.py::test_finditer FAIL module\_sre\test\apptest_sre.py::test_split FAIL module\_sre\test\apptest_sre.py::test_weakref FAIL module\_sre\test\apptest_sre.py::test_match_compat FAIL module\_sre\test\apptest_sre.py::test_fullmatch FAIL module\_sre\test\apptest_sre.py::test_pattern_repr FAIL module\_sre\test\apptest_sre.py::test_pattern_compare FAIL module\_sre\test\apptest_sre.py::test_scanner_attributes FAIL module\_sre\test\apptest_sre.py::test_scanner_match FAIL module\_sre\test\apptest_sre.py::test_scanner_match_detail FAIL module\_sre\test\apptest_sre.py::test_scanner_search FAIL module\_sre\test\apptest_sre.py::test_scanner_zero_width_match FAIL module\_sre\test\apptest_sre.py::test_scanner_empty_match FAIL module\_sre\test\apptest_sre.py::test_scanner_match_string FAIL module\_sre\test\apptest_sre.py::test_search_simple_literal FAIL module\_sre\test\apptest_sre.py::test_search_simple_ats FAIL module\_sre\test\apptest_sre.py::test_search_simple_boundaries FAIL module\_sre\test\apptest_sre.py::test_search_simple_categories FAIL module\_sre\test\apptest_sre.py::test_search_simple_any FAIL module\_sre\test\apptest_sre.py::test_search_simple_in FAIL module\_sre\test\apptest_sre.py::test_search_simple_literal_ignore FAIL module\_sre\test\apptest_sre.py::test_search_simple_in_ignore FAIL module\_sre\test\apptest_sre.py::test_search_simple_branch FAIL module\_sre\test\apptest_sre.py::test_search_simple_repeat_one FAIL module\_sre\test\apptest_sre.py::test_search_simple_min_repeat_one FAIL module\_sre\test\apptest_sre.py::test_search_simple_repeat_maximizing FAIL module\_sre\test\apptest_sre.py::test_search_simple_repeat_minimizing FAIL module\_sre\test\apptest_sre.py::test_search_simple_groupref_exists FAIL module\_sre\test\apptest_sre.py::test_search_simple_assert FAIL module\_sre\test\apptest_sre.py::test_search_simple_assert_not FAIL module\_sre\test\apptest_sre.py::test_mark_stack_branch FAIL module\_sre\test\apptest_sre.py::test_mark_stack_repeat_one FAIL module\_sre\test\apptest_sre.py::test_mark_stack_min_repeat_one FAIL module\_sre\test\apptest_sre.py::test_mark_stack_max_until FAIL module\_sre\test\apptest_sre.py::test_mark_stack_min_until FAIL module\_sre\test\apptest_sre.py::test_bug_725149 FAIL module\_sre\test\apptest_sre.py::test_match_length_optimization FAIL module\_sre\test\apptest_sre.py::test_fast_search FAIL module\_sre\test\apptest_sre.py::test_branch_literal_shortcut FAIL module\_sre\test\apptest_sre.py::test_literal_search FAIL module\_sre\test\apptest_sre.py::test_repeat_one_literal_tail FAIL module\_sre\test\apptest_sre.py::test_split_empty FAIL module\_sre\test\apptest_sre.py::test_type_names FAIL module\_sre\test\apptest_sre.py::test_string_attribute FAIL module\_sre\test\apptest_sre.py::test_string_attribute_is_original_string FAIL module\_sre\test\apptest_sre.py::test_match_start FAIL module\_sre\test\apptest_sre.py::test_match_repr_span FAIL module\_sre\test\apptest_sre.py::test_match_repr_truncation FAIL module\_sre\test\apptest_sre.py::test_pattern_repr_truncation FAIL module\_sre\test\apptest_sre.py::test_subx_unusual_types_no_match FAIL module\_sre\test\apptest_sre.py::test_bug_40736 FAIL module\_sre\test\apptest_sre.py::test_search_releases_buffer FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_copy FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_match_attributes FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_match_attributes_with_groups FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_regs_overlapping_groups FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_start_end_span FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_groups FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_groupdict FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_group FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_group_takes_long FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_group_takes_index FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_getitem FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_expand FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_bytes FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_unicode FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_callable FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_callable_returns_none FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_subclass_of_str FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_bug FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_emptymatch FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_shortcut_no_match FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_bytearray FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_match_array FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_match_typeerror FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_match_repr FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_group_bugs FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_typecheck FAIL module\_sre\test\test_app_sre.py::AppTestSreMatch::()::test_sub_matches_stay_valid FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_copy FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_match_attributes FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_match_attributes_with_groups FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_regs_overlapping_groups FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_start_end_span FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_groups FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_groupdict FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_group FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_group_takes_long FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_group_takes_index FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_getitem FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_expand FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_bytes FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_unicode FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_callable FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_callable_returns_none FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_subclass_of_str FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_bug FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_emptymatch FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_shortcut_no_match FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_bytearray FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_match_array FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_match_typeerror FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_match_repr FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_group_bugs FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_typecheck FAIL module\_sre\test\test_sre_buf.py::AppTestSreMatchBuf::()::test_sub_matches_stay_valid =================== 115 failed, 45 passed in 387.69 seconds =================== ++ 04:47:58 starting module/_winreg/test [39 started in total] __ module/_warnings/test [36 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 17 items module\_warnings\test\apptest_warnings.py ........s.s..... module\_warnings\test\test_warnings.py . =================== 15 passed, 2 skipped in 282.98 seconds ==================== ++ 04:50:38 starting module/array/test [40 started in total] __ module/_winreg/test [37 done in total, somefailed=True] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items module\_winreg\test\test_winreg.py ..F...........s..ss... ================================== FAILURES =================================== ________________________ AppTestFfi.test_simple_write _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000181564c7600> def test_simple_write(self): from winreg import SetValue, QueryValue, REG_SZ value = u"Some Default value" SetValue(self.root_key, self.test_key_name, REG_SZ, value) > assert QueryValue(self.root_key, self.test_key_name) == value E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_winreg\test\test_winreg.py:76]:5: AssertionError =========================== short test summary info =========================== FAIL module\_winreg\test\test_winreg.py::AppTestFfi::()::test_simple_write ============== 1 failed, 18 passed, 3 skipped in 194.30 seconds =============== ++ 04:51:18 starting module/atexit/test [41 started in total] __ module/_weakref/test [38 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 43 items module\_weakref\test\apptest_weakref.py ........................................... ========================= 43 passed in 286.47 seconds ========================= ++ 04:51:43 starting module/binascii/test [42 started in total] __ module/_cffi_backend/test [39 done in total, somefailed=False] _____________ [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 468 items module\_cffi_backend\test\test_c.py s.....................s........................................................ssss.s....................................................s.....s...................sss...........................s...s........................s...... module\_cffi_backend\test\test_fastpath.py .................. module\_cffi_backend\test\test_ffi_obj.py ............................................... module\_cffi_backend\test\test_file.py s.. module\_cffi_backend\test\test_parse_c_type.py ..............s... module\_cffi_backend\test\test_re_python.py .................s.. module\_cffi_backend\test\test_recompiler.py .............................s...........................................................s..s............ssss..s.s.ss....... module\_cffi_backend\test\test_unicode_literals.py ....... module\_cffi_backend\test\test_wchar_helper.py . module\_cffi_backend\test\test_ztranslation.py s ================== 438 passed, 30 skipped in 3124.90 seconds ================== ++ 04:54:12 starting module/bz2/test [43 started in total] __ module/atexit/test [40 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 2 items module\atexit\test\apptest_atexit.py .. ========================= 2 passed in 182.91 seconds ========================== ++ 04:54:32 starting module/cmath/test [44 started in total] __ module/binascii/test [41 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module\binascii\test\test_binascii.py .................. ========================= 18 passed in 236.93 seconds ========================= ++ 04:55:47 starting module/cpyext/test/test_api.py [45 started in total] __ module/array/test [42 done in total, somefailed=True] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 64 items module\array\test\apptest_array.py ... module\array\test\test_array.py .....................s..................s................F.. module\array\test\test_ztranslation.py . ================================== FAILURES =================================== ___________________ AppTestArrayReconstructor.test_unicode ____________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001edcabc1830> def test_unicode(self): import array array_reconstructor = array._array_reconstructor UTF16_LE = 18 UTF16_BE = 19 UTF32_LE = 20 UTF32_BE = 21 teststr = "Bonne Journ\xe9e \U0002030a\U00020347" testcases = ( (UTF16_LE, "UTF-16-LE"), (UTF16_BE, "UTF-16-BE"), (UTF32_LE, "UTF-32-LE"), (UTF32_BE, "UTF-32-BE") ) for testcase in testcases: mformat_code, encoding = testcase a = array.array('u', teststr) b = array_reconstructor( array.array, 'u', mformat_code, teststr.encode(encoding)) > assert a == b E (application-level) AssertionError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\array\test\test_array.py:1272]:20: AssertionError =========================== short test summary info =========================== FAIL module\array\test\test_array.py::AppTestArrayReconstructor::()::test_unicode ============== 1 failed, 61 passed, 2 skipped in 350.42 seconds =============== ++ 04:56:31 starting module/cpyext/test/test_arraymodule.py [46 started in total] __ module/cmath/test [43 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module\cmath\test\test_cmath.py .................. ========================= 18 passed in 186.83 seconds ========================= ++ 04:57:45 starting module/cpyext/test/test_async_iter.py [47 started in total] __ module/bz2/test [44 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items / 3 skipped module\bz2\test\test_large.py s ========================= 4 skipped in 248.92 seconds ========================= ++ 04:58:23 starting module/cpyext/test/test_boolobject.py [48 started in total] __ module/cpyext/test/test_api.py [45 done in total, somefailed=False] ________ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module\cpyext\test\test_api.py .... ========================= 4 passed in 180.67 seconds ========================== ++ 05:01:46 starting module/cpyext/test/test_borrow.py [49 started in total] __ module/cpyext/test/test_async_iter.py [46 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_async_iter.py sss ========================= 3 skipped in 208.37 seconds ========================= ++ 05:03:30 starting module/cpyext/test/test_buffer.py [50 started in total] __ module/cpyext/test/test_arraymodule.py [47 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items module\cpyext\test\test_arraymodule.py ..........x....... =================== 17 passed, 1 xfailed in 472.27 seconds ==================== ++ 05:06:41 starting module/cpyext/test/test_bytearrayobject.py [51 started in total] __ module/cpyext/test/test_boolobject.py [48 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module\cpyext\test\test_boolobject.py .... ========================= 4 passed in 508.42 seconds ========================== ++ 05:08:45 starting module/cpyext/test/test_bytesobject.py [52 started in total] __ module/cpyext/test/test_borrow.py [49 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_borrow.py ... ========================= 3 passed in 504.20 seconds ========================== ++ 05:12:53 starting module/cpyext/test/test_capsule.py [53 started in total] __ module/cpyext/test/test_buffer.py [50 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_buffer.py ..... ========================= 5 passed in 520.40 seconds ========================== ++ 05:16:19 starting module/cpyext/test/test_cell.py [54 started in total] __ module/cpyext/test/test_bytearrayobject.py [51 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_bytearrayobject.py ...... ========================= 6 passed in 534.40 seconds ========================== ++ 05:18:17 starting module/cpyext/test/test_classobject.py [55 started in total] __ module/cpyext/test/test_bytesobject.py [52 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module\cpyext\test\test_bytesobject.py .................... ========================= 20 passed in 587.52 seconds ========================= ++ 05:21:26 starting module/cpyext/test/test_codecs.py [56 started in total] __ module/cpyext/test/test_capsule.py [53 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_capsule.py ... ========================= 3 passed in 526.65 seconds ========================== ++ 05:25:13 starting module/cpyext/test/test_complexobject.py [57 started in total] __ module/cpyext/test/test_cell.py [54 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_cell.py . ========================= 1 passed in 515.04 seconds ========================== ++ 05:27:24 starting module/cpyext/test/test_contextvars.py [58 started in total] __ module/cpyext/test/test_classobject.py [55 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module\cpyext\test\test_classobject.py .. ========================= 2 passed in 479.40 seconds ========================== ++ 05:29:35 starting module/cpyext/test/test_cpyext.py [59 started in total] __ module/cpyext/test/test_codecs.py [56 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_codecs.py ... ========================= 3 passed in 504.48 seconds ========================== ++ 05:32:55 starting module/cpyext/test/test_datetime.py [60 started in total] __ module/cpyext/test/test_complexobject.py [57 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_complexobject.py ...... ========================= 6 passed in 797.76 seconds ========================== ++ 05:40:43 starting module/cpyext/test/test_dictobject.py [61 started in total] __ module/cpyext/test/test_contextvars.py [58 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_contextvars.py . ========================= 1 passed in 841.58 seconds ========================== ++ 05:44:32 starting module/cpyext/test/test_eval.py [62 started in total] __ module/cpyext/test/test_cpyext.py [59 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items module\cpyext\test\test_cpyext.py ...........s.............. =================== 25 passed, 1 skipped in 1071.78 seconds =================== ++ 05:51:22 starting module/cpyext/test/test_exception.py [63 started in total] __ module/cpyext/test/test_datetime.py [60 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items module\cpyext\test\test_datetime.py ................ ========================= 16 passed in 840.96 seconds ========================= ++ 05:52:56 starting module/cpyext/test/test_fileobject.py [64 started in total] __ module/cpyext/test/test_dictobject.py [61 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items module\cpyext\test\test_dictobject.py ................... ========================= 19 passed in 813.77 seconds ========================= ++ 05:58:03 starting module/cpyext/test/test_floatobject.py [65 started in total] __ module/cpyext/test/test_eval.py [62 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items module\cpyext\test\test_eval.py ...............x... =================== 18 passed, 1 xfailed in 806.60 seconds ==================== ++ 06:00:47 starting module/cpyext/test/test_frameobject.py [66 started in total] __ module/cpyext/test/test_exception.py [63 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_exception.py ....... ========================= 7 passed in 484.67 seconds ========================== ++ 06:04:12 starting module/cpyext/test/test_funcobject.py [67 started in total] __ module/cpyext/test/test_fileobject.py [64 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_fileobject.py . ========================= 1 passed in 426.42 seconds ========================== ++ 06:04:56 starting module/cpyext/test/test_genobject.py [68 started in total] __ module/cpyext/test/test_floatobject.py [65 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_floatobject.py .............. ========================= 14 passed in 543.28 seconds ========================= ++ 06:09:39 starting module/cpyext/test/test_getargs.py [69 started in total] __ module/cpyext/test/test_frameobject.py [66 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items module\cpyext\test\test_frameobject.py .... ========================= 4 passed in 476.41 seconds ========================== ++ 06:11:32 starting module/cpyext/test/test_import.py [70 started in total] __ module/cpyext/test/test_funcobject.py [67 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_funcobject.py .............. ========================= 14 passed in 636.79 seconds ========================= ++ 06:17:24 starting module/cpyext/test/test_iterator.py [71 started in total] __ module/cpyext/test/test_genobject.py [68 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_genobject.py ... ========================= 3 passed in 630.16 seconds ========================== ++ 06:17:32 starting module/cpyext/test/test_listobject.py [72 started in total] __ module/cpyext/test/test_getargs.py [69 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items module\cpyext\test\test_getargs.py ................ ========================= 16 passed in 709.40 seconds ========================= ++ 06:25:39 starting module/cpyext/test/test_longobject.py [73 started in total] __ module/cpyext/test/test_import.py [70 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module\cpyext\test\test_import.py ........ ========================= 8 passed in 605.31 seconds ========================== ++ 06:25:50 starting module/cpyext/test/test_mapping.py [74 started in total] __ module/cpyext/test/test_iterator.py [71 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_iterator.py ...... ========================= 6 passed in 533.77 seconds ========================== ++ 06:29:23 starting module/cpyext/test/test_marshal.py [75 started in total] __ module/cpyext/test/test_listobject.py [72 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_listobject.py .............. ========================= 14 passed in 558.89 seconds ========================= ++ 06:29:46 starting module/cpyext/test/test_memoryobject.py [76 started in total] __ module/cpyext/test/test_mapping.py [73 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_mapping.py ..... ========================= 5 passed in 260.04 seconds ========================== ++ 06:32:56 starting module/cpyext/test/test_methodobject.py [77 started in total] __ module/cpyext/test/test_longobject.py [74 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items module\cpyext\test\test_longobject.py ......................... ========================= 25 passed in 549.67 seconds ========================= ++ 06:37:31 starting module/cpyext/test/test_misc.py [78 started in total] __ module/cpyext/test/test_marshal.py [75 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items module\cpyext\test\test_marshal.py .. ========================= 2 passed in 501.74 seconds ========================== ++ 06:40:44 starting module/cpyext/test/test_module.py [79 started in total] __ module/cpyext/test/test_memoryobject.py [76 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_memoryobject.py ...s...s...... =================== 12 passed, 2 skipped in 573.51 seconds ==================== ++ 06:42:48 starting module/cpyext/test/test_namespaceobject.py [80 started in total] __ module/cpyext/test/test_methodobject.py [77 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_methodobject.py .............. ========================= 14 passed in 669.11 seconds ========================= ++ 06:46:20 starting module/cpyext/test/test_ndarrayobject.py [81 started in total] __ module/cpyext/test/test_ndarrayobject.py [78 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================= 1 skipped in 55.80 seconds ========================== ++ 06:49:25 starting module/cpyext/test/test_number.py [82 started in total] __ module/cpyext/test/test_misc.py [79 done in total, somefailed=False] _______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_misc.py . ========================= 1 passed in 554.11 seconds ========================== ++ 06:49:29 starting module/cpyext/test/test_object.py [83 started in total] __ module/cpyext/test/test_namespaceobject.py [80 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_namespaceobject.py . ========================= 1 passed in 566.91 seconds ========================== ++ 06:56:07 starting module/cpyext/test/test_pyerrors.py [84 started in total] __ module/cpyext/test/test_module.py [81 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items module\cpyext\test\test_module.py ......................... ========================= 25 passed in 718.53 seconds ========================= ++ 06:56:30 starting module/cpyext/test/test_pyfile.py [85 started in total] __ module/cpyext/test/test_number.py [82 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_number.py ....... ========================= 7 passed in 640.05 seconds ========================== ++ 07:03:13 starting module/cpyext/test/test_pymem.py [86 started in total] __ module/cpyext/test/test_pyfile.py [83 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_pyfile.py ...x... ==================== 6 passed, 1 xfailed in 329.51 seconds ==================== ++ 07:06:02 starting module/cpyext/test/test_pysignals.py [87 started in total] __ module/cpyext/test/test_object.py [84 done in total, somefailed=False] _____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 40 items module\cpyext\test\test_object.py .......................s................ =================== 39 passed, 1 skipped in 839.68 seconds ==================== ++ 07:06:51 starting module/cpyext/test/test_pystate.py [88 started in total] __ module/cpyext/test/test_pyerrors.py [85 done in total, somefailed=True] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 33 items module\cpyext\test\test_pyerrors.py ........s.....sF.......s...s..... ================================== FAILURES =================================== ______________ AppTestFetch.test_SetFromErrnoWithFilename_basic _______________ self = <CallInfo when='call' exception: 'ascii' codec can't encode character u'\xe4' in position 106: ordinal not in range(128)> func = <function <lambda> at 0x0000016425f51a60>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x000001641cc714b0> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000001642421cb20>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000001642421cb20>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x00000164298f7100> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000164232b75a0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000164232b75a0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x00000164298f70b0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000164232b7560> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000164232b7560> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool\pytest\apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'> space = StdObjSpace target = <function test_SetFromErrnoWithFilename_basic at 0x000001642601d268> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001642d150020>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool\pytest\apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001642d150020>,) w_func = <Function test_SetFromErrnoWithFilename_basic> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001642d150020> def appcaller(space, *args_w): if not isinstance(space, ObjSpace): raise TypeError("first argument must be a space instance.") # the last argument can be an Arguments w_func = self.wget(space, name) if not args_w: return space.call_function(w_func) else: args = args_w[-1] assert args is not None if not isinstance(args, Arguments): > return space.call_function(w_func, *args_w) interpreter\gateway.py:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function test_SetFromErrnoWithFilename_basic> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001642d150020>,) nargs = 1, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_SetFromErrnoWithFilename_basic> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001642d150020>,) gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_SetFromErrnoWithFilename_basic, file "[d:\pypy_stuff\buildbo...ve\own-win-x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 name = 'test_SetFromErrnoWithFilename_basic' qualname = 'test_SetFromErrnoWithFilename_basic' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 106, 107, 'ordinal not in range(128)') def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 pycode = <code object test_SetFromErrnoWithFilename_basic, file "[d:\pypy_stuff\buildbo...ve\own-win-x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> next_instr = 72 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000001642480dd70> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 co_code = '|\x00j\x00}\x01|\x01d\x00u\x00r\td\x01}\x01d\x02d\x00l\x01}\x02d\x02d\x00l\x02}\x03d\x02d\x00l\x03}\x04d\x03d\x04d\x0...01|\x07j\tj\nd\x13k\x02\x90\x01s\x0cJ\x00\x82\x01|\x07j\tj\x14d\x14k\x02\x90\x01s\x15J\x00\x82\x01d\x00S\x00d\x00S\x00' next_instr = 72 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000001642480dd70> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 co_code = '|\x00j\x00}\x01|\x01d\x00u\x00r\td\x01}\x01d\x02d\x00l\x01}\x02d\x02d\x00l\x02}\x03d\x02d\x00l\x03}\x04d\x03d\x04d\x0...01|\x07j\tj\nd\x13k\x02\x90\x01s\x0cJ\x00\x82\x01|\x07j\tj\x14d\x14k\x02\x90\x01s\x15J\x00\x82\x01d\x00S\x00d\x00S\x00' next_instr = 102 ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000001642480dd70> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: self.CALL_METHOD(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD_KW.index: > self.CALL_METHOD_KW(oparg, next_instr) interpreter\pyopcode.py:315: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64\build\pypy\module\cpyext\test\test_pyerrors.py:250]", line 1> at line 56 n_arguments = 2, ignored = (102,) W_AbstractTupleObject = <class 'pypy.objspace.std.tupleobject.W_AbstractTupleObject'> w_self = None, space = StdObjSpace @jit.unroll_safe def CALL_METHOD_KW(f, n_arguments, *ignored): from pypy.objspace.std.tupleobject import W_AbstractTupleObject # opargs contains the arg + kwarg count, excluding the implicit 'self' w_self = f.peekvalue_maybe_none(n_arguments + 1) space = f.space # like in BUILD_CONST_KEY_MAP we can't use space.fixedview because then # the immutability of the tuple is lost w_tup_varnames = space.interp_w(W_AbstractTupleObject, f.popvalue()) n_keywords = space.len_w(w_tup_varnames) keyword_names_w = [None] * n_keywords keywords_w = [None] * n_keywords for i in range(n_keywords): keyword_names_w[i] = w_tup_varnames.getitem(space, i) w_value = f.peekvalue(n_keywords - 1 - i) keywords_w[i] = w_value f.dropvalues(n_keywords) n_arguments -= n_keywords n = n_arguments + (w_self is not None) arguments = f.popvalues(n) # includes w_self if it is not None if w_self is None: f.popvalue_maybe_none() # removes w_self, which is None w_callable = f.popvalue() args = f.argument_factory( arguments, keyword_names_w, keywords_w, None, None, methodcall=w_self is not None, w_function=w_callable) if f.get_is_being_profiled() and function.is_builtin_code(w_callable): w_result = f.space.call_args_and_c_profile(f, w_callable, args) else: > w_result = f.space.call_args(w_callable, args) objspace\std\callmethod.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, w_obj = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def call_args(space, w_obj, args): # two special cases for performance if isinstance(w_obj, Function): > return w_obj.call_args(args) objspace\descroperation.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000164263eb8d8> func = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def funcrun(self, func, args): > return BuiltinCode.funcrun_obj(self, func, None, args) interpreter\gateway.py:869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000164263eb8d8> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000164263eb8d8> space = StdObjSpace e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 106, 107, 'ordinal not in range(128)') def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000164263eb8d8> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....n '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x00000164263eb9b8> space = StdObjSpace scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...or, code, ar...rn NULL;\n '))]), W_UnicodeObject('#include <errno.h>'), None, W_UnicodeObject(''), W_BoolObject(False)] def _run(self, space, scope_w): > return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.is_true(scope_w[5])) <6978-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, modname = 'foo' w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...or, code, arg1, arg2);\n return NULL;\n '))]) prologue = '#include <errno.h>', w_include_dirs = None, more_init = '' PY_SSIZE_T_CLEAN = False @unwrap_spec(modname='text', prologue='text', more_init='text', PY_SSIZE_T_CLEAN=bool) def import_extension(space, modname, w_functions, prologue="", w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): functions = space.unwrap(w_functions) include_dirs = _unwrap_include_dirs(space, w_include_dirs) # If there's already a module under this name (file-based or a # previous inline extension), save it in _module_keepalive before # it's displaced. This prevents its raw allocations (method-name # strings, type dicts, etc.) from being freed during a later # test's leakfinder tracking window. self._file_module_cache.pop(modname, None) w_modules = space.sys.get('modules') try: w_old = space.getitem(w_modules, space.newtext(modname)) self._module_keepalive.append(w_old) except OperationError: pass w_result = self.sys_info.import_extension( modname, functions, prologue, include_dirs, more_init, > PY_SSIZE_T_CLEAN) module\cpyext\test\test_cpyext.py:426: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000001642c3f9520> modname = 'foo' functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...mWindowsErrWithFilenameObjects(PyExc_OSError, code, arg1, arg2);\n return NULL;\n ')] prologue = '#include <errno.h>', include_dirs = None, more_init = '' PY_SSIZE_T_CLEAN = False def import_extension(self, modname, functions, prologue="", include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): > body = prologue + make_methods(functions, modname) tool\cpyext\extbuild.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...mWindowsErrWithFilenameObjects(PyExc_OSError, code, arg1, arg2);\n return NULL;\n ')] modname = 'foo' def make_methods(functions, modname): methods_table = [] codes = [] for funcname, flags, code in functions: cfuncname = "%s_%s" % (modname, funcname) if 'METH_FASTCALL' in flags and 'METH_KEYWORDS' in flags: signature = ('(PyObject *self, PyObject *const *args, ' 'Py_ssize_t len_args, PyObject *kwnames)') elif 'METH_KEYWORDS' in flags: signature = '(PyObject *self, PyObject *args, PyObject *kwargs)' elif 'METH_FASTCALL' in flags: signature = ('(PyObject *self, PyObject *const *args, ' 'Py_ssize_t len_args)') else: signature = '(PyObject *self, PyObject *args)' methods_table.append( "{\"%s\", (PyCFunction)%s, %s}," % (funcname, cfuncname, flags)) func_code = """ static PyObject* {cfuncname}{signature} {{ {code} }} > """.format(cfuncname=cfuncname, signature=signature, code=code) E UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 106: ordinal not in range(128) tool\cpyext\extbuild.py:139: UnicodeEncodeError =========================== short test summary info =========================== FAIL module\cpyext\test\test_pyerrors.py::AppTestFetch::()::test_SetFromErrnoWithFilename_basic ============== 1 failed, 28 passed, 4 skipped in 649.86 seconds =============== ++ 07:10:02 starting module/cpyext/test/test_pystrhex.py [89 started in total] __ module/cpyext/test/test_pymem.py [86 done in total, somefailed=False] ______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_pymem.py . ========================= 1 passed in 372.44 seconds ========================== ++ 07:13:29 starting module/cpyext/test/test_pystrtod.py [90 started in total] __ module/cpyext/test/test_pysignals.py [87 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_pysignals.py . ========================= 1 passed in 379.19 seconds ========================== ++ 07:14:20 starting module/cpyext/test/test_sequence.py [91 started in total] __ module/cpyext/test/test_pystate.py [88 done in total, somefailed=False] ____ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items module\cpyext\test\test_pystate.py ....x.....sx.. ============== 11 passed, 1 skipped, 2 xfailed in 463.89 seconds ============== ++ 07:16:06 starting module/cpyext/test/test_setobject.py [92 started in total] __ module/cpyext/test/test_pystrhex.py [89 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_pystrhex.py . ========================= 1 passed in 354.37 seconds ========================== ++ 07:18:35 starting module/cpyext/test/test_sliceobject.py [93 started in total] __ module/cpyext/test/test_pystrtod.py [90 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items module\cpyext\test\test_pystrtod.py .................... ========================= 20 passed in 555.85 seconds ========================= ++ 07:24:44 starting module/cpyext/test/test_structseq.py [94 started in total] __ module/cpyext/test/test_sequence.py [91 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items module\cpyext\test\test_sequence.py ....................... ========================= 23 passed in 548.96 seconds ========================= ++ 07:25:56 starting module/cpyext/test/test_sysmodule.py [95 started in total] __ module/cpyext/test/test_setobject.py [92 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items module\cpyext\test\test_setobject.py ......... ========================= 9 passed in 558.44 seconds ========================== ++ 07:27:20 starting module/cpyext/test/test_thread.py [96 started in total] __ module/cpyext/test/test_sliceobject.py [93 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items module\cpyext\test\test_sliceobject.py ........ ========================= 8 passed in 521.73 seconds ========================== ++ 07:31:40 starting module/cpyext/test/test_traceback.py [97 started in total] __ module/cpyext/test/test_structseq.py [94 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_structseq.py . ========================= 1 passed in 484.57 seconds ========================== ++ 07:35:15 starting module/cpyext/test/test_translate.py [98 started in total] __ module/cpyext/test/test_sysmodule.py [95 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_sysmodule.py ... ========================= 3 passed in 507.66 seconds ========================== ++ 07:37:10 starting module/cpyext/test/test_tupleobject.py [99 started in total] __ module/cpyext/test/test_translate.py [96 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_translate.py . ========================== 1 passed in 53.68 seconds ========================== ++ 07:39:04 starting module/cpyext/test/test_typedeallocate.py [100 started in total] __ module/cpyext/test/test_traceback.py [97 done in total, somefailed=False] __ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items module\cpyext\test\test_traceback.py . ========================= 1 passed in 325.64 seconds ========================== ++ 07:39:51 starting module/cpyext/test/test_typeobject.py [101 started in total] __ module/cpyext/test/test_thread.py [98 done in total, somefailed=True] ______ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items module\cpyext\test\test_thread.py x..Fx. ================================== FAILURES =================================== ________________________ AppTestThread.test_timed_lock ________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001f6c3039da8> def test_timed_lock(self): module = self.import_extension('foo', [ ("timed_acquire_lock", "METH_O", """ #ifndef PyThread_acquire_lock_timed #error "seems we are not accessing PyPy's functions" #endif PyLockStatus acquire_result; int microseconds = PyLong_AsLong(args); Py_BEGIN_ALLOW_THREADS acquire_result = PyThread_acquire_lock_timed(global_lock, microseconds, 0); Py_END_ALLOW_THREADS if (acquire_result == PY_LOCK_ACQUIRED) { Py_RETURN_TRUE; } else { Py_RETURN_FALSE; } """), ("release_lock", "METH_NOARGS", """ PyThread_release_lock(global_lock); Py_RETURN_NONE; """), ("cleanup_lock", "METH_NOARGS", """ // cleanup isn't part of the test, but I'd feel guilty otherwise PyThread_free_lock(global_lock); global_lock=NULL; Py_RETURN_NONE; """ ) ], prologue="static PyThread_type_lock global_lock;", more_init="global_lock = PyThread_allocate_lock();" ) try: import threading import time failure = [] assert module.timed_acquire_lock(-1) main_thread_should_release_the_lock_barrier = threading.Barrier(2) def thread_func(): try: if module.timed_acquire_lock(0): failure.append("Lock should be held elsewhere") return if module.timed_acquire_lock(1): failure.append("Lock should be held elsewhere") return finally: main_thread_should_release_the_lock_barrier.wait() if not module.timed_acquire_lock(1000000): failure.append("Lock should have become available") return module.release_lock() thread = threading.Thread(target=thread_func) thread.start() main_thread_should_release_the_lock_barrier.wait() # At this point, thread_func should be waiting 1s for the lock, # so sleep a short amount of time then let it have the lock. time.sleep(0.01) module.release_lock() thread.join() > assert not failure, failure E (application-level) AssertionError: ['Lock should have become available'] [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\test\test_thread.py:84]:65: AssertionError ---------------------------- Captured stdout call ----------------------------- source_0.c Creating library d:\systemtemp\pytest\usession-py3.11-1728\foo-2\foo.lib and object d:\systemtemp\pytest\usession-py3.11-1728\foo-2\foo.exp Generating code Finished generating code ---------------------------- Captured stderr call ----------------------------- <function PyModule_Create2 at 0x000001f6c409d628> DONE <function PyLong_AsLong at 0x000001f6c35ed718> DONE <function PyEval_SaveThread at 0x000001f6c3be22f0> DONE <function PyEval_RestoreThread at 0x000001f6c3be2200> DONE <function PyLong_AsLong at 0x000001f6c35ed718> DONE <function PyEval_SaveThread at 0x000001f6c3be22f0> DONE <function PyEval_RestoreThread at 0x000001f6c3be2200> DONE <function PyLong_AsLong at 0x000001f6c35ed718> DONE <function PyEval_SaveThread at 0x000001f6c3be22f0> DONE <function PyEval_RestoreThread at 0x000001f6c3be2200> DONE <function PyLong_AsLong at 0x000001f6c35ed718> DONE <function PyEval_SaveThread at 0x000001f6c3be22f0> DONE <function PyEval_RestoreThread at 0x000001f6c3be2200> DONE =========================== short test summary info =========================== FAIL module\cpyext\test\test_thread.py::AppTestThread::()::test_timed_lock =============== 1 failed, 3 passed, 2 xfailed in 644.02 seconds =============== ++ 07:41:00 starting module/cpyext/test/test_unicodeobject.py [102 started in total] __ module/cpyext/test/test_tupleobject.py [99 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items module\cpyext\test\test_tupleobject.py .......... ========================= 10 passed in 574.67 seconds ========================= ++ 07:50:30 starting module/cpyext/test/test_userslots.py [103 started in total] __ module/cpyext/test/test_typedeallocate.py [100 done in total, somefailed=False] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_typedeallocate.py ..s.. ==================== 4 passed, 1 skipped in 622.34 seconds ==================== ++ 07:52:53 starting module/cpyext/test/test_version.py [104 started in total] __ module/cpyext/test/test_unicodeobject.py [101 done in total, somefailed=True] [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 62 items module\cpyext\test\test_unicodeobject.py .......................................FF..................... ================================== FAILURES =================================== ____________________________ TestUnicode.test_mbcs ____________________________ self = <pypy.module.cpyext.test.test_unicodeobject.TestUnicode object at 0x00000167ca258cd0> space = StdObjSpace def test_mbcs(self, space): if sys.platform != 'win32': py.test.skip("mcbs encoding only exists on Windows") unichars = u"abc" wbuf = rffi.unicode2wcharp(unichars) try: w_bytes = PyUnicode_EncodeMBCS(space, wbuf, 3, None) finally: rffi.free_wcharp(wbuf) assert space.type(w_bytes) is space.w_bytes > assert space.utf8_w(w_bytes) == "abc" module\cpyext\test\test_unicodeobject.py:1225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interpreter\baseobjspace.py:1956: in utf8_w return w_obj.utf8_w(self) interpreter\baseobjspace.py:274: in utf8_w self._typed_unwrap_error(space, "str") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = W_BytesObject('abc'), space = StdObjSpace, expected = 'str' def _typed_unwrap_error(self, space, expected): raise oefmt(space.w_TypeError, > "expected %s, got %T object", expected, self) E OpErrFmt: [<W_TypeObject 'TypeError' at 0x167c784e368>: expected str, got bytes object] interpreter\baseobjspace.py:318: OpErrFmt __________________________ TestUnicode.test_codepage __________________________ self = <pypy.module.cpyext.test.test_unicodeobject.TestUnicode object at 0x00000167cd124020> space = StdObjSpace def test_codepage(self, space): if sys.platform != 'win32': py.test.skip("codepage encoding only exists on Windows") chars = "abc" w_obj = space.newtext(chars) w_bytes = PyUnicode_EncodeCodePage(space, 932, w_obj, None) assert space.type(w_bytes) is space.w_bytes > assert space.utf8_w(w_bytes) == "abc" module\cpyext\test\test_unicodeobject.py:1234: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interpreter\baseobjspace.py:1956: in utf8_w return w_obj.utf8_w(self) interpreter\baseobjspace.py:274: in utf8_w self._typed_unwrap_error(space, "str") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = W_BytesObject('abc'), space = StdObjSpace, expected = 'str' def _typed_unwrap_error(self, space, expected): raise oefmt(space.w_TypeError, > "expected %s, got %T object", expected, self) E OpErrFmt: [<W_TypeObject 'TypeError' at 0x167c784e368>: expected str, got bytes object] interpreter\baseobjspace.py:318: OpErrFmt =========================== short test summary info =========================== FAIL module\cpyext\test\test_unicodeobject.py::TestUnicode::()::test_mbcs FAIL module\cpyext\test\test_unicodeobject.py::TestUnicode::()::test_codepage =================== 2 failed, 60 passed in 1018.00 seconds ==================== ++ 08:00:50 starting module/cpyext/test/test_weakref.py [105 started in total] __ module/cpyext/test/test_typeobject.py [102 done in total, somefailed=True] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 64 items module\cpyext\test\test_typeobject.py ...................s..............................F....s........ ================================== FAILURES =================================== ___________________ AppTestSlots.test_multiple_inheritance3 ___________________ self = <CallInfo when='call' exception: command 'd:\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2> func = <function <lambda> at 0x0000020ba75df2e0>, when = 'call' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'> kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance3'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x0000020b93b714b0> hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020b94de1ca0>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance3'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_call'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000020b94de1ca0>] kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_multiple_inheritance3'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000020ba3567c18> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...heritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020ba4782f60> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020ba4782f60> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...heritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_call at 0x0000020ba3567bc8> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...heritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020ba4782e60> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x0000020ba4782e60> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...heritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_multiple_inheritance3'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ item = <AppTestMethod 'test_multiple_inheritance3'> def pytest_runtest_call(item): try: > item.runtest() ..\_pytest\runner.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_multiple_inheritance3'> def runtest(self): target = self.obj src = extract_docstring_if_empty_function(target.im_func) space = target.im_self.space if self.config.option.runappdirect: appexec_definitions = self.parent.obj.__dict__ spaceconfig = getattr(self.parent.obj, 'spaceconfig', None) usemodules = spaceconfig.get('usemodules') if spaceconfig else None return run_with_python(self.config.option.python, src, usemodules, **appexec_definitions) filename = self._getdynfilename(target) func = app2interp_temp(src, filename=filename) w_instance = self.parent.w_instance > self.execute_appex(space, func, space, w_instance) tool\pytest\apptest.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <AppTestMethod 'test_multiple_inheritance3'>, space = StdObjSpace target = <function test_multiple_inheritance3 at 0x0000020ba75dfb50> args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020ba79841a8>) def execute_appex(self, space, target, *args): self.space = space space.getexecutioncontext().set_sys_exc_info(None) try: > target(*args) tool\pytest\apptest.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020ba79841a8>,) w_func = <Function test_multiple_inheritance3> args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020ba79841a8> def appcaller(space, *args_w): if not isinstance(space, ObjSpace): raise TypeError("first argument must be a space instance.") # the last argument can be an Arguments w_func = self.wget(space, name) if not args_w: return space.call_function(w_func) else: args = args_w[-1] assert args is not None if not isinstance(args, Arguments): > return space.call_function(w_func, *args_w) interpreter\gateway.py:1409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <Function test_multiple_inheritance3> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020ba79841a8>,) nargs = 1, Function = <class 'pypy.interpreter.function.Function'> _Method = <class 'pypy.interpreter.function._Method'> def call_function(self, w_func, *args_w): nargs = len(args_w) # used for pruning funccall versions if not self.config.objspace.disable_call_speedhacks and nargs < 5: # start of hack for performance from pypy.interpreter.function import Function, _Method if isinstance(w_func, _Method): if nargs < 4: func = w_func.w_function if isinstance(func, Function): return func.funccall(w_func.w_instance, *args_w) if isinstance(w_func, Function): > return w_func.funccall(*args_w) interpreter\baseobjspace.py:1237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Function test_multiple_inheritance3> args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000020ba79841a8>,) gateway = <module 'pypy.interpreter.gateway' from 'd:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\interpreter\\gateway.pyc'> PyCode = <class 'pypy.interpreter.pycode.PyCode'> code = <code object test_multiple_inheritance3, file "[d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> def funccall(self, *args_w): # speed hack from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit nargs = len(args_w) fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, args_w[0]) elif nargs == 2: assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, args_w[0], args_w[1]) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) return code.fastcall_3(self.space, self, args_w[0], args_w[1], args_w[2]) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) return code.fastcall_4(self.space, self, args_w[0], args_w[1], args_w[2], args_w[3]) elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) if nargs < 5: new_frame = self.space.createframe(code, self.w_func_globals, self) for i in funccallunrolling: if i < nargs: new_frame.locals_cells_stack_w[i] = args_w[i] > return new_frame.run(self.name, self.qualname) interpreter\function.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 name = 'test_multiple_inheritance3', qualname = 'test_multiple_inheritance3' def run(self, name=None, qualname=None): """Start this frame's execution.""" if self._is_generator_or_coroutine(): return self.initialize_as_generator(name, qualname) else: > return self.execute_frame() interpreter\pyframe.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, executioncontext) except OperationError: raise except Exception as e: # general fall-back > raise self._convert_unexpected_exception(e) interpreter\pyframe.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 e = CompileError(DistutilsExecError("command 'd:\\\\Microsoft Visual Studio\\\\202...\14.41.34120\\\\bin\\\\HostX64\\\\x64\\\\cl.exe' failed with exit status 2",),) def _convert_unexpected_exception(self, e): from pypy.interpreter import error > operr = error.get_converted_unexpected_exception(self.space, e) interpreter\pyframe.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 w_arg_or_err = None def execute_frame(self, w_arg_or_err=None): """Execute this frame. Main entry point to the interpreter. 'w_arg_or_err' is non-None iff we are starting or resuming a generator or coroutine frame; in that case, w_arg_or_err is the input argument -or- an SApplicationException instance. """ from pypy.interpreter import pyopcode as pyopcode # the following 'assert' is an annotation hint: it hides from # the annotator all methods that are defined in PyFrame but # overridden in the {,Host}FrameClass subclasses of PyFrame. assert (isinstance(self, self.space.FrameClass) or not self.space.config.translating) executioncontext = self.space.getexecutioncontext() executioncontext.enter(self) got_exception = True w_exitvalue = self.space.w_None try: executioncontext.call_trace(self) # # Execution starts just after the last_instr. Initially, # last_instr is -1. After a generator suspends it points to # the YIELD_VALUE/YIELD_FROM instruction. try: try: if w_arg_or_err is None: assert self.last_instr == -1 next_instr = r_uint(0) else: next_instr = self.resume_execute_frame(w_arg_or_err) except pyopcode.Yield: w_exitvalue = self.popvalue() else: w_exitvalue = self.dispatch(self.pycode, next_instr, > executioncontext) interpreter\pyframe.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 pycode = <code object test_multiple_inheritance3, file "[d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020b9df50790> def dispatch(self, pycode, next_instr, ec): # For the sequel, force 'next_instr' to be unsigned for performance next_instr = r_uint(next_instr) co_code = pycode.co_code try: while True: assert next_instr & 1 == 0 > next_instr = self.handle_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 co_code = '|\x00\xa0\x00d\x01d\x02d\x03d\x04d\x05d\x06d\x07d\x08g\x07\xa1\x02}\x01|\x01\xa0\x01\xa1\x00}\x02d\tt\x02|\x02\x83\x0...04\x83\x04}\x05|\x05\x83\x00}\x02t\r|\x02|\x03\x83\x02sxJ\x00\x82\x01t\r|\x02|\x04\x83\x02s\x7fJ\x00\x82\x01d\x00S\x00' next_instr = 0L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020b9df50790> def handle_bytecode(self, co_code, next_instr, ec): try: > next_instr = self.dispatch_bytecode(co_code, next_instr, ec) interpreter\pyopcode.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 co_code = '|\x00\xa0\x00d\x01d\x02d\x03d\x04d\x05d\x06d\x07d\x08g\x07\xa1\x02}\x01|\x01\xa0\x01\xa1\x00}\x02d\tt\x02|\x02\x83\x0...04\x83\x04}\x05|\x05\x83\x00}\x02t\r|\x02|\x03\x83\x02sxJ\x00\x82\x01t\r|\x02|\x04\x83\x02s\x7fJ\x00\x82\x01d\x00S\x00' next_instr = 24L ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000020b9df50790> @jit.unroll_safe def dispatch_bytecode(self, co_code, next_instr, ec): while True: assert next_instr & 1 == 0 self.last_instr = intmask(next_instr) if jit.we_are_jitted(): _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) else: # Only reload next_instr from last_instr when something that # can modify it actually ran (trace function or action # dispatcher). In the common case (no trace, positive ticker) # next_instr is unchanged and the round-trip is skipped. _d = self.debugdata if ec.space.reverse_debugging or ( _d is not None and _d.w_f_trace is not None) or ( not we_are_translated() and 'bytecode_only_trace' in ec.__dict__): ec.bytecode_only_trace(self) next_instr = r_uint(self.last_instr) actionflag = ec.space.actionflag if actionflag.decrement_ticker(TICK_COUNTER_STEP) < 0: actionflag.action_dispatcher(ec, self) next_instr = r_uint(self.last_instr) opcode = ord(co_code[next_instr]) oparg = ord(co_code[next_instr + 1]) next_instr += 2 # note: the structure of the code here is such that it makes # (after translation) a big "if/elif" chain, which is then # turned into computed gotos. while opcode == opcodedesc.EXTENDED_ARG.index: opcode = ord(co_code[next_instr]) arg = ord(co_code[next_instr + 1]) if opcode < HAVE_ARGUMENT: raise BytecodeCorruption next_instr += 2 oparg = (oparg * 256) | arg if opcode == opcodedesc.RETURN_VALUE.index: self.frame_finished_execution = True # for generators raise Return elif opcode == opcodedesc.JUMP_ABSOLUTE.index: return self.jump_absolute(oparg, next_instr, ec) elif opcode == opcodedesc.RERAISE.index: return self.RERAISE(oparg, next_instr) elif opcode == opcodedesc.FOR_ITER.index: next_instr = self.FOR_ITER(oparg, next_instr) elif opcode == opcodedesc.JUMP_FORWARD.index: next_instr = self.JUMP_FORWARD(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index: return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index: return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index: return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index: return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr) elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index: next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr) elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index: next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr) elif opcode == opcodedesc.BINARY_ADD.index: self.BINARY_ADD(oparg, next_instr) elif opcode == opcodedesc.BINARY_AND.index: self.BINARY_AND(oparg, next_instr) elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index: self.BINARY_FLOOR_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index: self.BINARY_MATRIX_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_LSHIFT.index: self.BINARY_LSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_MODULO.index: self.BINARY_MODULO(oparg, next_instr) elif opcode == opcodedesc.BINARY_MULTIPLY.index: self.BINARY_MULTIPLY(oparg, next_instr) elif opcode == opcodedesc.BINARY_OR.index: self.BINARY_OR(oparg, next_instr) elif opcode == opcodedesc.BINARY_POWER.index: self.BINARY_POWER(oparg, next_instr) elif opcode == opcodedesc.BINARY_RSHIFT.index: self.BINARY_RSHIFT(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBSCR.index: self.BINARY_SUBSCR(oparg, next_instr) elif opcode == opcodedesc.BINARY_SUBTRACT.index: self.BINARY_SUBTRACT(oparg, next_instr) elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index: self.BINARY_TRUE_DIVIDE(oparg, next_instr) elif opcode == opcodedesc.BINARY_XOR.index: self.BINARY_XOR(oparg, next_instr) elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index: self.BUILD_CONST_KEY_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST.index: self.BUILD_LIST(oparg, next_instr) elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index: self.BUILD_LIST_FROM_ARG(oparg, next_instr) elif opcode == opcodedesc.BUILD_MAP.index: self.BUILD_MAP(oparg, next_instr) elif opcode == opcodedesc.BUILD_SET.index: self.BUILD_SET(oparg, next_instr) elif opcode == opcodedesc.BUILD_SLICE.index: self.BUILD_SLICE(oparg, next_instr) elif opcode == opcodedesc.BUILD_TUPLE.index: self.BUILD_TUPLE(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION.index: self.CALL_FUNCTION(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_KW.index: self.CALL_FUNCTION_KW(oparg, next_instr) elif opcode == opcodedesc.CALL_FUNCTION_EX.index: self.CALL_FUNCTION_EX(oparg, next_instr) elif opcode == opcodedesc.CALL_METHOD.index: > self.CALL_METHOD(oparg, next_instr) interpreter\pyopcode.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 oparg = 2, ignored = (24L,), n_args = 2, w_self = None, n = 2 @jit.unroll_safe def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg w_self = f.peekvalue_maybe_none(n_args) n = n_args + (w_self is not None) w_callable = f.peekvalue(n_args + 1) w_result = f.space.call_valuestack( > w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2) objspace\std\callmethod.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 dropvalues = 4, methodcall = False def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False): # methodcall is only used for better error messages in argument.py from pypy.interpreter.function import Function, _Method, is_builtin_code if frame.get_is_being_profiled() and is_builtin_code(w_func): # XXX: this code is copied&pasted :-( from the slow path below # call_valuestack(). args = frame.make_arguments(nargs, w_function=w_func) frame.dropvalues(dropvalues) return self.call_args_and_c_profile(frame, w_func, args) if not self.config.objspace.disable_call_speedhacks: # start of hack for performance if isinstance(w_func, _Method): # reuse callable stack place for w_inst frame.settopvalue(w_func.w_instance, nargs) nargs += 1 methodcall = True w_func = w_func.w_function if isinstance(w_func, Function): return w_func.funccall_valuestack( > nargs, frame, methodcall=methodcall, dropvalues=dropvalues) interpreter\baseobjspace.py:1264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension>, nargs = 2 frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_multiple...6-64\build\pypy\module\cpyext\test\test_typeobject.py:1712]", line 1> at line 2 dropvalues = 4, methodcall = False def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack # methodcall is only for better error messages from pypy.interpreter import gateway from pypy.interpreter.pycode import PyCode code = self.getcode() # hook for the jit # if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info and nargs == 0): frame.dropvalues(dropvalues) from pypy.module.sys.vm import exc_info_direct return exc_info_direct(self.space, frame) # fast_natural_arity = code.fast_natural_arity if nargs == fast_natural_arity: if nargs == 0: frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode0) return code.fastcall_0(self.space, self) elif nargs == 1: f_0 = frame.peekvalue(0) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode1) return code.fastcall_1(self.space, self, f_0) elif nargs == 2: f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) frame.dropvalues(dropvalues) assert isinstance(code, gateway.BuiltinCode2) return code.fastcall_2(self.space, self, f_1, f_0) elif nargs == 3: assert isinstance(code, gateway.BuiltinCode3) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) frame.dropvalues(dropvalues) return code.fastcall_3(self.space, self, f_2, f_1, f_0) elif nargs == 4: assert isinstance(code, gateway.BuiltinCode4) f_0 = frame.peekvalue(0) f_1 = frame.peekvalue(1) f_2 = frame.peekvalue(2) f_3 = frame.peekvalue(3) frame.dropvalues(dropvalues) return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0) elif (nargs | Code.FLATPYCALL) == fast_natural_arity: assert isinstance(code, PyCode) return self._flat_pycall(code, nargs, frame, dropvalues) elif fast_natural_arity & Code.FLATPYCALL: natural_arity = fast_natural_arity & 0xff if natural_arity > nargs >= natural_arity - len(self.defs_w): assert isinstance(code, PyCode) return self._flat_pycall_defaults(code, nargs, frame, natural_arity - nargs, dropvalues) elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1: assert isinstance(code, gateway.BuiltinCodePassThroughArguments1) w_obj = frame.peekvalue(nargs-1) args = frame.make_arguments(nargs-1, w_function=self) frame.dropvalues(dropvalues) return code.funcrun_obj(self, w_obj, args) args = frame.make_arguments(nargs, methodcall=methodcall, w_function=self) frame.dropvalues(dropvalues) > return self.call_args(args) interpreter\function.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....ucceed");\n }\n return NULL;\n '))])]) def call_args(self, args): # delegate activation to code > w_res = self.getcode().funcrun(self, args) interpreter\function.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020ba4c8a608> func = <FunctionWithFixedCode import_extension> args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....ucceed");\n }\n return NULL;\n '))])]) def funcrun(self, func, args): > return BuiltinCode.funcrun_obj(self, func, None, args) interpreter\gateway.py:869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020ba4c8a608> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....ucceed");\n }\n return NULL;\n '))])]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: w_result = activation._run(space, scope_w) except DescrMismatch: if w_obj is not None: args = args.prepend(w_obj) return self._type_unwrap_mismatch(space, args) except Exception as e: > self.handle_exception(space, e) interpreter\gateway.py:884: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020ba4c8a608> space = StdObjSpace e = CompileError(DistutilsExecError("command 'd:\\\\Microsoft Visual Studio\\\\202...\14.41.34120\\\\bin\\\\HostX64\\\\x64\\\\cl.exe' failed with exit status 2",),) def handle_exception(self, space, e): try: if not we_are_translated(): raise raise e except OperationError: raise except Exception as e: # general fall-back from pypy.interpreter import error > raise error.get_converted_unexpected_exception(space, e) interpreter\gateway.py:908: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000020ba4c8a608> func = <FunctionWithFixedCode import_extension>, w_obj = None args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject....ucceed");\n }\n return NULL;\n '))])]) def funcrun_obj(self, func, w_obj, args): space = func.space activation = self.activation scope_w = args.parse_obj(w_obj, func.qualname, self.sig, func.defs_w, func.w_kw_defs, self.minargs) try: > w_result = activation._run(space, scope_w) interpreter\gateway.py:878: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x0000020ba4c8a7c8> space = StdObjSpace scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... succeed");\...\n return NULL;\n '))]), W_UnicodeObject(''), None, W_UnicodeObject(''), W_BoolObject(False)] def _run(self, space, scope_w): > return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.is_true(scope_w[5])) <3285-codegen d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\tool\sourcetools.py:200>:3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ space = StdObjSpace, modname = 'foo' w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... succeed");\n }\n return NULL;\n '))]) prologue = '', w_include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False @unwrap_spec(modname='text', prologue='text', more_init='text', PY_SSIZE_T_CLEAN=bool) def import_extension(space, modname, w_functions, prologue="", w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): functions = space.unwrap(w_functions) include_dirs = _unwrap_include_dirs(space, w_include_dirs) # If there's already a module under this name (file-based or a # previous inline extension), save it in _module_keepalive before # it's displaced. This prevents its raw allocations (method-name # strings, type dicts, etc.) from being freed during a later # test's leakfinder tracking window. self._file_module_cache.pop(modname, None) w_modules = space.sys.get('modules') try: w_old = space.getitem(w_modules, space.newtext(modname)) self._module_keepalive.append(w_old) except OperationError: pass w_result = self.sys_info.import_extension( modname, functions, prologue, include_dirs, more_init, > PY_SSIZE_T_CLEAN) module\cpyext\test\test_cpyext.py:426: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020ba79a8448> modname = 'foo' functions = [(u'new_obj_small_basicsize', u'METH_NOARGS', u'\n /* Simulate pybind11: instance struct is PyObject_HE...add of long");\n return NULL;\n }\n Py_RETURN_NONE;\n '), ...] prologue = '', include_dirs = None, more_init = '', PY_SSIZE_T_CLEAN = False def import_extension(self, modname, functions, prologue="", include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False): body = prologue + make_methods(functions, modname) init = """PyObject *mod = PyModule_Create(&moduledef); """ if more_init: init += """#define INITERROR return NULL """ init += more_init init += "\nreturn mod;" return self.import_module( name=modname, init=init, body=body, include_dirs=include_dirs, > PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN) tool\cpyext\extbuild.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020ba79a8448> name = 'foo' init = 'PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;' body = u'\n static PyObject* foo_new_obj_small_basicsize(PyObject *self, PyObject *args)\n {\n \n ...LL, /* m_doc */\n -1, /* m_size */\n methods, /* m_methods */\n };\n ' filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False, use_imp = False def import_module(self, name, init=None, body='', filename=None, include_dirs=None, PY_SSIZE_T_CLEAN=False, use_imp=False): """ init specifies the overall template of the module. if init is None, the module source will be loaded from a file in this test directory, give a name given by the filename parameter. if filename is None, the module name will be used to construct the filename. """ if body or init: if init is None: init = "return PyModule_Create(&moduledef);" if init is not None: code = make_source(name, init, body, PY_SSIZE_T_CLEAN) kwds = dict(source_strings=[code]) else: assert not PY_SSIZE_T_CLEAN if filename is None: filename = name filename = HERE / (filename + ".c") kwds = dict(source_files=[filename]) mod = self.compile_extension_module( > name, include_dirs=include_dirs, **kwds) tool\cpyext\extbuild.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000020ba79a8448> name = 'foo', include_dirs = [] source_files = [local('d:\\systemtemp\\pytest\\usession-py3.11-1733\\foo-16\\source_0.c')] source_strings = [u'\n \n #include <Python.h>\n\n \n static PyObject* foo_new_obj_small_basicsize(PyObject *self, PyObj...\n PyInit_foo(void) {\n PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;\n }\n '] def compile_extension_module(self, name, include_dirs=None, source_files=None, source_strings=None): """ Build an extension module and return the filename of the resulting native code file. name is the name of the module, possibly including dots if it is a module inside a package. """ include_dirs = include_dirs or [] modname = name.split('.')[-1] dirname = self.get_builddir(name=modname) if source_strings: assert not source_files files = convert_sources_to_files(source_strings, dirname) source_files = files soname = c_compile(source_files, outputfilename=str(dirname / modname), compile_extra=self.compile_extra, link_extra=self.link_extra, include_dirs=self.include_extra + include_dirs, > libraries=self.extra_libs) tool\cpyext\extbuild.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cfilenames = [local('d:\\systemtemp\\pytest\\usession-py3.11-1733\\foo-16\\source_0.c')] outputfilename = local('d:\\systemtemp\\pytest\\usession-py3.11-1733\\foo-16\\foo.dll') compile_extra = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] link_extra = ['/NODEFAULTLIB:Python311.lib', '/DEBUG'] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] libraries = ['d:\\systemtemp\\pytest\\usession-py3.11-1733\\module_cache\\pypyapi'] library_dirs = [] def c_compile(cfilenames, outputfilename, compile_extra=None, link_extra=None, include_dirs=None, libraries=None, library_dirs=None): compile_extra = compile_extra or [] link_extra = link_extra or [] include_dirs = include_dirs or [] libraries = libraries or [] library_dirs = library_dirs or [] if sys.platform == 'win32': link_extra = link_extra + ['/DEBUG'] # generate .pdb file if sys.platform == 'darwin': # support Fink & Darwinports for s in ('/sw/', '/opt/local/'): if (s + 'include' not in include_dirs and os.path.exists(s + 'include')): include_dirs.append(s + 'include') if s + 'lib' not in library_dirs and os.path.exists(s + 'lib'): library_dirs.append(s + 'lib') outputfilename = py.path.local(outputfilename).new(ext=so_ext) saved_environ = os.environ.copy() try: _build( cfilenames, outputfilename, compile_extra, link_extra, > include_dirs, libraries, library_dirs) tool\cpyext\extbuild.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cfilenames = [local('d:\\systemtemp\\pytest\\usession-py3.11-1733\\foo-16\\source_0.c')] outputfilename = local('d:\\systemtemp\\pytest\\usession-py3.11-1733\\foo-16\\foo.dll') compile_extra = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] link_extra = ['/NODEFAULTLIB:Python311.lib', '/DEBUG'] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] libraries = ['d:\\systemtemp\\pytest\\usession-py3.11-1733\\module_cache\\pypyapi'] library_dirs = [] def _build(cfilenames, outputfilename, compile_extra, link_extra, include_dirs, libraries, library_dirs): try: # monkeypatch distutils for some versions of msvc compiler import setuptools except ImportError: # XXX if this fails and is required, # we must call pypy -mensurepip after translation pass from distutils.ccompiler import new_compiler from distutils import sysconfig # XXX for Darwin running old versions of CPython 2.7.x sysconfig.get_config_vars() compiler = new_compiler(force=1) sysconfig.customize_compiler(compiler) # XXX objects = [] for cfile in cfilenames: cfile = py.path.local(cfile) old = cfile.dirpath().chdir() try: res = compiler.compile([cfile.basename], > include_dirs=include_dirs, extra_preargs=compile_extra) tool\cpyext\extbuild.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <distutils._msvccompiler.MSVCCompiler instance at 0x0000020ba2c9ef60> sources = ['source_0.c'], output_dir = None, macros = [] include_dirs = [local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\module\\cpyext\\PC'), local('d:\\systemtemp\\p...py\\module\\cpyext\\parse'), local('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\rpython\\translator\\c')] debug = 0 extra_preargs = ['/we4013', '/c', '/nologo', '/Ox', '/W3', '/GL', ...] extra_postargs = [], depends = None def compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None): if not self.initialized: self.initialize() compile_info = self._setup_compile(output_dir, macros, include_dirs, sources, depends, extra_postargs) macros, objects, extra_postargs, pp_opts, build = compile_info compile_opts = extra_preargs or [] compile_opts.append('/c') if debug: compile_opts.extend(self.compile_options_debug) else: compile_opts.extend(self.compile_options) add_cpp_opts = False for obj in objects: try: src, ext = build[obj] except KeyError: continue if debug: # pass the full pathname to MSVC in debug mode, # this allows the debugger to find the source file # without asking the user to browse for it src = os.path.abspath(src) if ext in self._c_extensions: input_opt = "/Tc" + src elif ext in self._cpp_extensions: input_opt = "/Tp" + src add_cpp_opts = True elif ext in self._rc_extensions: # compile .RC to .RES file input_opt = src output_opt = "/fo" + obj try: self.spawn([self.rc] + pp_opts + [output_opt, input_opt]) except DistutilsExecError as msg: raise CompileError(msg) continue elif ext in self._mc_extensions: # Compile .MC to .RC file to .RES file. # * '-h dir' specifies the directory for the # generated include file # * '-r dir' specifies the target directory of the # generated RC file and the binary message resource # it includes # # For now (since there are no options to change this), # we use the source-directory for the include file and # the build directory for the RC file and message # resources. This works at least for win32all. h_dir = os.path.dirname(src) rc_dir = os.path.dirname(obj) try: # first compile .MC to .RC and .H file self.spawn([self.mc, '-h', h_dir, '-r', rc_dir, src]) base, _ = os.path.splitext(os.path.basename (src)) rc_file = os.path.join(rc_dir, base + '.rc') # then compile .RC to .RES file self.spawn([self.rc, "/fo" + obj, rc_file]) except DistutilsExecError as msg: raise CompileError(msg) continue else: # how to handle this file? raise CompileError("Don't know how to compile {} to {}" .format(src, obj)) args = [self.cc] + compile_opts + pp_opts if add_cpp_opts: args.append('/EHsc') args.append(input_opt) args.append("/Fo" + obj) args.extend(extra_postargs) try: self.spawn(args) except DistutilsExecError as msg: > raise CompileError(msg) E CompileError: command 'd:\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2 d:\pypy_stuff\pypy2.7-v7.3.18\lib-python\2.7\distutils\_msvccompiler.py:403: CompileError ---------------------------- Captured stdout call ----------------------------- source_0.c source_0.c(11): error C2059: syntax error: ';' source_0.c(15): error C2040: 'B1': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(16): error C2040: 'B2': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(17): error C2040: 'B12': 'int' differs in levels of indirection from 'PyTypeObject *' source_0.c(19): error C2099: initializer is not a constant source_0.c(20): error C2099: initializer is not a constant source_0.c(21): error C2099: initializer is not a constant source_0.c(23): error C2143: syntax error: missing '{' before '->' source_0.c(23): error C2059: syntax error: '->' source_0.c(24): error C2143: syntax error: missing '{' before '->' source_0.c(24): error C2059: syntax error: '->' source_0.c(25): error C2143: syntax error: missing '{' before '->' source_0.c(25): error C2059: syntax error: '->' source_0.c(27): error C2143: syntax error: missing '{' before '->' source_0.c(27): error C2059: syntax error: '->' source_0.c(28): error C2143: syntax error: missing '{' before '->' source_0.c(28): error C2059: syntax error: '->' source_0.c(29): error C2143: syntax error: missing '{' before '->' source_0.c(29): error C2059: syntax error: '->' source_0.c(31): error C2059: syntax error: '<parameter-list>' source_0.c(32): error C2059: syntax error: '<parameter-list>' source_0.c(33): error C2059: syntax error: '<parameter-list>' source_0.c(34): error C2059: syntax error: '<parameter-list>' source_0.c(35): error C2059: syntax error: '<parameter-list>' source_0.c(36): error C2059: syntax error: '<parameter-list>' source_0.c(38): error C2143: syntax error: missing '{' before '->' source_0.c(38): error C2059: syntax error: '->' source_0.c(39): error C2143: syntax error: missing '{' before '->' source_0.c(39): error C2059: syntax error: '->' source_0.c(40): error C2143: syntax error: missing '{' before '->' source_0.c(40): error C2059: syntax error: '->' source_0.c(42): error C2143: syntax error: missing '{' before '->' source_0.c(42): error C2059: syntax error: '->' source_0.c(43): error C2143: syntax error: missing '{' before '->' source_0.c(43): error C2059: syntax error: '->' source_0.c(45): error C2059: syntax error: 'if' source_0.c(46): error C2059: syntax error: 'if' source_0.c(47): error C2059: syntax error: 'if' source_0.c(49): error C2099: initializer is not a constant source_0.c(50): error C2059: syntax error: 'return' source_0.c(52): error C2059: syntax error: '}' source_0.c(191): error C2065: 'foo_get_bases': undeclared identifier source_0.c(191): warning C4312: 'type cast': conversion from 'int' to 'PyCFunction' of greater size source_0.c(189): error C2099: initializer is not a constant source_0.c(191): warning C4047: 'initializing': 'PyCFunction' differs in levels of indirection from 'int' =========================== short test summary info =========================== FAIL module\cpyext\test\test_typeobject.py::AppTestSlots::()::test_multiple_inheritance3 ============== 1 failed, 61 passed, 2 skipped in 1228.06 seconds ============== ++ 08:03:28 starting module/crypt/test [106 started in total] __ module/crypt/test [103 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.10 seconds ========================== ++ 08:03:30 starting module/errno/test [107 started in total] __ module/errno/test [104 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\errno\test\test_errno.py ... ========================= 3 passed in 163.91 seconds ========================== ++ 08:06:20 starting module/exceptions/test [108 started in total] __ module/cpyext/test/test_userslots.py [105 done in total, somefailed=False] _ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items module\cpyext\test\test_userslots.py ....... ========================= 7 passed in 811.89 seconds ========================== called power ++ 08:08:45 starting module/faulthandler/test [109 started in total] __ module/cpyext/test/test_version.py [106 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items module\cpyext\test\test_version.py ... ========================= 3 passed in 641.59 seconds ========================== ++ 08:10:00 starting module/fcntl/test [110 started in total] __ module/faulthandler/test [107 done in total, somefailed=False] _____________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items / 1 skipped module\faulthandler\test\test_ztranslation.py . ==================== 1 passed, 1 skipped in 70.96 seconds ===================== ++ 08:10:00 starting module/gc/test [111 started in total] __ module/fcntl/test [108 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 7.90 seconds ========================== ++ 08:10:13 starting module/imp/test [112 started in total] __ module/exceptions/test [109 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 101 items module\exceptions\test\apptest_exceptions.py ..................................................... module\exceptions\test\test_exc.py ................................................ ======================== 101 passed in 232.35 seconds ========================= ++ 08:10:16 starting module/itertools/test [113 started in total] __ module/cpyext/test/test_weakref.py [110 done in total, somefailed=False] ___ [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items module\cpyext\test\test_weakref.py ..... ========================= 5 passed in 600.50 seconds ========================== ++ 08:14:47 starting module/marshal/test [114 started in total] __ module/gc/test [111 done in total, somefailed=False] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items module\gc\test\test_app_referents.py .... module\gc\test\test_gc.py .....x... module\gc\test\test_hook.py ........ module\gc\test\test_referents.py ...s.... module\gc\test\test_ztranslation.py . ============== 28 passed, 1 skipped, 1 xfailed in 293.49 seconds ============== ++ 08:14:57 starting module/math/test [115 started in total] __ module/itertools/test [112 done in total, somefailed=False] ________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 91 items module\itertools\test\apptest_itertools.py ......... module\itertools\test\test_itertools.py ................................................................................. module\itertools\test\test_ztranslation.py . ========================= 91 passed in 399.21 seconds ========================= ++ 08:17:03 starting module/micronumpy/test [116 started in total] __ module/micronumpy/test [113 done in total, somefailed=False] _______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ======================== no tests ran in 0.09 seconds ========================= ++ 08:17:49 starting module/mmap/test [117 started in total] __ module/imp/test [114 done in total, somefailed=True] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 123 items module\imp\test\test_app.py .E...................... module\imp\test\test_import.py ...............................................................s...........s......s..s.............. =================================== ERRORS ==================================== ___________ ERROR at teardown of AppTestImpModule.test_find_module ____________ self = <CallInfo when='teardown' exception: { array [ '%', 'L', 'E', '\x00' ]: ... File "d:\pypy_stuff\buildbot64\slav...bot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate flavor='raw') }> func = <function <lambda> at 0x00000248fcbe5718>, when = 'teardown' def __init__(self, func, when): #: context of invocation: one of "setup", "call", #: "teardown", "memocollect" self.when = when self.start = time() try: > self.result = func() ..\_pytest\runner.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > return CallInfo(lambda: ihook(item=item, **kwds), when=when) ..\_pytest\runner.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_teardown'> kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <App...rgs={...}>}>, 'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>} def __call__(self, **kwargs): assert not self.is_historic() > return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) ..\_pytest\vendored_packages\pluggy.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x00000248f05514b0> hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <App...rgs={...}>}>, 'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>} def _hookexec(self, hook, methods, kwargs): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook, methods, kwargs) ..\_pytest\vendored_packages\pluggy.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_runtest_teardown'>, methods = [] kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <App...rgs={...}>}>, 'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() ..\_pytest\vendored_packages\pluggy.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: > return _wrapped_call(hook_impl.function(*args), self.execute) ..\_pytest\vendored_packages\pluggy.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ wrap_controller = <generator object pytest_runtest_teardown at 0x00000248fc334cc8> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...h_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def _wrapped_call(wrap_controller, func): """ Wrap calling to a function with a generator which needs to yield exactly once. The yield point will trigger calling the wrapped function and return its _CallOutcome to the yield point. The generator then needs to finish (raise StopIteration) in order for the wrapped call to complete. """ try: next(wrap_controller) # first yield except StopIteration: _raise_wrapfail(wrap_controller, "did not yield") call_outcome = _CallOutcome(func) try: wrap_controller.send(call_outcome) _raise_wrapfail(wrap_controller, "has second yield") except StopIteration: pass > return call_outcome.get_result() ..\_pytest\vendored_packages\pluggy.py:253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000248fb2ec3a0> def get_result(self): if self.excinfo is None: return self.result else: ex = self.excinfo if _py3: raise ex[1].with_traceback(ex[2]) > _reraise(*ex) # noqa ..\_pytest\vendored_packages\pluggy.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00000248fb2ec3a0> func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...h_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}>> def __init__(self, func): try: > self.result = func() ..\_pytest\vendored_packages\pluggy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_find_module'>, 'nextitem': <AppTestMethod 'test_find_module_with_encoding'>, '__multicall__': <_MultiCall 0 results, 0 meths, kwargs={...}>}> def execute(self): all_kwargs = self.kwargs self.results = results = [] firstresult = self.specopts.get("firstresult") while self.hook_impls: hook_impl = self.hook_impls.pop() args = [all_kwargs[argname] for argname in hook_impl.argnames] if hook_impl.hookwrapper: return _wrapped_call(hook_impl.function(*args), self.execute) > res = hook_impl.function(*args) ..\_pytest\vendored_packages\pluggy.py:596: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.conftest.LeakFinder instance at 0x00000248f1d8dd20> item = <AppTestMethod 'test_find_module'> @pytest.hookimpl(trylast=True) def pytest_runtest_teardown(self, item): if not isinstance(item, py.test.collect.Function): return if (not getattr(item.obj, 'dont_track_allocations', False) and leakfinder.TRACK_ALLOCATIONS): kwds = {} try: kwds['do_collection'] = item.track_allocations_collect except AttributeError: pass item._pypytest_leaks = leakfinder.stop_tracking_allocations(False, **kwds) else: # stop_tracking_allocations() already called item._pypytest_leaks = None # check for leaks, but only if the test passed so far if getattr(item, '_success', False) and item._pypytest_leaks: > raise leakfinder.MallocMismatch(item._pypytest_leaks) E MallocMismatch: { E E array [ '%', 'L', 'E', '\x00' ]: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdataobj.py", line 13, in <module> E from pypy.module._cffi_backend import misc E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\misc.py", line 125, in <module> E FORMAT_LONGDOUBLE = rffi.str2charp("%LE") E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct cffi_ctxobj { ctx, info } at 0x248f0a5fba0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 738, in make_plain_ffi_object E r.__init__(space, src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 59, in __init__ E self.ctxobj = parse_c_type.allocate_ctxobj(src_ctx) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\parse_c_type.py", line 71, in allocate_ctxobj E p = lltype.malloc(CTXOBJ, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x248fbab5400>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 131, in ffiobj_init E ntypes = allocate_array(ffi, _CFFI_OPCODE_T, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x248f068dd60>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ffi_obj.py", line 191, in descr_init E w__typenames, w__includes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 146, in ffiobj_init E p = allocate(ffi, size) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x248f09942c0>: E <C object Array of Char {'nolength': True} at 0x248f0994440>: E <C object Array of Char {'nolength': True} at 0x248f0993de0>: E <C object Array of Char {'nolength': True} at 0x248f0993e20>: E <C object Array of Char {'nolength': True} at 0x248f0994420>: E <C object Array of Char {'nolength': True} at 0x248f0993ee0>: E <C object Array of Char {'nolength': True} at 0x248f0993f80>: E <C object Array of Char {'nolength': True} at 0x248f0994460>: E <C object Array of Char {'nolength': True} at 0x248f0993fa0>: E <C object Array of Char {'nolength': True} at 0x248f0993d60>: E <C object Array of Char {'nolength': True} at 0x248f0994be0>: E <C object Array of Char {'nolength': True} at 0x248f0994700>: E <C object Array of Char {'nolength': True} at 0x248f0994ac0>: E <C object Array of Char {'nolength': True} at 0x248f0994c00>: E <C object Array of Char {'nolength': True} at 0x248f0994500>: E <C object Array of Char {'nolength': True} at 0x248f0994920>: E <C object Array of Char {'nolength': True} at 0x248f0994900>: E <C object Array of Char {'nolength': True} at 0x248f09947e0>: E <C object Array of Char {'nolength': True} at 0x248f09949a0>: E <C object Array of Char {'nolength': True} at 0x248f77a6910>: E <C object Array of Char {'nolength': True} at 0x248f0994740>: E <C object Array of Char {'nolength': True} at 0x248f0994820>: E <C object Array of Char {'nolength': True} at 0x248f0994780>: E <C object Array of Char {'nolength': True} at 0x248f09946c0>: E <C object Array of Char {'nolength': True} at 0x248f09945a0>: E <C object Array of Char {'nolength': True} at 0x248f0994520>: E <C object Array of Char {'nolength': True} at 0x248f0994960>: E <C object Array of Char {'nolength': True} at 0x248f09945e0>: E <C object Array of Char {'nolength': True} at 0x248f0994980>: E <C object Array of Char {'nolength': True} at 0x248fae379e0>: E <C object Array of Char {'nolength': True} at 0x248f0994b80>: E <C object Array of Char {'nolength': True} at 0x248f0994b00>: E <C object Array of Char {'nolength': True} at 0x248f09949e0>: E <C object Array of Char {'nolength': True} at 0x248f0994b20>: E <C object Array of Char {'nolength': True} at 0x248f09948a0>: E <C object Array of Char {'nolength': True} at 0x248f0994580>: E <C object Array of Char {'nolength': True} at 0x248f0994760>: E <C object Array of Char {'nolength': True} at 0x248f0994560>: E <C object Array of Char {'nolength': True} at 0x248f09945c0>: E <C object Array of Char {'nolength': True} at 0x248fae378c0>: E <C object Array of Char {'nolength': True} at 0x248f09947a0>: E <C object Array of Char {'nolength': True} at 0x248fae37e60>: E <C object Array of Char {'nolength': True} at 0x248f0994540>: E <C object Array of Char {'nolength': True} at 0x248f09947c0>: E <C object Array of Char {'nolength': True} at 0x248fae37fe0>: E <C object Array of Char {'nolength': True} at 0x248f0994a40>: E <C object Array of Char {'nolength': True} at 0x248f09948e0>: E <C object Array of Char {'nolength': True} at 0x248f0994840>: E <C object Array of Char {'nolength': True} at 0x248f0994800>: E <C object Array of Char {'nolength': True} at 0x248f0994940>: E <C object Array of Char {'nolength': True} at 0x248f09948c0>: E <C object Array of Char {'nolength': True} at 0x248f0994860>: E <C object Array of Char {'nolength': True} at 0x248f0994880>: E <C object Array of Char {'nolength': True} at 0x248f0994a80>: E <C object Array of Char {'nolength': True} at 0x248f0994a00>: E <C object Array of Char {'nolength': True} at 0x248f0994ae0>: E <C object Array of Char {'nolength': True} at 0x248f0994aa0>: E <C object Array of Char {'nolength': True} at 0x248f0994600>: E <C object Array of Char {'nolength': True} at 0x248f0994a20>: E <C object Array of Char {'nolength': True} at 0x248f77ae380>: E <C object Array of Char {'nolength': True} at 0x248f0994b40>: E <C object Array of Char {'nolength': True} at 0x248f77ade20>: E <C object Array of Char {'nolength': True} at 0x248f0994ba0>: E <C object Array of Char {'nolength': True} at 0x248f0994a60>: E <C object Array of Char {'nolength': True} at 0x248f0994bc0>: E <C object Array of Char {'nolength': True} at 0x248f09946e0>: E <C object Array of Char {'nolength': True} at 0x248f09944e0>: E <C object Array of Char {'nolength': True} at 0x248f0994b60>: E <C object Array of Char {'nolength': True} at 0x248f0994c40>: E <C object Array of Char {'nolength': True} at 0x248f0994c80>: E <C object Array of Char {'nolength': True} at 0x248f0994620>: E <C object Array of Char {'nolength': True} at 0x248f09944a0>: E <C object Array of Char {'nolength': True} at 0x248f77ae6d0>: E <C object Array of Char {'nolength': True} at 0x248f77ada30>: E <C object Array of Char {'nolength': True} at 0x248f77adfb0>: E <C object Array of Char {'nolength': True} at 0x248f0994c20>: E <C object Array of Char {'nolength': True} at 0x248f77ae850>: E <C object Array of Char {'nolength': True} at 0x248f0994c60>: E <C object Array of Char {'nolength': True} at 0x248f0994660>: E <C object Array of Char {'nolength': True} at 0x248f77ae5c0>: E <C object Array of Char {'nolength': True} at 0x248f77ae7e0>: E <C object Array of Char {'nolength': True} at 0x248f0995220>: E <C object Array of Char {'nolength': True} at 0x248f0994f80>: E <C object Array of Char {'nolength': True} at 0x248f0994e60>: E <C object Array of Char {'nolength': True} at 0x248f77ad8a0>: E <C object Array of Char {'nolength': True} at 0x248f0994e80>: E <C object Array of Char {'nolength': True} at 0x248f77ad720>: E <C object Array of Char {'nolength': True} at 0x248f77ad7c0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 153, in ffiobj_init E nglobs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x248f61722f0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 174, in ffiobj_init E nstructs = allocate_array(ffi, STRUCT_UNION_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x248f7434fa0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 175, in ffiobj_init E nfields = allocate_array(ffi, FIELD_S, nftot) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x248f77a64f0>: E <C object Array of Char {'nolength': True} at 0x248f77ae370>: E <C object Array of Char {'nolength': True} at 0x248f77a6610>: E <C object Array of Char {'nolength': True} at 0x248f77aee40>: E <C object Array of Char {'nolength': True} at 0x248f77adc40>: E <C object Array of Char {'nolength': True} at 0x248f77a68c0>: E <C object Array of Char {'nolength': True} at 0x248f77ae470>: E <C object Array of Char {'nolength': True} at 0x248f77ae1f0>: E <C object Array of Char {'nolength': True} at 0x248f77ae3a0>: E <C object Array of Char {'nolength': True} at 0x248f77ae8b0>: E <C object Array of Char {'nolength': True} at 0x248f77aead0>: E <C object Array of Char {'nolength': True} at 0x248f0995380>: E <C object Array of Char {'nolength': True} at 0x248f0994e40>: E <C object Array of Char {'nolength': True} at 0x248f0995060>: E <C object Array of Char {'nolength': True} at 0x248f77ae330>: E <C object Array of Char {'nolength': True} at 0x248f0994de0>: E <C object Array of Char {'nolength': True} at 0x248f77a6e80>: E <C object Array of Char {'nolength': True} at 0x248f0995120>: E <C object Array of Char {'nolength': True} at 0x248f0995300>: E <C object Array of Char {'nolength': True} at 0x248fae37920>: E <C object Array of Char {'nolength': True} at 0x248f0994ee0>: E <C object Array of Char {'nolength': True} at 0x248f0994ca0>: E <C object Array of Char {'nolength': True} at 0x248f0995840>: E <C object Array of Char {'nolength': True} at 0x248f0995ae0>: E <C object Array of Char {'nolength': True} at 0x248f09959e0>: E <C object Array of Char {'nolength': True} at 0x248f0995520>: E <C object Array of Char {'nolength': True} at 0x248f0995bc0>: E <C object Array of Char {'nolength': True} at 0x248fae37530>: E <C object Array of Char {'nolength': True} at 0x248f77a8850>: E <C object Array of Char {'nolength': True} at 0x248f0995820>: E <C object Array of Char {'nolength': True} at 0x248f0995740>: E <C object Array of Char {'nolength': True} at 0x248f0995960>: E <C object Array of Char {'nolength': True} at 0x248f0994320>: E <C object Array of Char {'nolength': True} at 0x248f77a7770>: E <C object Array of Char {'nolength': True} at 0x248f0993d80>: E <C object Array of Char {'nolength': True} at 0x248f0993d00>: E <C object Array of Char {'nolength': True} at 0x248f0994400>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 185, in ffiobj_init E nstructs[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x248f0994fc0>: E <C object Array of Char {'nolength': True} at 0x248f77adc60>: E <C object Array of Char {'nolength': True} at 0x248f77ad9f0>: E <C object Array of Char {'nolength': True} at 0x248f77ae3b0>: E <C object Array of Char {'nolength': True} at 0x248f77aeb00>: E <C object Array of Char {'nolength': True} at 0x248f77aee60>: E <C object Array of Char {'nolength': True} at 0x248f77ae600>: E <C object Array of Char {'nolength': True} at 0x248f77aec00>: E <C object Array of Char {'nolength': True} at 0x248f77ae750>: E <C object Array of Char {'nolength': True} at 0x248f0994fa0>: E <C object Array of Char {'nolength': True} at 0x248f0994fe0>: E <C object Array of Char {'nolength': True} at 0x248f0995040>: E <C object Array of Char {'nolength': True} at 0x248f0994d20>: E <C object Array of Char {'nolength': True} at 0x248f0995000>: E <C object Array of Char {'nolength': True} at 0x248f0995360>: E <C object Array of Char {'nolength': True} at 0x248f0994d40>: E <C object Array of Char {'nolength': True} at 0x248f0995260>: E <C object Array of Char {'nolength': True} at 0x248f77a6400>: E <C object Array of Char {'nolength': True} at 0x248f77a6e10>: E <C object Array of Char {'nolength': True} at 0x248f77aede0>: E <C object Array of Char {'nolength': True} at 0x248f77a6760>: E <C object Array of Char {'nolength': True} at 0x248f77a6570>: E <C object Array of Char {'nolength': True} at 0x248f77addb0>: E <C object Array of Char {'nolength': True} at 0x248f09951a0>: E <C object Array of Char {'nolength': True} at 0x248f0995280>: E <C object Array of Char {'nolength': True} at 0x248f77a6c50>: E <C object Array of Char {'nolength': True} at 0x248f77ade40>: E <C object Array of Char {'nolength': True} at 0x248f77ae080>: E <C object Array of Char {'nolength': True} at 0x248f0995020>: E <C object Array of Char {'nolength': True} at 0x248f77ae000>: E <C object Array of Char {'nolength': True} at 0x248f09952a0>: E <C object Array of Char {'nolength': True} at 0x248f09952c0>: E <C object Array of Char {'nolength': True} at 0x248f77a6c40>: E <C object Array of Char {'nolength': True} at 0x248f77aec30>: E <C object Array of Char {'nolength': True} at 0x248f0995080>: E <C object Array of Char {'nolength': True} at 0x248f09951c0>: E <C object Array of Char {'nolength': True} at 0x248f77ae5f0>: E <C object Array of Char {'nolength': True} at 0x248f77a6820>: E <C object Array of Char {'nolength': True} at 0x248f77a71f0>: E <C object Array of Char {'nolength': True} at 0x248f77adf30>: E <C object Array of Char {'nolength': True} at 0x248f77a6aa0>: E <C object Array of Char {'nolength': True} at 0x248f0994e00>: E <C object Array of Char {'nolength': True} at 0x248f09953c0>: E <C object Array of Char {'nolength': True} at 0x248f09951e0>: E <C object Array of Char {'nolength': True} at 0x248f77a6f80>: E <C object Array of Char {'nolength': True} at 0x248f0994da0>: E <C object Array of Char {'nolength': True} at 0x248f0994dc0>: E <C object Array of Char {'nolength': True} at 0x248f09950c0>: E <C object Array of Char {'nolength': True} at 0x248f0995340>: E <C object Array of Char {'nolength': True} at 0x248f09953a0>: E <C object Array of Char {'nolength': True} at 0x248f09950a0>: E <C object Array of Char {'nolength': True} at 0x248f77a7410>: E <C object Array of Char {'nolength': True} at 0x248f77a7af0>: E <C object Array of Char {'nolength': True} at 0x248f09950e0>: E <C object Array of Char {'nolength': True} at 0x248f77a7990>: E <C object Array of Char {'nolength': True} at 0x248f77a7e70>: E <C object Array of Char {'nolength': True} at 0x248f77a6490>: E <C object Array of Char {'nolength': True} at 0x248f77a76e0>: E <C object Array of Char {'nolength': True} at 0x248f0994f00>: E <C object Array of Char {'nolength': True} at 0x248f77a72f0>: E <C object Array of Char {'nolength': True} at 0x248f0995140>: E <C object Array of Char {'nolength': True} at 0x248f0994d60>: E <C object Array of Char {'nolength': True} at 0x248f0994f20>: E <C object Array of Char {'nolength': True} at 0x248f0994ec0>: E <C object Array of Char {'nolength': True} at 0x248f77a78b0>: E <C object Array of Char {'nolength': True} at 0x248f0994d80>: E <C object Array of Char {'nolength': True} at 0x248f0995160>: E <C object Array of Char {'nolength': True} at 0x248f09952e0>: E <C object Array of Char {'nolength': True} at 0x248f09953e0>: E <C object Array of Char {'nolength': True} at 0x248f0995200>: E <C object Array of Char {'nolength': True} at 0x248f0995420>: E <C object Array of Char {'nolength': True} at 0x248f77a7c20>: E <C object Array of Char {'nolength': True} at 0x248f77aec80>: E <C object Array of Char {'nolength': True} at 0x248f77a7930>: E <C object Array of Char {'nolength': True} at 0x248f0995460>: E <C object Array of Char {'nolength': True} at 0x248f0995400>: E <C object Array of Char {'nolength': True} at 0x248f0995320>: E <C object Array of Char {'nolength': True} at 0x248f0994f40>: E <C object Array of Char {'nolength': True} at 0x248f0995700>: E <C object Array of Char {'nolength': True} at 0x248f09955a0>: E <C object Array of Char {'nolength': True} at 0x248f09957e0>: E <C object Array of Char {'nolength': True} at 0x248f0995580>: E <C object Array of Char {'nolength': True} at 0x248f77a6ce0>: E <C object Array of Char {'nolength': True} at 0x248f09957c0>: E <C object Array of Char {'nolength': True} at 0x248f0995660>: E <C object Array of Char {'nolength': True} at 0x248f0995800>: E <C object Array of Char {'nolength': True} at 0x248f0995720>: E <C object Array of Char {'nolength': True} at 0x248f0995760>: E <C object Array of Char {'nolength': True} at 0x248f77a7150>: E <C object Array of Char {'nolength': True} at 0x248f0995aa0>: E <C object Array of Char {'nolength': True} at 0x248f0995620>: E <C object Array of Char {'nolength': True} at 0x248f77a86d0>: E <C object Array of Char {'nolength': True} at 0x248f0995b40>: E <C object Array of Char {'nolength': True} at 0x248f77a81a0>: E <C object Array of Char {'nolength': True} at 0x248f0995a40>: E <C object Array of Char {'nolength': True} at 0x248f77a7f50>: E <C object Array of Char {'nolength': True} at 0x248f77a8c50>: E <C object Array of Char {'nolength': True} at 0x248f77a7000>: E <C object Array of Char {'nolength': True} at 0x248f0995b00>: E <C object Array of Char {'nolength': True} at 0x248f0995be0>: E <C object Array of Char {'nolength': True} at 0x248f0995780>: E <C object Array of Char {'nolength': True} at 0x248f0995680>: E <C object Array of Char {'nolength': True} at 0x248f0995860>: E <C object Array of Char {'nolength': True} at 0x248f0995b60>: E <C object Array of Char {'nolength': True} at 0x248f09957a0>: E <C object Array of Char {'nolength': True} at 0x248f0995ba0>: E <C object Array of Char {'nolength': True} at 0x248f09956c0>: E <C object Array of Char {'nolength': True} at 0x248f09954c0>: E <C object Array of Char {'nolength': True} at 0x248f09958c0>: E <C object Array of Char {'nolength': True} at 0x248f09954a0>: E <C object Array of Char {'nolength': True} at 0x248f0995a20>: E <C object Array of Char {'nolength': True} at 0x248f09958e0>: E <C object Array of Char {'nolength': True} at 0x248f0995920>: E <C object Array of Char {'nolength': True} at 0x248f0995b80>: E <C object Array of Char {'nolength': True} at 0x248f0995880>: E <C object Array of Char {'nolength': True} at 0x248f0995900>: E <C object Array of Char {'nolength': True} at 0x248f09955c0>: E <C object Array of Char {'nolength': True} at 0x248f09958a0>: E <C object Array of Char {'nolength': True} at 0x248f0995980>: E <C object Array of Char {'nolength': True} at 0x248f09956e0>: E <C object Array of Char {'nolength': True} at 0x248f0995540>: E <C object Array of Char {'nolength': True} at 0x248f0995a60>: E <C object Array of Char {'nolength': True} at 0x248f09955e0>: E <C object Array of Char {'nolength': True} at 0x248f77a8060>: E <C object Array of Char {'nolength': True} at 0x248f0992ca0>: E <C object Array of Char {'nolength': True} at 0x248f0992cc0>: E <C object Array of Char {'nolength': True} at 0x248f0992dc0>: E <C object Array of Char {'nolength': True} at 0x248f0993ce0>: E <C object Array of Char {'nolength': True} at 0x248f77a9590>: E <C object Array of Char {'nolength': True} at 0x248f77a8d10>: E <C object Array of Char {'nolength': True} at 0x248f0994000>: E <C object Array of Char {'nolength': True} at 0x248f77a7810>: E <C object Array of Char {'nolength': True} at 0x248f09942a0>: E <C object Array of Char {'nolength': True} at 0x248f0994020>: E <C object Array of Char {'nolength': True} at 0x248f0993dc0>: E <C object Array of Char {'nolength': True} at 0x248f0993f60>: E <C object Array of Char {'nolength': True} at 0x248f0993e60>: E <C object Array of Char {'nolength': True} at 0x248f0993ea0>: E <C object Array of Char {'nolength': True} at 0x248f0993f20>: E <C object Array of Char {'nolength': True} at 0x248f0994080>: E <C object Array of Char {'nolength': True} at 0x248f77a9c80>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 209, in ffiobj_init E nfields[nf].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Array of Char {'nolength': True} at 0x248f67042d0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 235, in ffiobj_init E ntypenames = allocate_array(ffi, TYPENAME_S, n) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 109, in allocate_array E p = allocate(ffi, nitems * nbytes) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 102, in allocate E p = lltype.malloc(rffi.CCHARP.TO, nbytes, flavor='raw', zero=True) E E <C object Array of Char {'nolength': True} at 0x248f0994340>: E <C object Array of Char {'nolength': True} at 0x248f0994680>: E <C object Array of Char {'nolength': True} at 0x248f507ad30>: E <C object Array of Char {'nolength': True} at 0x248f0992fa0>: E <C object Array of Char {'nolength': True} at 0x248f09940a0>: E <C object Array of Char {'nolength': True} at 0x248f0994ce0>: E <C object Array of Char {'nolength': True} at 0x248f09956a0>: E <C object Array of Char {'nolength': True} at 0x248f507ad20>: E <C object Array of Char {'nolength': True} at 0x248f19a3ec0>: E <C object Array of Char {'nolength': True} at 0x248f507a510>: E <C object Array of Char {'nolength': True} at 0x248f19a3e80>: E <C object Array of Char {'nolength': True} at 0x248f19a3ea0>: E <C object Array of Char {'nolength': True} at 0x248f19a38e0>: E <C object Array of Char {'nolength': True} at 0x248f19a3be0>: E <C object Array of Char {'nolength': True} at 0x248f19a3900>: E <C object Array of Char {'nolength': True} at 0x248f77a84c0>: E <C object Array of Char {'nolength': True} at 0x248f19a3c40>: E <C object Array of Char {'nolength': True} at 0x248fae37860>: E <C object Array of Char {'nolength': True} at 0x248f19a3940>: E <C object Array of Char {'nolength': True} at 0x248f19a3f40>: E <C object Array of Char {'nolength': True} at 0x248f77a7d60>: E <C object Array of Char {'nolength': True} at 0x248f19a3800>: E <C object Array of Char {'nolength': True} at 0x248f19a3f60>: E <C object Array of Char {'nolength': True} at 0x248f19a3d00>: E <C object Array of Char {'nolength': True} at 0x248f19a39e0>: E <C object Array of Char {'nolength': True} at 0x248f19a3c20>: E <C object Array of Char {'nolength': True} at 0x248f19a3d20>: E <C object Array of Char {'nolength': True} at 0x248f19a3a20>: E <C object Array of Char {'nolength': True} at 0x248fae37590>: E <C object Array of Char {'nolength': True} at 0x248f19a3cc0>: E <C object Array of Char {'nolength': True} at 0x248f19a3e40>: E <C object Array of Char {'nolength': True} at 0x248fae37c20>: E <C object Array of Char {'nolength': True} at 0x248f19a39a0>: E <C object Array of Char {'nolength': True} at 0x248f19a37a0>: E <C object Array of Char {'nolength': True} at 0x248f19a38c0>: E <C object Array of Char {'nolength': True} at 0x248f77a9d40>: E <C object Array of Char {'nolength': True} at 0x248f19a3f00>: E <C object Array of Char {'nolength': True} at 0x248f19a37e0>: E <C object Array of Char {'nolength': True} at 0x248f77a9400>: E <C object Array of Char {'nolength': True} at 0x248fae37b90>: E <C object Array of Char {'nolength': True} at 0x248f19a3d60>: E <C object Array of Char {'nolength': True} at 0x248f19a3c60>: E <C object Array of Char {'nolength': True} at 0x248f19a3920>: E <C object Array of Char {'nolength': True} at 0x248f19a3ba0>: E <C object Array of Char {'nolength': True} at 0x248f19a3dc0>: E <C object Array of Char {'nolength': True} at 0x248f19a4640>: E <C object Array of Char {'nolength': True} at 0x248f19a43e0>: E <C object Array of Char {'nolength': True} at 0x248f19a4500>: E <C object Array of Char {'nolength': True} at 0x248f19a4340>: E <C object Array of Char {'nolength': True} at 0x248f77a9bd0>: E <C object Array of Char {'nolength': True} at 0x248f19a46c0>: E <C object Array of Char {'nolength': True} at 0x248f19a4140>: E <C object Array of Char {'nolength': True} at 0x248f19a4380>: E <C object Array of Char {'nolength': True} at 0x248f19a40e0>: E <C object Array of Char {'nolength': True} at 0x248f19a44c0>: E <C object Array of Char {'nolength': True} at 0x248f19a4600>: E <C object Array of Char {'nolength': True} at 0x248f77a93e0>: E <C object Array of Char {'nolength': True} at 0x248f19a41c0>: E <C object Array of Char {'nolength': True} at 0x248f19a4160>: E <C object Array of Char {'nolength': True} at 0x248f19a45e0>: E <C object Array of Char {'nolength': True} at 0x248f19a3fa0>: E <C object Array of Char {'nolength': True} at 0x248fae37a10>: E <C object Array of Char {'nolength': True} at 0x248f77a9b90>: E <C object Array of Char {'nolength': True} at 0x248f19a4200>: E <C object Array of Char {'nolength': True} at 0x248f19a4260>: E <C object Array of Char {'nolength': True} at 0x248f77a8ac0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 239, in ffiobj_init E ntypenames[i].c_name = decoder.next_name() E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\cdlopen.py", line 92, in next_name E p = rffi.str2charp(self.string[frm : i]) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 829, in str2charp E array = lltype.malloc(TYPEP.TO, len(s) + 1, flavor='raw', track_allocation=True) E E <C object Struct CIF_DESCRIPTION { cif, abi, nargs, rtype, atypes, exchange_size, exchange_result, exchange_args } at 0x248f8d0a1e0>: E ... E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\newtype.py", line 752, in _build_function_type E fct = ctypefunc.W_CTypeFunc(space, fargs, fresult, ellipsis, abi) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 53, in __init__ E builder.rawallocate(self) E File "d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\_cffi_backend\ctypefunc.py", line 523, in rawallocate E flavor='raw') E } ..\rpython\conftest.py:103: MallocMismatch ============== 119 passed, 4 skipped, 1 error in 584.23 seconds =============== ++ 08:20:01 starting module/operator/test [118 started in total] __ module/marshal/test [115 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 51 items module\marshal\test\apptest_marshal.py ............................................... module\marshal\test\test_marshal.py s module\marshal\test\test_marshalimpl.py ... =================== 50 passed, 1 skipped in 395.86 seconds ==================== ++ 08:21:33 starting module/posix/test [119 started in total] __ module/math/test [116 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 209 items module\math\test\apptest_math.py ...........s module\math\test\test_direct.py ...................................................................................................................................................................... module\math\test\test_math.py ............s.................. =================== 207 passed, 2 skipped in 480.62 seconds =================== ++ 08:23:03 starting module/pwd/test [120 started in total] __ module/mmap/test [117 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module\mmap\test\test_mmap.py ....s.................s........s..ss....s..s.. =================== 39 passed, 7 skipped in 344.01 seconds ==================== ++ 08:23:36 starting module/pyexpat/test [121 started in total] __ module/pwd/test [118 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 2 skipped ========================= 2 skipped in 46.24 seconds ========================== ++ 08:23:58 starting module/pypyjit/test [122 started in total] __ module/operator/test [119 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 28 items module\operator\test\test_operator.py ........................ module\operator\test\test_tscmp.py .... ========================= 28 passed in 330.79 seconds ========================= ++ 08:25:40 starting module/select/test [123 started in total] __ module/pypyjit/test [120 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items module\pypyjit\test\test_jit_hook.py ........s module\pypyjit\test\test_jit_not_in_trace.py .. module\pypyjit\test\test_jit_setup.py .... module\pypyjit\test\test_policy.py ............ module\pypyjit\test\test_pyframe.py . module\pypyjit\test\test_ztranslation.py . =================== 28 passed, 1 skipped in 314.12 seconds ==================== ++ 08:29:15 starting module/signal/test [124 started in total] __ module/posix/test [121 done in total, somefailed=True] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 115 items / 1 skipped module\posix\test\apptest_posix.py ..... module\posix\test\test_interp_posix.py s... module\posix\test\test_nt.py .. module\posix\test\test_posix2.py .....................s........sssssss.....s..s....ss...Fs....s.s....s......F.......s module\posix\test\test_scandir.py ....s..ssss.s....... ================================== FAILURES =================================== _______________________ AppTestPosix.test_urandom_large _______________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001367ec564f0> def test_urandom_large(self): os = self.posix import sys if sys.maxsize < 2**32: skip("2GB allocation is too large for 32-bit") length = 2147479553 > s = os.urandom(length) E (application-level) MemoryError [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\posix\test\test_posix2.py:1623]:7: MemoryError ________________________ AppTestNt.test_dll_directory _________________________ self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000001367f17f718> def test_dll_directory(self): nt = self.posix > ret = nt._add_dll_directory(b'c:\\') E (application-level) TypeError: expected str, got bytes object [d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pypy\module\posix\test\test_posix2.py:1945]:3: TypeError =========================== short test summary info =========================== FAIL module\posix\test\test_posix2.py::AppTestPosix::()::test_urandom_large FAIL module\posix\test\test_posix2.py::AppTestNt::()::test_dll_directory ============== 2 failed, 89 passed, 25 skipped in 482.49 seconds ============== ++ 08:29:40 starting module/struct/test [125 started in total] __ module/pyexpat/test [122 done in total, somefailed=True] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 21 items module\pyexpat\test\apptest_pyexpat.py .FF module\pyexpat\test\test_build.py . module\pyexpat\test\test_parser.py ................. ================================== FAILURES =================================== ________________________ test_set_activation_threshold ________________________ def test_set_activation_threshold(): parser = pyexpat.ParserCreate() # Raises on error > parser.SetAllocTrackerActivationThreshold(1000) E (application-level) ExpatError: parser must be a root parser module\pyexpat\test\apptest_pyexpat.py:14: ExpatError _______________________ test_set_maximum_amplification ________________________ def test_set_maximum_amplification(): parser = pyexpat.ParserCreate() # Raises on error > parser.SetAllocTrackerMaximumAmplification(3.0) E (application-level) ExpatError: parser must be a root parser module\pyexpat\test\apptest_pyexpat.py:19: ExpatError =========================== short test summary info =========================== FAIL module\pyexpat\test\apptest_pyexpat.py::test_set_activation_threshold FAIL module\pyexpat\test\apptest_pyexpat.py::test_set_maximum_amplification ==================== 2 failed, 19 passed in 450.93 seconds ==================== ++ 08:31:12 starting module/sys/test [126 started in total] __ module/select/test [123 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 46 items module\select\test\test_epoll.py ssssssssss module\select\test\test_kqueue.py ssssss module\select\test\test_select.py ssssssssssssssss..........ss module\select\test\test_select_signal.py s module\select\test\test_ztranslation.py . =================== 11 passed, 35 skipped in 545.08 seconds =================== ++ 08:34:54 starting module/termios/test [127 started in total] __ module/termios/test [124 done in total, somefailed=False] __________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 3.64 seconds ========================== ++ 08:35:01 starting module/test_lib_pypy [128 started in total] __ module/signal/test [125 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 27 items module\signal\test\apptest_signal.py s module\signal\test\test_signal.py s.s.....ss..s...sssssss... =================== 14 passed, 13 skipped in 431.25 seconds =================== ++ 08:36:31 starting module/thread/test [129 started in total] __ module/struct/test [126 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 52 items module\struct\test\apptest_struct.py .......................................... module\struct\test\apptest_structbuffer.py .. module\struct\test\test_struct.py ....... module\struct\test\test_ztranslation.py . ========================= 52 passed in 476.16 seconds ========================= ++ 08:37:40 starting module/time/test [130 started in total] __ module/sys/test [127 done in total, somefailed=True] _______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 96 items module\sys\test\apptest_audit.py ......... module\sys\test\apptest_initpath.py F module\sys\test\apptest_sys.py . module\sys\test\test_encoding.py .s module\sys\test\test_initpath.py ..s...... module\sys\test\test_sysmodule.py .....................ss..................ss........................ module\sys\test\test_version.py ....... ================================== FAILURES =================================== __________________________ test_pypy_find_executable __________________________ def test_pypy_find_executable(): # issue #4003 import sys executable = sys.pypy_find_executable('*') if sys.platform == 'win32': > assert executable.endswith('.exe') E (application-level) AssertionError: assert False E + where False = <built-in method endswith of str object at 0x000000000000101b>('.exe') E + where <built-in method endswith of str object at 0x000000000000101b> = ''.endswith module\sys\test\apptest_initpath.py:9: AssertionError =========================== short test summary info =========================== FAIL module\sys\test\apptest_initpath.py::test_pypy_find_executable ============== 1 failed, 89 passed, 6 skipped in 694.25 seconds =============== ++ 08:42:53 starting module/token/test [131 started in total] __ module/test_lib_pypy [128 done in total, somefailed=False] _________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 238 items / 5 skipped module\test_lib_pypy\test_code_module.py ... module\test_lib_pypy\test_collections.py ..................... module\test_lib_pypy\test_marshal_extra.py ....................................................................................................................................................... module\test_lib_pypy\test_md5_extra.py ...... module\test_lib_pypy\test_pickle_extra.py s module\test_lib_pypy\test_sha_extra.py ..... module\test_lib_pypy\test_site_extra.py . module\test_lib_pypy\test_stackless.py .............................. module\test_lib_pypy\test_stackless_pickling.py .. module\test_lib_pypy\test_structseq.py ........... module\test_lib_pypy\test_tputil.py ..s.... =================== 236 passed, 7 skipped in 514.07 seconds =================== ++ 08:43:39 starting module/unicodedata/test [132 started in total] __ module/time/test [129 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 43 items module\time\test\apptest_time.py ....ssss..........ss....s.s...........s.. module\time\test\test_timeutils.py . module\time\test\test_ztranslation.py . =================== 34 passed, 9 skipped in 502.55 seconds ==================== ++ 08:46:10 starting module/zipimport/test [133 started in total] __ module/token/test [130 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 8 items module\token\test\apptest_token.py ........ ========================= 8 passed in 240.78 seconds ========================== ++ 08:46:59 starting module/zlib/test [134 started in total] __ module/unicodedata/test [131 done in total, somefailed=False] ______________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 35 items module\unicodedata\test\test_hyp.py ................ module\unicodedata\test\test_unicodedata.py ................... ========================= 35 passed in 257.65 seconds ========================= ++ 08:47:59 starting objspace/fake/test [135 started in total] __ module/zipimport/test [132 done in total, somefailed=False] ________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items module\zipimport\test\apptest_zipimport.py . ========================= 1 passed in 173.37 seconds ========================== ++ 08:49:08 starting objspace/std/test [136 started in total] __ module/thread/test [133 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 56 items module\thread\test\test_fork.py ssss module\thread\test\test_gil.py .... module\thread\test\test_import_lock.py ..... module\thread\test\test_local.py ....... module\thread\test\test_lock.py ...............ssss.. module\thread\test\test_thread.py .............s. =================== 47 passed, 9 skipped in 793.79 seconds ==================== ++ 08:49:54 starting objspace/test [137 started in total] __ module/zlib/test [134 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 38 items module\zlib\test\test_zlib.py ...................................... ========================= 38 passed in 249.85 seconds ========================= ++ 08:51:18 starting sandbox/test [138 started in total] __ sandbox/test [135 done in total, somefailed=False] _________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================= 1 skipped in 29.73 seconds ========================== ++ 08:51:53 starting tool/bench/test [139 started in total] __ tool/bench/test [136 done in total, somefailed=False] ______________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items / 1 skipped [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\bench\test\test_pypyresult.py ... ==================== 3 passed, 1 skipped in 48.32 seconds ===================== ++ 08:52:47 starting tool/memusage/test [140 started in total] __ objspace/fake/test [137 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items objspace\fake\test\test_checkmodule.py ........ objspace\fake\test\test_objspace.py ............. ========================= 21 passed in 305.28 seconds ========================= ++ 08:53:08 starting tool/pytest/fake_pytest/test [141 started in total] __ tool/memusage/test [138 done in total, somefailed=False] ___________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\memusage\test\test_log2gnumeric.py ..... ========================== 5 passed in 68.40 seconds ========================== ++ 08:54:02 starting tool/pytest/test [142 started in total] __ objspace/test [139 done in total, somefailed=False] ________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 75 items objspace\test\apptest_binop_overriding.py . objspace\test\apptest_descriptor.py ....s.... objspace\test\apptest_descroperation.py ................s...................................... objspace\test\test_descroperation.py .......... =================== 73 passed, 2 skipped in 293.09 seconds ==================== ++ 08:54:49 starting tool/release/test [143 started in total] __ tool/pytest/fake_pytest/test [140 done in total, somefailed=False] _________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 1 items tool\pytest\fake_pytest\test\apptest_fake_pytest.py . ========================= 1 passed in 254.88 seconds ========================== ++ 08:57:28 starting tool/test [144 started in total] __ tool/release/test [141 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\release\test\test_package.py ...ss tool\release\test\test_smartstrip.py sss ==================== 3 passed, 5 skipped in 351.44 seconds ==================== __ tool/test [142 done in total, somefailed=False] ____________________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True tool\test\test_gdb_pypy.py ........... tool\test\test_getdocstrings.py ... tool\test\test_isolate.py ....... tool\test\test_lib_pypy.py ... tool\test\test_license.py . tool\test\test_package.py . tool\test\test_tab.py .. tool\test\test_template.py . ========================= 29 passed in 425.46 seconds ========================= __ objspace/std/test [143 done in total, somefailed=False] ____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 [platform:msg] Updated environment with vsver 160, using x64 True [platform:msg] Updated environment with vsver 160, using x64 True collected 2523 items objspace\std\test\apptest_boolobject.py ......... objspace\std\test\apptest_bytearrayobject.py ..... objspace\std\test\apptest_callmethod.py .......... objspace\std\test\apptest_complexobject.py .................................... objspace\std\test\apptest_contains.py .. objspace\std\test\apptest_fstring.py ..................... objspace\std\test\apptest_instmethobject.py ..... objspace\std\test\apptest_iterobject.py ..................... objspace\std\test\apptest_memoryobject.py ........ objspace\std\test\apptest_operation.py . objspace\std\test\apptest_specializedtuple.py ........................ objspace\std\test\apptest_stringformat.py .................s......s..................s........................ objspace\std\test\apptest_tuple.py ........................ objspace\std\test\apptest_typeobjject.py ........ objspace\std\test\apptest_unicode.py ...........................s.......................................................................................... objspace\std\test\apptest_userobject.py ........................ objspace\std\test\test_boolobject.py ....... objspace\std\test\test_bytearrayobject.py ...................................................................................... objspace\std\test\test_bytesobject.py ................................................................................s....................... objspace\std\test\test_callmethod.py ... objspace\std\test\test_celldict.py .......................................... objspace\std\test\test_complexobject.py .... objspace\std\test\test_dictmultiobject.py .........s.s.........................................................s.........................................................s........................................................................... objspace\std\test\test_dictproxy.py ................ objspace\std\test\test_floatobject.py ...................................................... objspace\std\test\test_identitydict.py ..... objspace\std\test\test_identityset.py ....... objspace\std\test\test_index.py ................................... objspace\std\test\test_intobject.py ..........................s.................................................................................................................................... objspace\std\test\test_iterobject.py .... objspace\std\test\test_jsondict.py .......... objspace\std\test\test_kwargsdict.py .................................... objspace\std\test\test_lengthhint.py ..................... objspace\std\test\test_listobject.py .................................................................................................................. objspace\std\test\test_liststrategies.py ...................................................................s................................................................... objspace\std\test\test_longobject.py .................................................... objspace\std\test\test_mapdict.py ..........................................................................................s....................................................... objspace\std\test\test_memoryobject.py ............................................. objspace\std\test\test_methodcache.py ............................................................................................. objspace\std\test\test_newformat.py ................................................................. objspace\std\test\test_noneobject.py ... objspace\std\test\test_obj.py ....................................... objspace\std\test\test_prebuiltint.py ............................................................... objspace\std\test\test_proxy.py ssssssssssss objspace\std\test\test_proxy_function.py ........ objspace\std\test\test_proxy_internals.py ....... objspace\std\test\test_proxy_iter.py . objspace\std\test\test_proxy_object.py .......... objspace\std\test\test_proxy_usercreated.py . objspace\std\test\test_random_attr.py s.... objspace\std\test\test_setobject.py ................................................................................................. objspace\std\test\test_setstrategies.py ....s...ss... objspace\std\test\test_sliceobject.py ............. objspace\std\test\test_smalllongobject.py ..........................s...................................................................................................................................................s.................................................................... objspace\std\test\test_specialisedtupleobject.py ....................ss.... objspace\std\test\test_stdobjspace.py s........ objspace\std\test\test_translate.py . objspace\std\test\test_typeobject.py ............................................................................................................. objspace\std\test\test_unicodeobject.py ................. objspace\std\test\test_userobject.py . objspace\std\test\test_versionedtype.py ............... ================== 2490 passed, 33 skipped in 952.05 seconds ================== __ tool/pytest/test [144 done in total, somefailed=False] _____________________ ============================= test session starts ============================= platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\own-win-x86-64\\build\\pypy\\.hypothesis\\examples') pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build\pytest.pyc rootdir: d:\pypy_stuff\buildbot64\slave\own-win-x86-64\build, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items tool\pytest\test\test_appsupport.py ......... tool\pytest\test\test_astrewrite.py ..... tool\pytest\test\test_conftest1.py ...xx tool\pytest\test\test_pytestsupport.py ...... =================== 23 passed, 2 xfailed in 1621.66 seconds =================== program finished with exit code 1 elapsedTime=20314.119000