virt_test/bin/python testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py '--config=~/machine_cfg.py' --root=pypy --timeout=4000
in dir /Users/matti/build-worker-arm64/own-macos-arm64/build (timeout 4000 secs)
watching logfiles {'pytestLog': 'testrun.log'}
argv: ['virt_test/bin/python', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=pypy', '--timeout=4000']
environment:
HOME=/Users/matti
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_REPOSITORY=/opt/homebrew
INFOPATH=/opt/homebrew/share/info:
LANG=en_US.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LOGNAME=matti
OLDPWD=/Users/matti
PATH=/Users/matti/oss/pypy-arm64-buildbot/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
PKG_CONFIG_PATH=/opt/homebrew/Cellar/openssl@1.1/1.1.1t/lib/pkgconfig
PWD=/Users/matti/build-worker-arm64/own-macos-arm64/build
PYPYCHERRYPICK=
PYPY_USESSION_DIR=/tmp/buildbot-arm64
PYTHONPATH=.:
SHELL=/bin/zsh
SHLVL=2
SSH_CLIENT=10.0.0.17 36602 22
SSH_CONNECTION=10.0.0.17 36602 10.0.0.16 22
SSH_TTY=/dev/ttys000
TERM=xterm-256color
TMPDIR=/tmp/buildbot-arm64/pytest
USER=matti
_=/Users/matti/oss/pypy-arm64-buildbot/bin/buildslave
using PTY: False
using config pypy/testrunner_cfg.py
using config /Users/matti/machine_cfg.py
running 3 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/test_00_basic.py
-- module/_hpy_universal/test/_vendored/test_argparse.py
-- module/_hpy_universal/test/_vendored/test_call.py
-- module/_hpy_universal/test/_vendored/test_capsule.py
-- module/_hpy_universal/test/_vendored/test_capsule_legacy.py
-- module/_hpy_universal/test/_vendored/test_contextvar.py
-- module/_hpy_universal/test/_vendored/test_cpy_compat.py
-- module/_hpy_universal/test/_vendored/test_eval.py
-- module/_hpy_universal/test/_vendored/test_extra.py
-- module/_hpy_universal/test/_vendored/test_helpers.py
-- module/_hpy_universal/test/_vendored/test_hpybuildvalue.py
-- module/_hpy_universal/test/_vendored/test_hpybytes.py
-- module/_hpy_universal/test/_vendored/test_hpydict.py
-- module/_hpy_universal/test/_vendored/test_hpyerr.py
-- module/_hpy_universal/test/_vendored/test_hpyfield.py
-- module/_hpy_universal/test/_vendored/test_hpyglobal.py
-- module/_hpy_universal/test/_vendored/test_hpyimport.py
-- module/_hpy_universal/test/_vendored/test_hpyiter.py
-- module/_hpy_universal/test/_vendored/test_hpylist.py
-- module/_hpy_universal/test/_vendored/test_hpylong.py
-- module/_hpy_universal/test/_vendored/test_hpymodule.py
-- module/_hpy_universal/test/_vendored/test_hpyslice.py
-- module/_hpy_universal/test/_vendored/test_hpystructseq.py
-- module/_hpy_universal/test/_vendored/test_hpytuple.py
-- module/_hpy_universal/test/_vendored/test_hpytype.py
-- module/_hpy_universal/test/_vendored/test_hpytype_legacy.py
-- module/_hpy_universal/test/_vendored/test_hpyunicode.py
-- module/_hpy_universal/test/_vendored/test_importing.py
-- module/_hpy_universal/test/_vendored/test_legacy_forbidden.py
-- module/_hpy_universal/test/_vendored/test_number.py
-- module/_hpy_universal/test/_vendored/test_object.py
-- module/_hpy_universal/test/_vendored/test_slots.py
-- module/_hpy_universal/test/_vendored/test_slots_legacy.py
-- module/_hpy_universal/test/_vendored/test_support.py
-- module/_hpy_universal/test/_vendored/test_tracker.py
-- 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_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: 177 to run
++ 03:30:26 starting config/test [1 started in total]
++ 03:30:26 starting interpreter/astcompiler/test [2 started in total]
++ 03:30:26 starting interpreter/pyparser/test [3 started in total]
__ config/test [1 done in total, somefailed=False] ____________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.py
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 161 items / 1 skipped
config/test/test_pypyoption.py .................................................................................................................................................................
==================== 161 passed, 1 skipped in 10.98 seconds ====================
++ 03:30:38 starting interpreter/test [4 started in total]
__ interpreter/pyparser/test [2 done in total, somefailed=False] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 45.91 seconds ==========================
++ 03:31:17 starting module/__builtin__/test [5 started in total]
__ interpreter/astcompiler/test [3 done in total, somefailed=False] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1512 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 .....................................................
========================= 1512 passed in 90.74 seconds =========================
++ 03:32:01 starting module/__pypy__/test [6 started in total]
__ module/__builtin__/test [4 done in total, somefailed=False] ________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 39.51 seconds ====================
++ 03:32:02 starting module/_abc/test [7 started in total]
__ module/_abc/test [5 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_abc/test/apptest_abc.py ...
module/_abc/test/test_abc.py ...
========================== 6 passed in 16.18 seconds ===========================
++ 03:32:19 starting module/_ast/test [8 started in total]
__ module/__pypy__/test [6 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 .......s..
module/__pypy__/test/test_newmemoryview.py ........
module/__pypy__/test/test_os.py .
module/__pypy__/test/test_signal.py ..s.s
module/__pypy__/test/test_special.py ............s.
==================== 77 passed, 4 skipped in 37.93 seconds =====================
++ 03:32:45 starting module/_cffi_backend/test [9 started in total]
__ module/_ast/test [7 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 55 items
module/_ast/test/apptest_ast.py ...
module/_ast/test/test_ast.py ....................................................
========================== 55 passed in 37.97 seconds ==========================
++ 03:33:03 starting module/_codecs/test [10 started in total]
__ module/_codecs/test [8 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 98 items
module/_codecs/test/apptest_codecs.py ..
module/_codecs/test/test_codecs.py ....................sss...........................................................s......
module/_codecs/test/test_locale.py ...FF.
module/_codecs/test/test_ztranslation.py .
=================================== FAILURES ===================================
__________ TestLocaleCodec.test_decode_locale_latin1[locale_decoder0] __________
self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x000000014071d600>
locale_decoder = <function str_decode_locale_surrogateescape at 0x0000000109d56548>
@pytest.mark.parametrize('locale_decoder',
(str_decode_locale_surrogateescape, str_decode_locale_strict))
def test_decode_locale_latin1(self, locale_decoder):
self.setlocale("fr_FR")
uni = u"août"
string = uni.encode('latin1')
> assert locale_decoder(string) == (uni.encode('utf8'), len(uni))
E assert ('ao\xed\xb3\xbbt', 4) == ('ao\xc3\xbbt', 4)
E At index 0 diff: 'ao\xed\xb3\xbbt' != 'ao\xc3\xbbt'
E Use -v to get the full diff
module/_codecs/test/test_locale.py:77: AssertionError
__________ TestLocaleCodec.test_decode_locale_latin1[locale_decoder1] __________
self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x000000014b21d6e0>
locale_decoder = <function str_decode_locale_strict at 0x0000000109d56b60>
@pytest.mark.parametrize('locale_decoder',
(str_decode_locale_surrogateescape, str_decode_locale_strict))
def test_decode_locale_latin1(self, locale_decoder):
self.setlocale("fr_FR")
uni = u"août"
string = uni.encode('latin1')
> assert locale_decoder(string) == (uni.encode('utf8'), len(uni))
module/_codecs/test/test_locale.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
module/_codecs/locale.py:118: in str_decode_locale_strict
errorhandler('strict', 'filesystemencoding', errmsg, s, 0, 1)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
errors = 'strict', encoding = 'filesystemencoding'
msg = 'pypy_char2wchar_strict failed', s = 'ao\xfbt', startingpos = 0
endingpos = 1
def default_unicode_error_decode(errors, encoding, msg, s,
startingpos, endingpos):
assert endingpos >= 0
if errors == 'replace':
return u'\ufffd', endingpos
if errors == 'ignore':
return u'', endingpos
> raise UnicodeDecodeError(encoding, s, startingpos, endingpos, msg)
E UnicodeDecodeError: 'filesystemencoding' codec can't decode byte 0x61 in position 0: pypy_char2wchar_strict failed
../rpython/rlib/runicode.py:104: UnicodeDecodeError
=========================== short test summary info ============================
FAIL module/_codecs/test/test_locale.py::TestLocaleCodec::()::test_decode_locale_latin1[locale_decoder0]
FAIL module/_codecs/test/test_locale.py::TestLocaleCodec::()::test_decode_locale_latin1[locale_decoder1]
=============== 2 failed, 92 passed, 4 skipped in 58.18 seconds ================
++ 03:34:09 starting module/_collections/test [11 started in total]
__ module/_collections/test [9 done in total, somefailed=False] _______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 66 items
module/_collections/test/apptest_defaultdict.py ..............
module/_collections/test/apptest_deque.py ..........................................
module/_collections/test/apptest_ordereddict.py ..........
========================== 66 passed in 33.00 seconds ==========================
++ 03:34:47 starting module/_continuation/test [12 started in total]
__ module/_continuation/test [10 done in total, somefailed=True] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 72 items / 2 skipped
module/_continuation/test/test_generator.py ssss
module/_continuation/test/test_greenlet.py s.ssssss.sssssssssssssss.sss
module/_continuation/test/test_stacklet.py sssssssssssssss.ssssssssssssssssssssssssE
==================================== ERRORS ====================================
______ ERROR at teardown of AppTestStacklet.test_sampling_inside_callback ______
self = <CallInfo when='teardown' exception: Invalid value for fakevmprof._ignore_signals: expected 1, got 0. This probably means that you called {start,stop}_sampling() a wrong number of times>
func = <function <lambda> at 0x00000001528aa7a0>, 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, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...ltiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None}
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 0x00000001608fa100>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001207a9660>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...ltiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None}
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 = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001207a9660>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...ltiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None}
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_sampling_inside_callback'>, 'nextitem': None, '__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_teardown at 0x0000000130595bc8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...titem': None, '__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 0x0000000161614be0>
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 0x0000000161614be0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...titem': None, '__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_sampling_inside_callback'>, 'nextitem': None, '__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_sampling_inside_callback'>, nextitem = None
def pytest_runtest_teardown(item, nextitem):
> item.session._setupstate.teardown_exact(item, nextitem)
../_pytest/runner.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001600ed168>
item = <AppTestMethod 'test_sampling_inside_callback'>, nextitem = None
def teardown_exact(self, item, nextitem):
needed_collectors = nextitem and nextitem.listchain() or []
> self._teardown_towards(needed_collectors)
../_pytest/runner.py:387:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001600ed168>
needed_collectors = []
def _teardown_towards(self, needed_collectors):
while self.stack:
if self.stack == needed_collectors[:len(self.stack)]:
break
> self._pop_and_teardown()
../_pytest/runner.py:393:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001600ed168>
def _pop_and_teardown(self):
colitem = self.stack.pop()
> self._teardown_with_finalization(colitem)
../_pytest/runner.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001600ed168>
colitem = <AppTestMethod 'test_sampling_inside_callback'>
def _teardown_with_finalization(self, colitem):
> self._callfinalizers(colitem)
../_pytest/runner.py:371:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001600ed168>
colitem = <AppTestMethod 'test_sampling_inside_callback'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
fin()
except Exception:
# XXX Only first exception will be seen by user,
# ideally all should be reported.
if exc is None:
exc = sys.exc_info()
if exc:
> py.builtin._reraise(*exc)
../_pytest/runner.py:368:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00000001600ed168>
colitem = <AppTestMethod 'test_sampling_inside_callback'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
> fin()
../_pytest/runner.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FixtureDef name='fakevmprof' scope='function' baseid='pypy/module/_continuation/test/test_stacklet.py' >
def finish(self):
try:
while self._finalizer:
func = self._finalizer.pop()
> func()
../_pytest/python.py:2085:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rlib.rvmprof.test.support.FakeVMProf object at 0x000000016185a640>
def check_status(self):
"""
To be called during test teardown
"""
if self._ignore_signals != 1:
msg = ('Invalid value for fakevmprof._ignore_signals: expected 1, '
'got %d. This probably means that you called '
'{start,stop}_sampling() a wrong number of times')
> raise ValueError(msg % self._ignore_signals)
E ValueError: Invalid value for fakevmprof._ignore_signals: expected 1, got 0. This probably means that you called {start,stop}_sampling() a wrong number of times
../rpython/rlib/rvmprof/test/support.py:37: ValueError
================ 4 passed, 70 skipped, 1 error in 31.05 seconds ================
++ 03:35:20 starting module/_cppyy/test [13 started in total]
__ module/_cffi_backend/test [11 done in total, somefailed=True] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 467 items
module/_cffi_backend/test/test_c.py ..........................................................................F.....sss.s....................................................s.....s...................s...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 ...!!! BAD UTF8 !!!
[67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 233, 46, 115, 111, 58, 32, 34, 67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 58, 32, 100, 108, 111, 112, 101, 110, 40, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 44, 32, 48, 120, 48, 48, 48, 50, 41, 58, 32, 116, 114, 105, 101, 100, 58, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 34]
length 771 real_length -999
F................
module/_cffi_backend/test/test_recompiler.py ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
module/_cffi_backend/test/test_unicode_literals.py .......
module/_cffi_backend/test/test_wchar_helper.py .
module/_cffi_backend/test/test_ztranslation.py s
=================================== FAILURES ===================================
________________________ AppTestC.test_call_function_9 _________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013357c2f8>
def test_call_function_9(self):
import _all_test_c
try:
> _all_test_c.test_call_function_9()
[/tmp/buildbot-arm64/usession-py3.11-305/test_c/_test_c.py:594]:4:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def test_call_function_9():
BInt = new_primitive_type("int")
BFunc9 = new_function_type((BInt,), BInt, True) # vararg
f = cast(BFunc9, _testfunc(9))
assert f(0) == 0
> assert f(1, cast(BInt, 42)) == 42
E (application-level) AssertionError
/tmp/buildbot-arm64/usession-py3.11-305/test_c/_all_test_c.py:1253: AssertionError
_________________ AppTestRecompilerPython.test_dlopen_unicode __________________
self = <CallInfo when='call' exception: >
func = <function <lambda> at 0x00000001407e4890>, 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_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_dlopen_unicode'>}
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 0x0000000130832100>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000130d4daa0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_dlopen_unicode'>}
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 0x0000000130d4daa0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_dlopen_unicode'>}
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_dlopen_unicode'>, '__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 0x000000014cf7cbb0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__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 0x0000000152e5a960>
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 0x0000000152e5a960>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__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_dlopen_unicode'>, '__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 0x000000014cf7cae8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__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 0x0000000152e5a520>
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 0x0000000152e5a520>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__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_dlopen_unicode'>, '__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_dlopen_unicode'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_dlopen_unicode'>
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_dlopen_unicode'>, space = StdObjSpace
target = <function test_dlopen_unicode at 0x000000014267bd30>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000014cd4e138>)
e = OperationError(<W_TypeObject 'OSError' at 0x14c702d08>)
tb = <traceback object at 0x000000014d0ede00>
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
target(*args)
except OperationError as e:
if self.config.option.raise_operr:
raise
tb = sys.exc_info()[2]
if e.match(space, space.w_KeyboardInterrupt):
raise KeyboardInterrupt, KeyboardInterrupt(), tb
> appexcinfo = appsupport.AppExceptionInfo(space, e)
tool/pytest/apptest.py:274:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <[BadUtf8("") raised in repr()] SafeRepr object at 0x1509725a0>
space = StdObjSpace
operr = OperationError(<W_TypeObject 'OSError' at 0x14c702d08>)
def __init__(self, space, operr):
self.space = space
self.operr = operr
self.typename = operr.w_type.getname(space)
self.traceback = AppTraceback(space, self.operr.get_traceback())
debug_excs = getattr(operr, 'debug_excs', [])
if debug_excs:
self._excinfo = debug_excs[0]
> self.value = self.operr.errorstr(self.space) # XXX
tool/pytest/appsupport.py:106:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = OperationError(<W_TypeObject 'OSError' at 0x14c702d08>)
space = StdObjSpace, use_repr = False
def errorstr(self, space, use_repr=False):
"The exception class and value, as a string."
if not use_repr: # see write_unraisable()
> w_value = self.normalize_exception(space)
interpreter/error.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = OperationError(<W_TypeObject 'OSError' at 0x14c702d08>)
space = StdObjSpace
@jit.unroll_safe
def normalize_exception(self, space):
"""Normalize the OperationError. In other words, fix w_type and/or
w_value to make sure that the __class__ of w_value is exactly w_type.
"""
#
# This method covers all ways in which the Python statement
# "raise X, Y" can produce a valid exception type and instance.
#
# In the following table, 'Class' means a subclass of BaseException
# and 'inst' is an instance of either 'Class' or a subclass of it.
#
# The flow object space only deals with non-advanced case.
#
# input (w_type, w_value)... becomes... advanced case?
# ---------------------------------------------------------------------
# (Class, None) (Class, Class()) no
# (Class, inst) (inst.__class__, inst) no
# (Class, tuple) (Class, Class(*tuple)) yes
# (Class, x) (Class, Class(x)) no
# (inst, None) (inst.__class__, inst) no
#
w_type = self.w_type
> w_value = self.get_w_value(space)
interpreter/error.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = OperationError(<W_TypeObject 'OSError' at 0x14c702d08>)
space = StdObjSpace
def get_w_value(self, space):
w_value = self._w_value
if w_value is None:
value, lgt = self._compute_value(space)
> self._w_value = w_value = space.newtext(value, lgt)
interpreter/error.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
s = 'Cannot load library /tmp/buildbot-arm64/usession-py3.11-305/load_caf\xe9.so: "Cannot load library /tmp/buildbot-arm64...oad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-arm64/usession-py3.11-305/load_caf\\xe9.so\' (no such file)"'
lgt = 671, unused = -1
@specialize.arg_or_var(1)
def newtext(self, s, lgt=-1, unused=-1):
# the unused argument can be from something like
# newtext(*decode_utf8sp(space, code))
if is_annotation_constant(s) and s is not None:
> return self._newtext_memo(s)
objspace/std/objspace.py:413:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
s = 'Cannot load library /tmp/buildbot-arm64/usession-py3.11-305/load_caf\xe9.so: "Cannot load library /tmp/buildbot-arm64...oad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-arm64/usession-py3.11-305/load_caf\\xe9.so\' (no such file)"'
@specialize.memo()
def _newtext_memo(self, s):
# try to see whether we exist as an interned string, but don't intern
# if not
w_u = self.interned_strings.get(s)
if w_u is not None:
return w_u
lgt = rutf8.codepoints_in_utf8(s)
> return W_UnicodeObject(s, lgt)
objspace/std/objspace.py:432:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = W_UnicodeObject('Cannot load library /tmp/buildbot-arm64/usession-py3.11-305/l...ate/tmp/buildbot-arm64/usession-py3.11-305/load_caf\\xe9.so\' (no such file)"')
utf8str = 'Cannot load library /tmp/buildbot-arm64/usession-py3.11-305/load_caf\xe9.so: "Cannot load library /tmp/buildbot-arm64...oad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-arm64/usession-py3.11-305/load_caf\\xe9.so\' (no such file)"'
length = 771
def __init__(self, utf8str, length):
if not we_are_translated():
typecheck(self, utf8str, length) # rpython.rlib.objectmodel
> return __init___original(self, utf8str, length)
<655-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:318>:5:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = W_UnicodeObject('Cannot load library /tmp/buildbot-arm64/usession-py3.11-305/l...ate/tmp/buildbot-arm64/usession-py3.11-305/load_caf\\xe9.so\' (no such file)"')
utf8str = 'Cannot load library /tmp/buildbot-arm64/usession-py3.11-305/load_caf\xe9.so: "Cannot load library /tmp/buildbot-arm64...oad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-arm64/usession-py3.11-305/load_caf\\xe9.so\' (no such file)"'
length = 771
@enforceargs(utf8str=str)
def __init__(self, utf8str, length):
assert isinstance(utf8str, bytes)
# TODO: how to handle surrogates
assert length >= 0
self._utf8 = utf8str
self._length = length
self._index_storage = rutf8.null_storage()
if CHECK_ALL_STRINGS or not we_are_translated():
# utf8str must always be a valid utf8 string, except maybe with
# explicit surrogate characters---which .decode('utf-8') doesn't
# special-case in Python 2, which is exactly what we want here
try:
if sys.maxunicode == 0xffff:
# can't use .decode('utf-8') because it will add surrogates
real_length = rutf8.check_utf8(utf8str, True)
else:
real_length = len(utf8str.decode('utf-8'))
except (rutf8.CheckError, UnicodeDecodeError):
real_length = -999
if length != real_length:
from rpython.rlib.debug import debug_print
debug_print("!!! BAD UTF8 !!!")
debug_print(str([ord(c) for c in utf8str]))
debug_print("length", length, "real_length", real_length)
> raise BadUtf8
E BadUtf8
objspace/std/unicodeobject.py:86: BadUtf8
----------------------------- Captured stderr call -----------------------------
!!! BAD UTF8 !!!
[67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 233, 46, 115, 111, 58, 32, 34, 67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 58, 32, 100, 108, 111, 112, 101, 110, 40, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 44, 32, 48, 120, 48, 48, 48, 50, 41, 58, 32, 116, 114, 105, 101, 100, 58, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 97, 114, 109, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 51, 48, 53, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 34]
length 771 real_length -999
=========================== short test summary info ============================
FAIL module/_cffi_backend/test/test_c.py::AppTestC::()::test_call_function_9
FAIL module/_cffi_backend/test/test_re_python.py::AppTestRecompilerPython::()::test_dlopen_unicode
============= 2 failed, 328 passed, 137 skipped in 154.97 seconds ==============
++ 03:35:24 starting module/_csv/test [14 started in total]
__ module/_csv/test [12 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 29.59 seconds ==========================
++ 03:35:57 starting module/_demo/test [15 started in total]
__ module/_demo/test [13 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 11.37 seconds ===========================
++ 03:36:09 starting module/_hpy_universal/test/_vendored/test_00_basic.py [16 started in total]
__ interpreter/test [14 done in total, somefailed=True] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
PYTHON3: /opt/homebrew/bin/python3.11
(Version 3.11.15 (main, Mar 3 2026, 00:52:57) [Clang 17.0.0 (clang-1700.6.3.2)])
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1342 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 ........
interpreter/test/apptest_unraisable.py ....
interpreter/test/apptest_with_leak.py .........
interpreter/test/test_app_main.py ....................s....................s...s.......................s....X.s...s..........
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 ........
interpreter/test/test_zzpickle_and_slow.py s.....s..s..sss........ss...s.
=================================== FAILURES ===================================
_____________________ TestFSEncode.test_fsencode_fsdecode ______________________
self = <pypy.interpreter.test.test_fsencode.TestFSEncode instance at 0x000000011e4702a0>
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 'a\xcc\x88' == u'a\u0308'
E - a\xcc\x88
E + a\u0308
interpreter/test/test_fsencode.py:77: AssertionError
----------------------------- Captured stderr call -----------------------------
/Users/matti/build-worker-arm64/own-macos-arm64/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
/Users/matti/build-worker-arm64/own-macos-arm64/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/test_fsencode.py::TestFSEncode::()::test_fsencode_fsdecode
======== 1 failed, 1322 passed, 18 skipped, 1 xpassed in 370.38 seconds ========
++ 03:36:54 starting module/_hpy_universal/test/_vendored/test_argparse.py [17 started in total]
__ module/_cppyy/test [15 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 191 items
module/_cppyy/test/test_advancedcpp.py sssssssssssssssssssssssss
module/_cppyy/test/test_boost.py sssss
module/_cppyy/test/test_cpp11features.py s.s
module/_cppyy/test/test_cppyy.py ...........
module/_cppyy/test/test_crossing.py ssss
module/_cppyy/test/test_datatypes.py .......sssssssssssssss
module/_cppyy/test/test_fragile.py sssssssssssss
module/_cppyy/test/test_helper.py ......
module/_cppyy/test/test_operators.py sssssss
module/_cppyy/test/test_overloads.py sssssss
module/_cppyy/test/test_pythonify.py .....sssssssssssss
module/_cppyy/test/test_pythonization.py .ssssss
module/_cppyy/test/test_regression.py ss
module/_cppyy/test/test_stltypes.py sssssssssssssssssssssssss
module/_cppyy/test/test_templates.py sssssssssssssssssssssssssssssssss
module/_cppyy/test/test_zjit.py sss
=================== 31 passed, 160 skipped in 90.67 seconds ====================
++ 03:37:01 starting module/_hpy_universal/test/_vendored/test_call.py [18 started in total]
__ module/_hpy_universal/test/_vendored/test_00_basic.py [16 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 58 items
module/_hpy_universal/test/_vendored/test_00_basic.py ..........................................................
========================== 58 passed in 63.56 seconds ==========================
++ 03:37:22 starting module/_hpy_universal/test/_vendored/test_capsule.py [19 started in total]
__ module/_hpy_universal/test/_vendored/test_call.py [17 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_hpy_universal/test/_vendored/test_call.py ..........
========================== 10 passed in 52.30 seconds ==========================
++ 03:38:00 starting module/_hpy_universal/test/_vendored/test_capsule_legacy.py [20 started in total]
__ module/_hpy_universal/test/_vendored/test_capsule.py [18 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_hpy_universal/test/_vendored/test_capsule.py .F........
=================================== FAILURES ===================================
__________________ AppTestHPyCapsule.test_capsule_new[debug] ___________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x00000001315aaf20>, 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_capsule_new[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_capsule_new[debug]'>}
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 0x00000001288fa0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000000015054cda0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_capsule_new[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_capsule_new[debug]'>}
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 0x000000015054cda0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_capsule_new[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_capsule_new[debug]'>}
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_capsule_new[debug]'>, '__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 0x0000000129192a70>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...new[debug]'>, '__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 0x000000011a178420>
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 0x000000011a178420>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...new[debug]'>, '__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_capsule_new[debug]'>, '__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 0x00000001291929f8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...new[debug]'>, '__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 0x000000011a1783e0>
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 0x000000011a1783e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...new[debug]'>, '__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_capsule_new[debug]'>, '__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_capsule_new[debug]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_capsule_new[debug]'>
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_capsule_new[debug]'>, space = StdObjSpace
target = <function test_capsule_new at 0x00000001315ab6a0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000151de6138>)
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 0x0000000151de6138>,)
w_func = <Function test_capsule_new>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000151de6138>
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_capsule_new>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000151de6138>,)
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_capsule_new>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000151de6138>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_capsule_new, file "[/Users/matti/build-worker-arm64/own-maco.../build/pypy/module/_hpy_universal/test/_vendored/test_capsule.py:158]", 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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
name = 'test_capsule_new', qualname = 'test_capsule_new'
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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
pycode = <code object test_capsule_new, file "[/Users/matti/build-worker-arm64/own-maco.../build/pypy/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000129831bb0>
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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02\xa1\x01}\x02|\x02\xa0\x02d\x03d\x04\xa1\x02}\x03\t\x00|\x02\xa0\x03|\x03\xa1\x...d\x00\x04\x00\x04\x00\x83\x03\x01\x00d\x00S\x00#\x001\x00sAw\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000129831bb0>
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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02\xa1\x01}\x02|\x02\xa0\x02d\x03d\x04\xa1\x02}\x03\t\x00|\x02\xa0\x03|\x03\xa1\x...d\x00\x04\x00\x04\x00\x83\x03\x01\x00d\x00S\x00#\x001\x00sAw\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x00S\x00'
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000129831bb0>
@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_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
oparg = 1, ignored = (16L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_capsule_...y/module/_hpy_universal/test/_vendored/test_capsule.py:158]", line 1> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n @DEFINE_SomeObject\n @DEF..._GetName)\n @EXPORT(Payload_Free)\n\n @INIT\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.BuiltinCode3 object at 0x0000000151325520>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n @DEFINE_SomeObject\n @DEF..._GetName)\n @EXPORT(Payload_Free)\n\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x0000000151325520>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n @DEFINE_SomeObject\n @DEF..._GetName)\n @EXPORT(Payload_Free)\n\n @INIT\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.BuiltinCode3 object at 0x0000000151325520>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x0000000151325520>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n @DEFINE_SomeObject\n @DEF..._GetName)\n @EXPORT(Payload_Free)\n\n @INIT\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_text_W_Root object at 0x00000001513255c8>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n @DEFINE_SomeObject\n @DEFINE_Capsule...le_GetName)\n @EXPORT(Payload_Free)\n\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n @DEFINE_SomeObject\n @DEFINE_Capsule_New\n @DEFINE_Capsule_GetName\n @...T(Capsule_New)\n @EXPORT(Capsule_GetName)\n @EXPORT(Payload_Free)\n\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x0000000130d6d920>
main_src = '\n @DEFINE_SomeObject\n @DEFINE_Capsule_New\n @DEFINE_Capsule_GetName\n @...T(Capsule_New)\n @EXPORT(Capsule_GetName)\n @EXPORT(Payload_Free)\n\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.test_capsule.CapsuleTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-329/test_capsule_new-1'
ext = <setuptools.extension.Extension instance at 0x000000011a270560>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x0000000130d6d960>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-329/test_capsule_new-1'
ext = <setuptools.extension.Extension instance at 0x000000011a270560>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x0000000130d6d960>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000011a2705a0>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015162b788>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015162b788>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015162b788>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015162b788>
ext = <setuptools.extension.Extension instance at 0x000000011a270560>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015162b788>
ext = <setuptools.extension.Extension instance at 0x000000011a270560>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000011a2704a0>
sources = ['mytest.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-329/test_capsule_new-1'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000011a2704a0>
obj = '/tmp/buildbot-arm64/usession-py3.11-329/test_capsule_new-1/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_capsule.py::AppTestHPyCapsule::()::test_capsule_new[debug]
===================== 1 failed, 9 passed in 39.80 seconds ======================
++ 03:38:06 starting module/_hpy_universal/test/_vendored/test_contextvar.py [21 started in total]
__ module/_hpy_universal/test/_vendored/test_contextvar.py [19 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_contextvar.py ..
========================== 2 passed in 30.81 seconds ===========================
++ 03:38:44 starting module/_hpy_universal/test/_vendored/test_cpy_compat.py [22 started in total]
__ module/_hpy_universal/test/_vendored/test_argparse.py [20 done in total, somefailed=True]
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/conftest.py:150: UserWarning: HPy static-lib build failed (command 'cc' terminated by signal 10); falling back to per-test source compilation.
result = _support._try_build_static_lib(hpy_devel, 'universal')
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/conftest.py:157: UserWarning: HPy static-lib build failed; falling back to per-test source compilation.
stacklevel=1,
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 90 items
module/_hpy_universal/test/_vendored/test_argparse.py ...........F..F...........................................................................
=================================== FAILURES ===================================
_____________ AppTestParseItem.test_upper_h_unsigned_short[debug] ______________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000012c1784d0>, 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_upper_h_unsigned_short[debug]'>...call__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_upper_h_unsigned_short[debug]'>}
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 0x000000013820a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001284f90a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_upper_h_unsigned_short[debug]'>...call__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_upper_h_unsigned_short[debug]'>}
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 0x00000001284f90a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_upper_h_unsigned_short[debug]'>...call__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_upper_h_unsigned_short[debug]'>}
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_upper_h_unsigned_short[debug]'>, '__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 0x000000013a2c8520>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ort[debug]'>, '__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 0x000000012ae6cba0>
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 0x000000012ae6cba0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ort[debug]'>, '__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_upper_h_unsigned_short[debug]'>, '__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 0x000000013a2c84d0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ort[debug]'>, '__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 0x000000012ae6cb60>
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 0x000000012ae6cb60>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ort[debug]'>, '__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_upper_h_unsigned_short[debug]'>, '__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_upper_h_unsigned_short[debug]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_upper_h_unsigned_short[debug]'>
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_upper_h_unsigned_short[debug]'>, space = StdObjSpace
target = <function test_upper_h_unsigned_short at 0x000000012c178638>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>)
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 0x0000000159709520>,)
w_func = <Function test_upper_h_unsigned_short>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>
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_upper_h_unsigned_short>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>,)
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_upper_h_unsigned_short>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_upper_h_unsigned_short, file "[/Users/matti/build-worker-arm...build/pypy/module/_hpy_universal/test/_vendored/test_argparse.py:117]", 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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
name = 'test_upper_h_unsigned_short', qualname = 'test_upper_h_unsigned_short'
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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", 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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", 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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
pycode = <code object test_upper_h_unsigned_short, file "[/Users/matti/build-worker-arm...build/pypy/module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02d\x03\xa1\x03}\x01|\x01\xa0\x01d\x04\xa1\x01d\x04k\x02s\x10J\x00\x82\x01|\x01\xa0\x01d\x05\xa1...00\x82\x01|\x01\xa0\x01d\t\xa1\x01d\x04k\x02s=J\x00\x82\x01|\x01\xa0\x01d\n\xa1\x01d\x04k\x02sFJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02d\x03\xa1\x03}\x01|\x01\xa0\x01d\x04\xa1\x01d\x04k\x02s\x10J\x00\x82\x01|\x01\xa0\x01d\x05\xa1...00\x82\x01|\x01\xa0\x01d\t\xa1\x01d\x04k\x02s=J\x00\x82\x01|\x01\xa0\x01d\n\xa1\x01d\x04k\x02sFJ\x00\x82\x01d\x00S\x00'
next_instr = 12L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
@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_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
oparg = 3, ignored = (12L,), n_args = 3, w_self = None, n = 3
@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 make_parse_item>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
dropvalues = 5, 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 make_parse_item>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
dropvalues = 5, 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 make_parse_item>
code = <code object make_parse_item, file "?", line 2>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_upper_h_.../module/_hpy_universal/test/_vendored/test_argparse.py:117]", line 1> at line 2
dropvalues = 5
@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 make_parse_item, file "?", line 2> at line 3
name = 'make_parse_item', qualname = 'anonymous.<locals>.make_parse_item'
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 make_parse_item, file "?", line 2> at line 3
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 make_parse_item, file "?", line 2> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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 make_parse_item, file "?", line 2> at line 3
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 make_parse_item, file "?", line 2> at line 3
pycode = <code object make_parse_item, file "?", line 2>, next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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 make_parse_item, file "?", line 2> at line 3
co_code = '|\x00\xa0\x00d\x01\xa0\x01|\x01|\x02|\x03d\x02\xcc\x03\xa1\x01}\x04|\x04S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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 make_parse_item, file "?", line 2> at line 3
co_code = '|\x00\xa0\x00d\x01\xa0\x01|\x01|\x02|\x03d\x02\xcc\x03\xa1\x01}\x04|\x04S\x00'
next_instr = 20L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
@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 make_parse_item, file "?", line 2> at line 3
oparg = 1, ignored = (20L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object make_parse_item, file "?", line 2> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object make_parse_item, file "?", line 2> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000012ca37328>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x000000012ca37328>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000012ca37328>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x000000012ca37328>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\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_text_W_Root object at 0x000000012ca37478>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n #ifndef _MSC_VER\n __attribu... }\n @EXPORT(f)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n #ifndef _MSC_VER\n __attribute__((unused))\n #endif\n ... HPyLong_FromUnsignedLong(ctx, a);\n }\n @EXPORT(f)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x000000012ae6c8a0>
main_src = '\n #ifndef _MSC_VER\n __attribute__((unused))\n #endif\n ... HPyLong_FromUnsignedLong(ctx, a);\n }\n @EXPORT(f)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_h_unsigned_short-1'
ext = <setuptools.extension.Extension instance at 0x000000012ae6d3e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000012ae6c8e0>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_h_unsigned_short-1'
ext = <setuptools.extension.Extension instance at 0x000000012ae6d3e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000012ae6c8e0>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000012ae6d460>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012cabfc90>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012cabfc90>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012cabfc90>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012cabfc90>
ext = <setuptools.extension.Extension instance at 0x000000012ae6d3e0>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012cabfc90>
ext = <setuptools.extension.Extension instance at 0x000000012ae6d3e0>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000012ae6d320>
sources = ['mytest.c', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/src...matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/src/runtime/structseq.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_h_unsigned_short-1'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000012ae6d320>
obj = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_h_unsigned_short-1/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
_______________ AppTestParseItem.test_upper_i_signed[universal] ________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000012d03cdb8>, 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_upper_i_signed[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_upper_i_signed[universal]'>}
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 0x000000013820a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001284f90a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_upper_i_signed[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_upper_i_signed[universal]'>}
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 0x00000001284f90a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_upper_i_signed[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_upper_i_signed[universal]'>}
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_upper_i_signed[universal]'>, '__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 0x000000014a905dd0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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 0x000000014b347520>
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 0x000000014b347520>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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_upper_i_signed[universal]'>, '__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 0x000000014a905d80>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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 0x000000014b3474e0>
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 0x000000014b3474e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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_upper_i_signed[universal]'>, '__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_upper_i_signed[universal]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_upper_i_signed[universal]'>
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_upper_i_signed[universal]'>, space = StdObjSpace
target = <function test_upper_i_signed at 0x000000012d03d010>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>)
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 0x0000000159709520>,)
w_func = <Function test_upper_i_signed>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>
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_upper_i_signed>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>,)
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_upper_i_signed>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000159709520>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_upper_i_signed, file "[/Users/matti/build-worker-arm64/own-m...build/pypy/module/_hpy_universal/test/_vendored/test_argparse.py:150]", 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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
name = 'test_upper_i_signed', qualname = 'test_upper_i_signed'
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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", 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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", 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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
pycode = <code object test_upper_i_signed, file "[/Users/matti/build-worker-arm64/own-m...build/pypy/module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02d\x03\xa1\x03}\x01|\x01\xa0\x01d\x04\xa1\x01d\x04k\x02s\x10J\x00\x82\x01|\x01\xa0\x01d\x05\xa1...82\x01|\x01\xa0\x01d\x0b\xa1\x01d\x04k\x02sOJ\x00\x82\x01|\x01\xa0\x01d\x0c\xa1\x01d\x04k\x02sXJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02d\x03\xa1\x03}\x01|\x01\xa0\x01d\x04\xa1\x01d\x04k\x02s\x10J\x00\x82\x01|\x01\xa0\x01d\x05\xa1...82\x01|\x01\xa0\x01d\x0b\xa1\x01d\x04k\x02sOJ\x00\x82\x01|\x01\xa0\x01d\x0c\xa1\x01d\x04k\x02sXJ\x00\x82\x01d\x00S\x00'
next_instr = 12L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
@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_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
oparg = 3, ignored = (12L,), n_args = 3, w_self = None, n = 3
@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 make_parse_item>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
dropvalues = 5, 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 make_parse_item>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
dropvalues = 5, 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 make_parse_item>
code = <code object make_parse_item, file "?", line 2>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_upper_i_.../module/_hpy_universal/test/_vendored/test_argparse.py:150]", line 1> at line 2
dropvalues = 5
@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 make_parse_item, file "?", line 2> at line 3
name = 'make_parse_item', qualname = 'anonymous.<locals>.make_parse_item'
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 make_parse_item, file "?", line 2> at line 3
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 make_parse_item, file "?", line 2> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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 make_parse_item, file "?", line 2> at line 3
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 make_parse_item, file "?", line 2> at line 3
pycode = <code object make_parse_item, file "?", line 2>, next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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 make_parse_item, file "?", line 2> at line 3
co_code = '|\x00\xa0\x00d\x01\xa0\x01|\x01|\x02|\x03d\x02\xcc\x03\xa1\x01}\x04|\x04S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
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 make_parse_item, file "?", line 2> at line 3
co_code = '|\x00\xa0\x00d\x01\xa0\x01|\x01|\x02|\x03d\x02\xcc\x03\xa1\x01}\x04|\x04S\x00'
next_instr = 20L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015950e410>
@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 make_parse_item, file "?", line 2> at line 3
oparg = 1, ignored = (20L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object make_parse_item, file "?", line 2> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object make_parse_item, file "?", line 2> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000015b4871a0>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x000000015b4871a0>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000015b4871a0>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x000000015b4871a0>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n #ifndef _MSC_VER\n ... }\n @EXPORT(f)\n @INIT\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_text_W_Root object at 0x000000015b4872f0>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n #ifndef _MSC_VER\n __attribu... }\n @EXPORT(f)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n #ifndef _MSC_VER\n __attribute__((unused))\n #endif\n ... return HPyLong_FromLong(ctx, a);\n }\n @EXPORT(f)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x000000014b3473a0>
main_src = '\n #ifndef _MSC_VER\n __attribute__((unused))\n #endif\n ... return HPyLong_FromLong(ctx, a);\n }\n @EXPORT(f)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_i_signed-0'
ext = <setuptools.extension.Extension instance at 0x000000013b7fe4a0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000014b3473e0>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_i_signed-0'
ext = <setuptools.extension.Extension instance at 0x000000013b7fe4a0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000014b3473e0>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000013b7fe520>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000014ae4c7c8>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000014ae4c7c8>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000014ae4c7c8>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000014ae4c7c8>
ext = <setuptools.extension.Extension instance at 0x000000013b7fe4a0>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000014ae4c7c8>
ext = <setuptools.extension.Extension instance at 0x000000013b7fe4a0>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000013b7fe3e0>
sources = ['mytest.c', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/src...matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/src/runtime/structseq.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_i_signed-0'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000013b7fe3e0>
obj = '/tmp/buildbot-arm64/usession-py3.11-327/test_upper_i_signed-0/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_argparse.py::AppTestParseItem::()::test_upper_h_unsigned_short[debug]
FAIL module/_hpy_universal/test/_vendored/test_argparse.py::AppTestParseItem::()::test_upper_i_signed[universal]
==================== 2 failed, 88 passed in 112.77 seconds =====================
++ 03:38:50 starting module/_hpy_universal/test/_vendored/test_eval.py [23 started in total]
__ module/_hpy_universal/test/_vendored/test_capsule_legacy.py [21 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_capsule_legacy.py ..
========================== 2 passed in 64.16 seconds ===========================
++ 03:39:13 starting module/_hpy_universal/test/_vendored/test_extra.py [24 started in total]
__ module/_hpy_universal/test/_vendored/test_extra.py [22 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.00 seconds =========================
++ 03:39:17 starting module/_hpy_universal/test/_vendored/test_helpers.py [25 started in total]
__ module/_hpy_universal/test/_vendored/test_eval.py [23 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/_hpy_universal/test/_vendored/test_eval.py ....
========================== 4 passed in 32.60 seconds ===========================
++ 03:39:28 starting module/_hpy_universal/test/_vendored/test_hpybuildvalue.py [26 started in total]
__ module/_hpy_universal/test/_vendored/test_helpers.py [24 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_hpy_universal/test/_vendored/test_helpers.py ......
========================== 6 passed in 33.20 seconds ===========================
++ 03:39:55 starting module/_hpy_universal/test/_vendored/test_hpybytes.py [27 started in total]
__ module/_hpy_universal/test/_vendored/test_cpy_compat.py [25 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/_hpy_universal/test/_vendored/test_cpy_compat.py ................
========================== 16 passed in 89.67 seconds ==========================
++ 03:40:19 starting module/_hpy_universal/test/_vendored/test_hpydict.py [28 started in total]
__ module/_hpy_universal/test/_vendored/test_hpybuildvalue.py [26 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/_hpy_universal/test/_vendored/test_hpybuildvalue.py ..............
========================== 14 passed in 43.10 seconds ==========================
++ 03:40:20 starting module/_hpy_universal/test/_vendored/test_hpyerr.py [29 started in total]
__ module/_hpy_universal/test/_vendored/test_hpybytes.py [27 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_hpy_universal/test/_vendored/test_hpybytes.py ............
========================== 12 passed in 36.38 seconds ==========================
++ 03:40:40 starting module/_hpy_universal/test/_vendored/test_hpyfield.py [30 started in total]
__ module/_hpy_universal/test/_vendored/test_hpydict.py [28 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_hpy_universal/test/_vendored/test_hpydict.py ............
========================== 12 passed in 36.33 seconds ==========================
++ 03:41:03 starting module/_hpy_universal/test/_vendored/test_hpyglobal.py [31 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyfield.py [29 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/_hpy_universal/test/_vendored/test_hpyfield.py ssss........ssss..
==================== 10 passed, 8 skipped in 38.99 seconds =====================
++ 03:41:24 starting module/_hpy_universal/test/_vendored/test_hpyimport.py [32 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyerr.py [30 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
module/_hpy_universal/test/_vendored/test_hpyerr.py ..ss..............F...F...........ss..
=================================== FAILURES ===================================
___________________ AppTestErr.test_h_exceptions[universal] ____________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x00000001485b2980>, 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_h_exceptions[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_h_exceptions[universal]'>}
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 0x000000014804a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000108899160>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_h_exceptions[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_h_exceptions[universal]'>}
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 0x0000000108899160>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_h_exceptions[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_h_exceptions[universal]'>}
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_h_exceptions[universal]'>, '__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 0x0000000109d9fa10>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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 0x0000000159e86020>
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 0x0000000159e86020>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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_h_exceptions[universal]'>, '__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 0x0000000109d9f9c0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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 0x0000000159e3dfa0>
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 0x0000000159e3dfa0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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_h_exceptions[universal]'>, '__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_h_exceptions[universal]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_h_exceptions[universal]'>
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_h_exceptions[universal]'>, space = StdObjSpace
target = <function test_h_exceptions at 0x00000001485b2bd8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>)
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 0x000000013a89cfa8>,)
w_func = <Function test_h_exceptions>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>
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_h_exceptions>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>,)
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_h_exceptions>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_h_exceptions, file "[/Users/matti/build-worker-arm64/own-mac...4/build/pypy/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", 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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
name = 'test_h_exceptions', qualname = 'test_h_exceptions'
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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
pycode = <code object test_h_exceptions, file "[/Users/matti/build-worker-arm64/own-mac...4/build/pypy/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001097e5328>
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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
co_code = "d\x01d\x00l\x00\x89\x01|\x00\xa0\x01d\x02\xa1\x01\x89\x00\x87\x00\x87\x01f\x02d\x03\x84\x08}\x01|\x01t\x02\x83\x01\x0...\x83\x01\x01\x00|\x01t1\x83\x01\x01\x00|\x01t2\x83\x01\x01\x00|\x01t3\x83\x01\x01\x00|\x01t4\x83\x01\x01\x00d\x00S\x00"
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001097e5328>
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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
co_code = "d\x01d\x00l\x00\x89\x01|\x00\xa0\x01d\x02\xa1\x01\x89\x00\x87\x00\x87\x01f\x02d\x03\x84\x08}\x01|\x01t\x02\x83\x01\x0...\x83\x01\x01\x00|\x01t1\x83\x01\x01\x00|\x01t2\x83\x01\x01\x00|\x01t3\x83\x01\x01\x00|\x01t4\x83\x01\x01\x00d\x00S\x00"
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001097e5328>
@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_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
oparg = 1, ignored = (16L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_h_except...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:215]", line 1> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000010b0a5130>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x000000010b0a5130>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000010b0a5130>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x000000010b0a5130>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\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_text_W_Root object at 0x000000010b0a5280>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n sta...HPy_NULL;\n }\n @EXPORT(f)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n HPyDef_METH(f, "f", HPyFunc_O)\n static HPy f_impl(HPyContext *ctx, HPy self, HPy arg)\n ...ose(ctx, h_err);\n return HPy_NULL;\n }\n @EXPORT(f)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x0000000159e3de20>
main_src = '\n HPyDef_METH(f, "f", HPyFunc_O)\n static HPy f_impl(HPyContext *ctx, HPy self, HPy arg)\n ...ose(ctx, h_err);\n return HPy_NULL;\n }\n @EXPORT(f)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_exceptions-0'
ext = <setuptools.extension.Extension instance at 0x000000015a138a60>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x0000000159e3de60>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_exceptions-0'
ext = <setuptools.extension.Extension instance at 0x000000015a138a60>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x0000000159e3de60>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000015a138aa0>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000013c0b84f0>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000013c0b84f0>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000013c0b84f0>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000013c0b84f0>
ext = <setuptools.extension.Extension instance at 0x000000015a138a60>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000013c0b84f0>
ext = <setuptools.extension.Extension instance at 0x000000015a138a60>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000015a1389a0>
sources = ['mytest.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_exceptions-0'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000015a1389a0>
obj = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_exceptions-0/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
____________________ AppTestErr.test_h_warnings[universal] _____________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000013be70bd8>, 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_h_warnings[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_h_warnings[universal]'>}
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 0x000000014804a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000108899160>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_h_warnings[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_h_warnings[universal]'>}
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 0x0000000108899160>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_h_warnings[universal]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_h_warnings[universal]'>}
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_h_warnings[universal]'>, '__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 0x000000011ae9fe98>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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 0x000000010b7b6520>
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 0x000000010b7b6520>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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_h_warnings[universal]'>, '__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 0x0000000128282db8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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 0x000000010b7b64e0>
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 0x000000010b7b64e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...universal]'>, '__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_h_warnings[universal]'>, '__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_h_warnings[universal]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_h_warnings[universal]'>
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_h_warnings[universal]'>, space = StdObjSpace
target = <function test_h_warnings at 0x000000013be71f88>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>)
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 0x000000013a89cfa8>,)
w_func = <Function test_h_warnings>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>
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_h_warnings>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>,)
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_h_warnings>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a89cfa8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_h_warnings, file "[/Users/matti/build-worker-arm64/own-macos...4/build/pypy/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", 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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
name = 'test_h_warnings', qualname = 'test_h_warnings'
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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
pycode = <code object test_h_warnings, file "[/Users/matti/build-worker-arm64/own-macos...4/build/pypy/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001097e5328>
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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
co_code = 'd\x01d\x00l\x00\x89\x01|\x00\xa0\x01d\x02\xa1\x01\x89\x00\x87\x00\x87\x01f\x02d\x03\x84\x08}\x01|\x01t\x02\x83\x01\x0...\x01\x00|\x01t\t\x83\x01\x01\x00|\x01t\n\x83\x01\x01\x00|\x01t\x0b\x83\x01\x01\x00|\x01t\x0c\x83\x01\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001097e5328>
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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
co_code = 'd\x01d\x00l\x00\x89\x01|\x00\xa0\x01d\x02\xa1\x01\x89\x00\x87\x00\x87\x01f\x02d\x03\x84\x08}\x01|\x01t\x02\x83\x01\x0...\x01\x00|\x01t\t\x83\x01\x01\x00|\x01t\n\x83\x01\x01\x00|\x01t\x0b\x83\x01\x01\x00|\x01t\x0c\x83\x01\x01\x00d\x00S\x00'
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001097e5328>
@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_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
oparg = 1, ignored = (16L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_h_warnin...py/module/_hpy_universal/test/_vendored/test_hpyerr.py:400]", line 1> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000011bf32d78>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x000000011bf32d78>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x000000011bf32d78>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x000000011bf32d78>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ...y_NULL;\n }\n @EXPORT(f)\n @INIT\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_text_W_Root object at 0x000000011bf32e20>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n sta...HPy_NULL;\n }\n @EXPORT(f)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n HPyDef_METH(f, "f", HPyFunc_O)\n static HPy f_impl(HPyContext *ctx, HPy self, HPy arg)\n ...ose(ctx, h_err);\n return HPy_NULL;\n }\n @EXPORT(f)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x000000010b815ea0>
main_src = '\n HPyDef_METH(f, "f", HPyFunc_O)\n static HPy f_impl(HPyContext *ctx, HPy self, HPy arg)\n ...ose(ctx, h_err);\n return HPy_NULL;\n }\n @EXPORT(f)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_warnings-0'
ext = <setuptools.extension.Extension instance at 0x000000010b7ad1e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000010b815ee0>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_warnings-0'
ext = <setuptools.extension.Extension instance at 0x000000010b7ad1e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000010b815ee0>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000010b7ad220>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000010bf9a758>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000010bf9a758>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000010bf9a758>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000010bf9a758>
ext = <setuptools.extension.Extension instance at 0x000000010b7ad1e0>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000010bf9a758>
ext = <setuptools.extension.Extension instance at 0x000000010b7ad1e0>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000010b7ad120>
sources = ['mytest.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_warnings-0'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000010b7ad120>
obj = '/tmp/buildbot-arm64/usession-py3.11-339/test_h_warnings-0/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_hpyerr.py::AppTestErr::()::test_h_exceptions[universal]
FAIL module/_hpy_universal/test/_vendored/test_hpyerr.py::AppTestErr::()::test_h_warnings[universal]
=============== 2 failed, 32 passed, 4 skipped in 79.09 seconds ================
++ 03:41:47 starting module/_hpy_universal/test/_vendored/test_hpyiter.py [33 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyglobal.py [31 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_hpyglobal.py ..
========================== 2 passed in 35.30 seconds ===========================
++ 03:41:48 starting module/_hpy_universal/test/_vendored/test_hpylist.py [34 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyimport.py [32 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_hpyimport.py .F
=================================== FAILURES ===================================
____________________ AppTestImport.test_ImportModule[debug] ____________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000132197538>, 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_ImportModule[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ImportModule[debug]'>}
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 0x000000013006a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000130450ca0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ImportModule[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ImportModule[debug]'>}
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 0x0000000130450ca0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ImportModule[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ImportModule[debug]'>}
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_ImportModule[debug]'>, '__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 0x00000001408a4de0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ule[debug]'>, '__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 0x000000011087bbe0>
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 0x000000011087bbe0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ule[debug]'>, '__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_ImportModule[debug]'>, '__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 0x00000001408a4d68>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ule[debug]'>, '__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 0x000000011087bba0>
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 0x000000011087bba0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ule[debug]'>, '__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_ImportModule[debug]'>, '__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_ImportModule[debug]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ImportModule[debug]'>
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_ImportModule[debug]'>, space = StdObjSpace
target = <function test_ImportModule at 0x00000001321975b0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000122e383a0>)
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 0x0000000122e383a0>,)
w_func = <Function test_ImportModule>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000122e383a0>
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_ImportModule>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000122e383a0>,)
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_ImportModule>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000122e383a0>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ImportModule, file "[/Users/matti/build-worker-arm64/own-mac.../build/pypy/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", 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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
name = 'test_ImportModule', qualname = 'test_ImportModule'
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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
pycode = <code object test_ImportModule, file "[/Users/matti/build-worker-arm64/own-mac.../build/pypy/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000122e045d0>
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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02|\x00\xa0\x02d\x02\xa1\x01}\x03|\x03\xa0\x03d\x03\xa1\x01}\x04|\x02|\x04u\x00...x01\x00d\x00S\x00#\x001\x00s1w\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x00S\x00\x00\x01\x00\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000122e045d0>
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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02|\x00\xa0\x02d\x02\xa1\x01}\x03|\x03\xa0\x03d\x03\xa1\x01}\x04|\x02|\x04u\x00...x01\x00d\x00S\x00#\x001\x00s1w\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x00S\x00\x00\x01\x00\x01\x00d\x00S\x00'
next_instr = 24L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000122e045d0>
@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_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
oparg = 1, ignored = (24L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ImportMo...y/module/_hpy_universal/test/_vendored/test_hpyimport.py:5]", line 1> at line 4
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ... name);\n }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x00000001231a6e58>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ... name);\n }\n @EXPORT(f)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001231a6e58>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ... name);\n }\n @EXPORT(f)\n @INIT\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.BuiltinCode3 object at 0x00000001231a6e58>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x00000001231a6e58>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n ... name);\n }\n @EXPORT(f)\n @INIT\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_text_W_Root object at 0x00000001231a6fa8>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_O)\n sta...x, name);\n }\n @EXPORT(f)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n HPyDef_METH(f, "f", HPyFunc_O)\n static HPy f_impl(HPyContext *ctx, HPy self, HPy h_name)\n ... return HPyImport_ImportModule(ctx, name);\n }\n @EXPORT(f)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x000000011087b660>
main_src = '\n HPyDef_METH(f, "f", HPyFunc_O)\n static HPy f_impl(HPyContext *ctx, HPy self, HPy h_name)\n ... return HPyImport_ImportModule(ctx, name);\n }\n @EXPORT(f)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-342/test_ImportModule-1'
ext = <setuptools.extension.Extension instance at 0x00000001108f41e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000011087b6a0>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-342/test_ImportModule-1'
ext = <setuptools.extension.Extension instance at 0x00000001108f41e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000011087b6a0>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x00000001108f4160>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012334dc20>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012334dc20>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012334dc20>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012334dc20>
ext = <setuptools.extension.Extension instance at 0x00000001108f41e0>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000012334dc20>
ext = <setuptools.extension.Extension instance at 0x00000001108f41e0>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001108f44e0>
sources = ['mytest.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-342/test_ImportModule-1'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001108f44e0>
obj = '/tmp/buildbot-arm64/usession-py3.11-342/test_ImportModule-1/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_hpyimport.py::AppTestImport::()::test_ImportModule[debug]
===================== 1 failed, 1 passed in 33.60 seconds ======================
++ 03:42:02 starting module/_hpy_universal/test/_vendored/test_hpylong.py [35 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyiter.py [33 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/_hpy_universal/test/_vendored/test_hpyiter.py ....
========================== 4 passed in 34.55 seconds ===========================
++ 03:42:31 starting module/_hpy_universal/test/_vendored/test_hpymodule.py [36 started in total]
__ module/_hpy_universal/test/_vendored/test_hpylist.py [34 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_hpy_universal/test/_vendored/test_hpylist.py ..........
========================== 10 passed in 38.01 seconds ==========================
++ 03:42:32 starting module/_hpy_universal/test/_vendored/test_hpyslice.py [37 started in total]
__ module/_hpy_universal/test/_vendored/test_hpylong.py [35 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 36 items
module/_hpy_universal/test/_vendored/test_hpylong.py ....................................
========================== 36 passed in 50.53 seconds ==========================
++ 03:43:01 starting module/_hpy_universal/test/_vendored/test_hpystructseq.py [38 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyslice.py [36 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_hpy_universal/test/_vendored/test_hpyslice.py ......
========================== 6 passed in 40.13 seconds ===========================
++ 03:43:16 starting module/_hpy_universal/test/_vendored/test_hpytuple.py [39 started in total]
__ module/_hpy_universal/test/_vendored/test_hpymodule.py [37 done in total, somefailed=False]
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/conftest.py:150: UserWarning: HPy static-lib build failed (command 'cc' terminated by signal 10); falling back to per-test source compilation.
result = _support._try_build_static_lib(hpy_devel, 'universal')
/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/conftest.py:157: UserWarning: HPy static-lib build failed; falling back to per-test source compilation.
stacklevel=1,
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/_hpy_universal/test/_vendored/test_hpymodule.py ................
========================== 16 passed in 45.42 seconds ==========================
++ 03:43:23 starting module/_hpy_universal/test/_vendored/test_hpytype.py [40 started in total]
__ module/_hpy_universal/test/_vendored/test_hpystructseq.py [38 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/_hpy_universal/test/_vendored/test_hpystructseq.py ...F
=================================== FAILURES ===================================
___________ AppTestHPyStructSequence.test_invalid_descriptor[debug] ____________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000017252bad8>, 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_invalid_descriptor[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_invalid_descriptor[debug]'>}
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 0x00000001488fa100>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000128a8b260>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_invalid_descriptor[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_invalid_descriptor[debug]'>}
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 0x0000000128a8b260>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_invalid_descriptor[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_invalid_descriptor[debug]'>}
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_invalid_descriptor[debug]'>, '__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 0x0000000153e4ce08>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tor[debug]'>, '__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 0x000000017176d2e0>
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 0x000000017176d2e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tor[debug]'>, '__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_invalid_descriptor[debug]'>, '__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 0x0000000153e4cd90>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tor[debug]'>, '__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 0x000000017176d2a0>
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 0x000000017176d2a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tor[debug]'>, '__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_invalid_descriptor[debug]'>, '__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_invalid_descriptor[debug]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_invalid_descriptor[debug]'>
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_invalid_descriptor[debug]'>, space = StdObjSpace
target = <function test_invalid_descriptor at 0x000000017252bb50>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000170e90950>)
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 0x0000000170e90950>,)
w_func = <Function test_invalid_descriptor>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000170e90950>
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_invalid_descriptor>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000170e90950>,)
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_invalid_descriptor>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000170e90950>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_invalid_descriptor, file "[/Users/matti/build-worker-arm64/o...d/pypy/module/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", 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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
name = 'test_invalid_descriptor', qualname = 'test_invalid_descriptor'
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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
pycode = <code object test_invalid_descriptor, file "[/Users/matti/build-worker-arm64/o...d/pypy/module/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000152a89130>
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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02\xa1\x01}\x02|\x01\xa0\x02t\x03\xa1\x015\x00\x01\x00|\x02\xa0\x04\xa1\x00\x01\x00d\x00\x04\x00\x04\x00\x83\x03\x01\x00d\x00S\x00#\x001\x00s!w\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000152a89130>
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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02\xa1\x01}\x02|\x01\xa0\x02t\x03\xa1\x015\x00\x01\x00|\x02\xa0\x04\xa1\x00\x01\x00d\x00\x04\x00\x04\x00\x83\x03\x01\x00d\x00S\x00#\x001\x00s!w\x02&\x03Y\x00w\x01\x01\x00Y\x00\x01\x00\x01\x00d\x00S\x00'
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000152a89130>
@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_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
oparg = 1, ignored = (16L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_invalid_...ule/_hpy_universal/test/_vendored/test_hpystructseq.py:104]", line 1> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n static HPyStructSequence_Field senti...;\n }\n\n @EXPORT(build)\n @INIT\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.BuiltinCode3 object at 0x00000001586c6bf0>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n static HPyStructSequence_Field senti...;\n }\n\n @EXPORT(build)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001586c6bf0>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n static HPyStructSequence_Field senti...;\n }\n\n @EXPORT(build)\n @INIT\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.BuiltinCode3 object at 0x00000001586c6bf0>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x00000001586c6bf0>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n static HPyStructSequence_Field senti...;\n }\n\n @EXPORT(build)\n @INIT\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_text_W_Root object at 0x00000001586c6cd0>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n static HPyStructSequence_Field sentinel = { NUL...c);\n }\n\n @EXPORT(build)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n static HPyStructSequence_Field sentinel = { NULL, NULL };\n\n static HPyStructSequence_Desc ...StructSequence_NewType(ctx, &nofields_desc);\n }\n\n @EXPORT(build)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x000000017176d1a0>
main_src = '\n static HPyStructSequence_Field sentinel = { NULL, NULL };\n\n static HPyStructSequence_Desc ...StructSequence_NewType(ctx, &nofields_desc);\n }\n\n @EXPORT(build)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-348/test_invalid_descriptor-1'
ext = <setuptools.extension.Extension instance at 0x000000017176d860>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000017176d1e0>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-348/test_invalid_descriptor-1'
ext = <setuptools.extension.Extension instance at 0x000000017176d860>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x000000017176d1e0>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000017176d8a0>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015868a330>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015868a330>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015868a330>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015868a330>
ext = <setuptools.extension.Extension instance at 0x000000017176d860>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x000000015868a330>
ext = <setuptools.extension.Extension instance at 0x000000017176d860>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000017176d7a0>
sources = ['mytest.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-348/test_invalid_descriptor-1'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000017176d7a0>
obj = '/tmp/buildbot-arm64/usession-py3.11-348/test_invalid_descriptor-1/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_hpystructseq.py::AppTestHPyStructSequence::()::test_invalid_descriptor[debug]
===================== 1 failed, 3 passed in 35.03 seconds ======================
++ 03:43:45 starting module/_hpy_universal/test/_vendored/test_hpytype_legacy.py [41 started in total]
__ module/_hpy_universal/test/_vendored/test_hpytuple.py [39 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/_hpy_universal/test/_vendored/test_hpytuple.py ........
========================== 8 passed in 33.64 seconds ===========================
++ 03:43:54 starting module/_hpy_universal/test/_vendored/test_hpyunicode.py [42 started in total]
__ module/_hpy_universal/test/_vendored/test_hpytype.py [40 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 74 items
module/_hpy_universal/test/_vendored/test_hpytype.py ................ss........................................................
==================== 72 passed, 2 skipped in 85.87 seconds =====================
++ 03:44:57 starting module/_hpy_universal/test/_vendored/test_importing.py [43 started in total]
__ module/_hpy_universal/test/_vendored/test_importing.py [41 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_importing.py ss
========================== 2 skipped in 8.60 seconds ===========================
++ 03:45:12 starting module/_hpy_universal/test/_vendored/test_legacy_forbidden.py [44 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyunicode.py [42 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
module/_hpy_universal/test/_vendored/test_hpyunicode.py ..........................................
========================== 42 passed in 78.69 seconds ==========================
++ 03:45:22 starting module/_hpy_universal/test/_vendored/test_number.py [45 started in total]
__ module/_hpy_universal/test/_vendored/test_legacy_forbidden.py [43 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/_hpy_universal/test/_vendored/test_legacy_forbidden.py ....ssss
===================== 4 passed, 4 skipped in 8.37 seconds ======================
++ 03:45:24 starting module/_hpy_universal/test/_vendored/test_object.py [46 started in total]
__ module/_hpy_universal/test/_vendored/test_number.py [44 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/_hpy_universal/test/_vendored/test_number.py .....F............
=================================== FAILURES ===================================
_______________________ AppTestNumber.test_binary[debug] _______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000013a5c6f98>, 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_binary[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_binary[debug]'>}
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 0x00000001400ea0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001402bf0e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_binary[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_binary[debug]'>}
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 0x00000001402bf0e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_binary[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_binary[debug]'>}
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_binary[debug]'>, '__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 0x000000013a911ce0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ary[debug]'>, '__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 0x0000000153ea2320>
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 0x0000000153ea2320>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ary[debug]'>, '__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_binary[debug]'>, '__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 0x000000013a911c18>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ary[debug]'>, '__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 0x0000000153ea22e0>
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 0x0000000153ea22e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ary[debug]'>, '__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_binary[debug]'>, '__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_binary[debug]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_binary[debug]'>
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_binary[debug]'>, space = StdObjSpace
target = <function test_binary at 0x000000013a5c7010>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000015248ff30>)
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 0x000000015248ff30>,)
w_func = <Function test_binary>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000015248ff30>
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_binary>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000015248ff30>,)
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_binary>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000015248ff30>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_binary, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/_vendored/test_number.py:73]", 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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
name = 'test_binary', qualname = 'test_binary'
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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
pycode = <code object test_binary, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000158283088>
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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
co_code = 'd\x01d\x00l\x00}\x01d\x02|\x01j\x01f\x02d\x03|\x01j\x02f\x02d\x04|\x01j\x03f\x02d\x05|\x01j\x04f\x02d\x06|\x01j\x05f\...1d\x12\x83\x02k\x02sRJ\x00\x82\x01|\x04\xa0\x0ed\x13d\x14\xa1\x02|\x03d\x13d\x14\x83\x02k\x02s5J\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000158283088>
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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
co_code = 'd\x01d\x00l\x00}\x01d\x02|\x01j\x01f\x02d\x03|\x01j\x02f\x02d\x04|\x01j\x03f\x02d\x05|\x01j\x04f\x02d\x06|\x01j\x05f\...1d\x12\x83\x02k\x02sRJ\x00\x82\x01|\x04\xa0\x0ed\x13d\x14\xa1\x02|\x03d\x13d\x14\x83\x02k\x02s5J\x00\x82\x01d\x00S\x00'
next_instr = 136L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000158283088>
@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_binary, ...py/module/_hpy_universal/test/_vendored/test_number.py:73]", line 1> at line 17
n_arguments = 1, ignored = (136L,)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_VARA... @INIT\n ')], ['name'], [W_UnicodeObject('number_Add')])
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_VARA... @INIT\n ')], ['name'], [W_UnicodeObject('number_Add')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001132b10f8>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_VARA... @INIT\n ')], ['name'], [W_UnicodeObject('number_Add')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001132b10f8>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_VARA... @INIT\n ')], ['name'], [W_UnicodeObject('number_Add')])
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.BuiltinCode3 object at 0x00000001132b10f8>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x00000001132b10f8>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_VARA... @INIT\n ')], ['name'], [W_UnicodeObject('number_Add')])
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_text_W_Root object at 0x00000001132b1248>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n HPyDef_METH(f, "f", HPyFunc_VARARGS)\n ... }\n @EXPORT(f)\n @INIT\n '), W_UnicodeObject('number_Add'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n HPyDef_METH(f, "f", HPyFunc_VARARGS)\n static HPy f_impl(HPyContext *ctx, HPy self,\... return HPy_Add(ctx, a, b);\n }\n @EXPORT(f)\n @INIT\n '
name = 'number_Add', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x0000000153ea21e0>
main_src = '\n HPyDef_METH(f, "f", HPyFunc_VARARGS)\n static HPy f_impl(HPyContext *ctx, HPy self,\... return HPy_Add(ctx, a, b);\n }\n @EXPORT(f)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.support.DefaultExtensionTemplate'>
name = 'number_Add', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-355/test_binary-1'
ext = <setuptools.extension.Extension instance at 0x0000000143b80260>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x0000000153ea2220>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-355/test_binary-1'
ext = <setuptools.extension.Extension instance at 0x0000000143b80260>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x0000000153ea2220>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x0000000143b802a0>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000153aa92f0>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000153aa92f0>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000153aa92f0>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000153aa92f0>
ext = <setuptools.extension.Extension instance at 0x0000000143b80260>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000153aa92f0>
ext = <setuptools.extension.Extension instance at 0x0000000143b80260>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000143b801a0>
sources = ['number_Add.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-355/test_binary-1'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000143b801a0>
obj = '/tmp/buildbot-arm64/usession-py3.11-355/test_binary-1/number_Add.o'
src = 'number_Add.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_number.py::AppTestNumber::()::test_binary[debug]
===================== 1 failed, 17 passed in 60.45 seconds =====================
++ 03:46:27 starting module/_hpy_universal/test/_vendored/test_slots.py [47 started in total]
__ module/_hpy_universal/test/_vendored/test_object.py [45 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
module/_hpy_universal/test/_vendored/test_object.py ..................................................
========================== 50 passed in 60.23 seconds ==========================
++ 03:46:30 starting module/_hpy_universal/test/_vendored/test_slots_legacy.py [48 started in total]
__ module/_hpy_universal/test/_vendored/test_slots.py [46 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
module/_hpy_universal/test/_vendored/test_slots.py ...F......................................
=================================== FAILURES ===================================
_____________________ AppTestSlots.test_tp_destroy[debug] ______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000113dca098>, 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_tp_destroy[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_tp_destroy[debug]'>}
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 0x000000014020a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000160ca1120>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_tp_destroy[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_tp_destroy[debug]'>}
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 0x0000000160ca1120>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_tp_destroy[debug]'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_tp_destroy[debug]'>}
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_tp_destroy[debug]'>, '__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 0x0000000143315998>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...roy[debug]'>, '__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 0x000000016445f160>
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 0x000000016445f160>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...roy[debug]'>, '__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_tp_destroy[debug]'>, '__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 0x0000000143315920>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...roy[debug]'>, '__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 0x000000016445f120>
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 0x000000016445f120>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...roy[debug]'>, '__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_tp_destroy[debug]'>, '__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_tp_destroy[debug]'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_tp_destroy[debug]'>
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_tp_destroy[debug]'>, space = StdObjSpace
target = <function test_tp_destroy at 0x0000000112af79e8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000171d7e0c8>)
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 0x0000000171d7e0c8>,)
w_func = <Function test_tp_destroy>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000171d7e0c8>
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_tp_destroy>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000171d7e0c8>,)
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_tp_destroy>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000171d7e0c8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_tp_destroy, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", 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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
name = 'test_tp_destroy', qualname = 'test_tp_destroy'
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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
pycode = <code object test_tp_destroy, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000112bdb398>
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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02\xa1\x01}\x02|\x02\xa0\x02d\x03d\x04\xa1\x02}\x03|\x00\xa0\x03\xa1\x00\x01\x00|...\x01|\x00\xa0\x03\xa1\x00\x01\x00|\x02\xa0\x04\xa1\x00d\x03k\x02s4J\x00\x82\x01d\x00S\x00\x02s4J\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000112bdb398>
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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02\xa1\x01}\x02|\x02\xa0\x02d\x03d\x04\xa1\x02}\x03|\x00\xa0\x03\xa1\x00\x01\x00|...\x01|\x00\xa0\x03\xa1\x00\x01\x00|\x02\xa0\x04\xa1\x00d\x03k\x02s4J\x00\x82\x01d\x00S\x00\x02s4J\x00\x82\x01d\x00S\x00'
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000112bdb398>
@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_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
oparg = 1, ignored = (16L,), 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 = <FunctionWithFixedCode descr_make_module>
nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
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 = <FunctionWithFixedCode descr_make_module>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_tp_destr...pypy/module/_hpy_universal/test/_vendored/test_slots.py:37]", line 1> at line 3
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)
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 descr_make_module>
args = Arguments([W_UnicodeObject('\n @DEFINE_PointObject\n @DE...destroy)\n @EXPORT(get_destroyed_x)\n @INIT\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.BuiltinCode3 object at 0x0000000112ecd130>
func = <FunctionWithFixedCode descr_make_module>
args = Arguments([W_UnicodeObject('\n @DEFINE_PointObject\n @DE...destroy)\n @EXPORT(get_destroyed_x)\n @INIT\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x0000000112ecd130>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n @DEFINE_PointObject\n @DE...destroy)\n @EXPORT(get_destroyed_x)\n @INIT\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.BuiltinCode3 object at 0x0000000112ecd130>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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.BuiltinCode3 object at 0x0000000112ecd130>
func = <FunctionWithFixedCode descr_make_module>, w_obj = None
args = Arguments([W_UnicodeObject('\n @DEFINE_PointObject\n @DE...destroy)\n @EXPORT(get_destroyed_x)\n @INIT\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_text_W_Root object at 0x0000000112ecd210>
space = StdObjSpace
scope_w = [W_UnicodeObject('\n @DEFINE_PointObject\n @DEFINE_Point_...t_destroy)\n @EXPORT(get_destroyed_x)\n @INIT\n '), W_UnicodeObject('mytest'), None]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_w(scope_w[1]), scope_w[2])
<2439-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
main_src = '\n @DEFINE_PointObject\n @DEFINE_Point_new\n\n static long destroyed_x;\n\n ... @EXPORT_POINT_TYPE(&Point_new, &Point_destroy)\n @EXPORT(get_destroyed_x)\n @INIT\n '
name = 'mytest', w_extra_sources = None
@unwrap_spec(main_src='text', name='text', w_extra_sources=W_Root)
def descr_make_module(space, main_src, name='mytest',
w_extra_sources=None):
if w_extra_sources is None:
extra_sources = ()
else:
items_w = space.unpackiterable(w_extra_sources)
extra_sources = [space.text_w(item) for item in items_w]
# Include mode in the cache key so that different ABI modes
# (e.g. universal vs debug) get separate .so files. Both
# compile identically but are loaded as distinct shared
# libraries, which prevents C-level static variables from
# leaking between runs (e.g. test_tp_finalize's
# saw_expected_finalize_call / test_finished).
cache_key = (main_src, ExtensionTemplate.__name__,
name, tuple(extra_sources), hpy_abi, mode)
if cache_key in _compiled_module_cache:
so_filename = _compiled_module_cache[cache_key]
else:
module = compiler.compile_module(main_src, ExtensionTemplate,
> name, extra_sources)
module/_hpy_universal/test/support.py:174:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal.test._vendored.support.ExtensionCompiler instance at 0x0000000164512760>
main_src = '\n @DEFINE_PointObject\n @DEFINE_Point_new\n\n static long destroyed_x;\n\n ... @EXPORT_POINT_TYPE(&Point_new, &Point_destroy)\n @EXPORT(get_destroyed_x)\n @INIT\n '
ExtensionTemplate = <class 'pypy.module._hpy_universal.test._vendored.test_hpytype.PointTemplate'>
name = 'mytest', extra_sources = ()
def compile_module(self, main_src, ExtensionTemplate=None, name='mytest', extra_sources=()):
"""
Create and compile a HPy module from the template
"""
ExtensionTemplate = self._fixup_template(ExtensionTemplate)
from distutils.core import Extension
filename = self._expand(ExtensionTemplate, name, main_src)
sources = [str(filename)]
for i, src in enumerate(extra_sources):
extra_filename = self._expand(ExtensionTemplate, 'extmod_%d' % i, src)
sources.append(extra_filename)
#
if self.dump_dir:
pytest.skip("dumping test sources only")
if sys.platform == 'win32':
# not strictly true, could be mingw
compile_args = [
'/Od',
'/WX', # turn warnings into errors (all, for now)
# '/Wall', # this is too aggressive, makes windows itself fail
'/Zi',
'-D_CRT_SECURE_NO_WARNINGS', # something about _snprintf and _snprintf_s
'/FS', # Since the tests run in parallel
]
link_args = [
'/DEBUG',
'/LTCG',
]
else:
compile_args = [
'-g', '-O0',
'-Wfatal-errors', # stop after one error (unrelated to warnings)
'-Werror', # turn warnings into errors (all, for now)
]
link_args = [
'-g',
]
#
ext = Extension(
name,
sources=sources,
include_dirs=self.extra_include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args + self.extra_link_args)
hpy_abi = self.hpy_abi
if hpy_abi == 'debug' or hpy_abi == 'trace':
# there is no compile-time difference between universal and debug
# extensions. The only difference happens at load time
hpy_abi = 'universal'
elif hpy_abi in ('hybrid+debug', 'hybrid+trace'):
hpy_abi = 'hybrid'
so_filename = c_compile(str(self.tmpdir), ext,
hpy_devel=self.hpy_devel,
hpy_abi=hpy_abi,
> compiler_verbose=self.compiler_verbose)
module/_hpy_universal/test/_vendored/support.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-357/test_tp_destroy-1'
ext = <setuptools.extension.Extension instance at 0x000000016445f8e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x00000001645127a0>
hpy_abi = 'universal', compiler_verbose = False, debug = None
def c_compile(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
"""Compile a C extension module using distutils."""
saved_environ = os.environ.copy()
try:
> outputfilename = _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose, debug)
module/_hpy_universal/test/_vendored/support.py:572:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tmpdir = '/tmp/buildbot-arm64/usession-py3.11-357/test_tp_destroy-1'
ext = <setuptools.extension.Extension instance at 0x000000016445f8e0>
hpy_devel = <pypy.module._hpy_universal._vendored.hpy.devel.HPyDevel instance at 0x00000001645127a0>
hpy_abi = 'universal', compiler_verbose = False, debug = 0
def _build(tmpdir, ext, hpy_devel, hpy_abi, compiler_verbose=0, debug=None):
# XXX compact but horrible :-(
from distutils.core import Distribution
import distutils.errors
import distutils.log
#
dist = Distribution()
dist.parse_config_files()
if debug is None:
debug = sys.flags.debug
options_build_ext = dist.get_option_dict('build_ext')
options_build_ext['debug'] = ('ffiplatform', debug)
options_build_ext['force'] = ('ffiplatform', True)
options_build_ext['build_lib'] = ('ffiplatform', tmpdir)
options_build_ext['build_temp'] = ('ffiplatform', tmpdir)
options_build_py = dist.get_option_dict('build_py')
options_build_py['build_lib'] = ('ffiplatform', tmpdir)
# this is the equivalent of passing --hpy-abi from setup.py's command line
dist.hpy_abi = hpy_abi
# Use static libs when they have been pre-built (speeds up test compilation
# by avoiding recompiling the same helper sources for every test module).
dist.hpy_use_static_libs = bool(hpy_devel.get_static_libs(hpy_abi))
dist.hpy_ext_modules = [ext]
# We need to explicitly specify which Python modules we expect because some
# test cases create several distributions in the same temp directory.
dist.py_modules = [ext.name]
hpy_devel.fix_distribution(dist)
old_level = distutils.log.set_threshold(0) or 0
old_dir = os.getcwd()
try:
os.chdir(tmpdir)
distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
module/_hpy_universal/test/_vendored/support.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <setuptools.dist.Distribution instance at 0x000000016445f920>
command = 'build_ext'
def run_command(self, command):
"""Do whatever it takes to run a command (including nothing at all,
if the command has already been run). Specifically: if we have
already created and run the command named by 'command', return
silently without doing anything. If the command named by 'command'
doesn't even have a command object yet, create one. Then invoke
'run()' on that command object (or an existing one).
"""
# Already been here, done that? then return silently.
if self.have_run.get(command):
return
log.info("running %s", command)
cmd_obj = self.get_command_obj(command)
cmd_obj.ensure_finalized()
> cmd_obj.run()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/dist.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000164491948>
def run(self):
"""Build extensions in build directory, then copy if --inplace"""
old_inplace, self.inplace = self.inplace, 0
> _build_ext.run(self)
../virt_test/site-packages/setuptools/command/build_ext.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000164491948>
def run(self):
from distutils.ccompiler import new_compiler
# 'self.extensions', as supplied by setup.py, is a list of
# Extension instances. See the documentation for Extension (in
# distutils.extension) for details.
#
# For backwards compatibility with Distutils 0.8.2 and earlier, we
# also allow the 'extensions' list to be a list of tuples:
# (ext_name, build_info)
# where build_info is a dictionary containing everything that
# Extension instances do except the name, with a few things being
# differently named. We convert these 2-tuples to Extension
# instances as needed.
if not self.extensions:
return
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking extensions.
if self.distribution.has_c_libraries():
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
customize_compiler(self.compiler)
# If we are cross-compiling, init the compiler now (if we are not
# cross-compiling, init would not hurt, but people may rely on
# late initialization of compiler even if they shouldn't...)
if os.name == 'nt' and self.plat_name != get_platform():
self.compiler.initialize(self.plat_name)
# And make sure that any compile/link-related options (which might
# come from the command-line or from the setup script) are set in
# that CCompiler object -- that way, they automatically apply to
# all compiling and linking done here.
if self.include_dirs is not None:
self.compiler.set_include_dirs(self.include_dirs)
if self.define is not None:
# 'define' option is a list of (name,value) tuples
for (name, value) in self.define:
self.compiler.define_macro(name, value)
if self.undef is not None:
for macro in self.undef:
self.compiler.undefine_macro(macro)
if self.libraries is not None:
self.compiler.set_libraries(self.libraries)
if self.library_dirs is not None:
self.compiler.set_library_dirs(self.library_dirs)
if self.rpath is not None:
self.compiler.set_runtime_library_dirs(self.rpath)
if self.link_objects is not None:
self.compiler.set_link_objects(self.link_objects)
# Now actually compile and link everything.
> self.build_extensions()
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:350:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000164491948>
def build_extensions(self):
# First, sanity-check the 'extensions' list
self.check_extensions_list(self.extensions)
for ext in self.extensions:
> self.build_extension(ext)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:459:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000164491948>
ext = <setuptools.extension.Extension instance at 0x000000016445f8e0>
def build_extension(self, ext):
ext._convert_pyx_sources_to_lang()
_compiler = self.compiler
try:
if isinstance(ext, Library):
self.compiler = self.shlib_compiler
> _build_ext.build_extension(self, ext)
../virt_test/site-packages/setuptools/command/build_ext.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module._hpy_universal._vendored.hpy.devel.build_ext_hpy object at 0x0000000164491948>
ext = <setuptools.extension.Extension instance at 0x000000016445f8e0>
def build_extension(self, ext):
sources = ext.sources
if sources is None or type(sources) not in (ListType, TupleType):
raise DistutilsSetupError, \
("in 'ext_modules' option (extension '%s'), " +
"'sources' must be present and must be " +
"a list of source filenames") % ext.name
sources = list(sources)
ext_path = self.get_ext_fullpath(ext.name)
depends = sources + ext.depends
if not (self.force or newer_group(depends, ext_path, 'newer')):
log.debug("skipping '%s' extension (up-to-date)", ext.name)
return
else:
log.info("building '%s' extension", ext.name)
# First, scan the sources for SWIG definition files (.i), run
# SWIG on 'em to create .c files, and modify the sources list
# accordingly.
sources = self.swig_sources(sources, ext)
# Next, compile the source code to object files.
# XXX not honouring 'define_macros' or 'undef_macros' -- the
# CCompiler API needs to change to accommodate this, and I
# want to do one thing at a time!
# Two possible sources for extra compiler arguments:
# - 'extra_compile_args' in Extension object
# - CFLAGS environment variable (not particularly
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
macros = ext.define_macros[:]
for undef in ext.undef_macros:
macros.append((undef,))
objects = self.compiler.compile(sources,
output_dir=self.build_temp,
macros=macros,
include_dirs=ext.include_dirs,
debug=self.debug,
extra_postargs=extra_args,
> depends=ext.depends)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/command/build_ext.py:509:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000016445f820>
sources = ['mytest.c']
output_dir = '/tmp/buildbot-arm64/usession-py3.11-357/test_tp_destroy-1'
macros = [('HPY', None), ('HPY_ABI_UNIVERSAL', None)]
include_dirs = [PosixPath('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/inclu...on_h'), '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include']
debug = 0, extra_preargs = None
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror'], depends = []
def compile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000016445f820>
obj = '/tmp/buildbot-arm64/usession-py3.11-357/test_tp_destroy-1/mytest.o'
src = 'mytest.c', ext = '.c'
cc_args = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_.../build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include', '-c']
extra_postargs = ['-g', '-O0', '-Wfatal-errors', '-Werror']
pp_opts = ['-DHPY', '-DHPY_ABI_UNIVERSAL', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_hpy_universal/_...-arm64/build/pypy/module/_hpy_universal/_vendored/hpy/devel/include', '-I/Users/matti/oss/pypy-arm64-buildbot/include']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/_hpy_universal/test/_vendored/test_slots.py::AppTestSlots::()::test_tp_destroy[debug]
===================== 1 failed, 41 passed in 59.39 seconds =====================
++ 03:47:33 starting module/_hpy_universal/test/_vendored/test_support.py [49 started in total]
__ module/_hpy_universal/test/_vendored/test_support.py [47 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.03 seconds ===========================
++ 03:47:38 starting module/_hpy_universal/test/_vendored/test_tracker.py [50 started in total]
__ module/_hpy_universal/test/_vendored/test_hpytype_legacy.py [48 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 84 items
module/_hpy_universal/test/_vendored/test_hpytype_legacy.py ................ss..................................................................
==================== 82 passed, 2 skipped in 256.66 seconds ====================
++ 03:48:05 starting module/_hpy_universal/test/pypy [51 started in total]
__ module/_hpy_universal/test/pypy [49 done in total, somefailed=False] _______
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 34 items
module/_hpy_universal/test/pypy/test_apiset.py .......
module/_hpy_universal/test/pypy/test_handlemanager.py ..................s......
module/_hpy_universal/test/pypy/test_storage.py .
module/_hpy_universal/test/pypy/test_ztranslation.py s
===================== 32 passed, 2 skipped in 9.15 seconds =====================
++ 03:48:20 starting module/_io/test [52 started in total]
__ module/_hpy_universal/test/_vendored/test_tracker.py [50 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_hpy_universal/test/_vendored/test_tracker.py ............
========================== 12 passed in 46.08 seconds ==========================
++ 03:48:29 starting module/_jitlog/test [53 started in total]
__ module/_jitlog/test [51 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/_jitlog/test/test__jitlog.py .
========================== 1 passed in 13.04 seconds ===========================
++ 03:48:44 starting module/_locale/test [54 started in total]
__ module/_locale/test [52 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
module/_locale/test/test_locale.py ssssssssssssss.
==================== 1 passed, 14 skipped in 14.66 seconds =====================
++ 03:49:01 starting module/_lsprof/test [55 started in total]
__ module/_lsprof/test [53 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_lsprof/test/test_cprofile.py ......
========================== 6 passed in 10.55 seconds ===========================
++ 03:49:13 starting module/_md5/test [56 started in total]
__ module/_md5/test [54 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/_md5/test/test_md5.py ........
=========================== 8 passed in 7.89 seconds ===========================
++ 03:49:21 starting module/_minimal_curses/test [57 started in total]
__ module/_hpy_universal/test/_vendored/test_slots_legacy.py [55 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 22 2024, 13:13:36)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 54 items
module/_hpy_universal/test/_vendored/test_slots_legacy.py ......................................................
========================= 54 passed in 198.41 seconds ==========================
++ 03:49:53 starting module/_multibytecodec/test [58 started in total]
__ module/_multibytecodec/test [56 done in total, somefailed=False] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 67 items
module/_multibytecodec/test/apptest_codecs.py ...................
module/_multibytecodec/test/apptest_incremental.py ....................
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
==================== 65 passed, 2 skipped in 29.25 seconds =====================
++ 03:50:25 starting module/_multiprocessing/test [59 started in total]
__ module/_minimal_curses/test [57 done in total, somefailed=False] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_minimal_curses/test/test_curses.py ......
========================== 6 passed in 64.23 seconds ===========================
++ 03:50:27 starting module/_opcode/test [60 started in total]
__ module/_io/test [58 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 286 items / 1 skipped
module/_io/test/apptest_bufferedio.py .
module/_io/test/apptest_bytesio.py .................
module/_io/test/apptest_io.py ...........................................
module/_io/test/apptest_stringio.py ...........................
module/_io/test/apptest_textio.py ..............................s.................
module/_io/test/test_bufferedio.py .......................................................................ss................................
module/_io/test/test_fileio.py ....................................
module/_io/test/test_interp_textio.py .........
=================== 283 passed, 4 skipped in 126.50 seconds ====================
++ 03:50:30 starting module/_pickle/test [61 started in total]
__ module/_opcode/test [59 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/_opcode/test/apptest_opcode.py .....
========================== 5 passed in 11.83 seconds ===========================
++ 03:50:40 starting module/_pickle_support/test [62 started in total]
__ module/_pickle_support/test [60 done in total, somefailed=False] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/_pickle_support/test/apptest__pickle_support.py .
=========================== 1 passed in 8.02 seconds ===========================
++ 03:50:48 starting module/_posixsubprocess/test [63 started in total]
__ module/_multiprocessing/test [61 done in total, somefailed=True] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_multiprocessing/test/test_interp_semaphore.py s
module/_multiprocessing/test/test_semaphore.py .Fsssss.s
module/_multiprocessing/test/test_win32.py s
module/_multiprocessing/test/test_ztranslation.py .
=================================== FAILURES ===================================
____________________ AppTestSemaphore.test_semaphore_basic _____________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000151dd1788>
def test_semaphore_basic(self):
from _multiprocessing import SemLock
import sys
assert SemLock.SEM_VALUE_MAX > 10
kind = self.SEMAPHORE
value = 1
maxvalue = 1
# the following line gets OSError: [Errno 38] Function not implemented
# if /dev/shm is not mounted on Linux
sem = SemLock(kind, value, maxvalue, "1", unlink=True)
assert sem.kind == kind
assert sem.maxvalue == maxvalue
assert isinstance(sem.handle, int)
assert sem.name is None
assert sem._count() == 0
if sys.platform == 'darwin':
raises(NotImplementedError, 'sem._get_value()')
else:
assert sem._get_value() == 1
> assert sem._is_zero() == False
E (application-level) AssertionError
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_multiprocessing/test/test_semaphore.py:35]:22: AssertionError
=========================== short test summary info ============================
FAIL module/_multiprocessing/test/test_semaphore.py::AppTestSemaphore::()::test_semaphore_basic
================ 1 failed, 3 passed, 8 skipped in 21.93 seconds ================
++ 03:50:49 starting module/_pypyjson/test [64 started in total]
__ module/_pypyjson/test [62 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items / 1 skipped
module/_pypyjson/test/apptest__pypyjson.py ........
module/_pypyjson/test/test__pypyjson.py ............................................
==================== 52 passed, 1 skipped in 29.78 seconds =====================
++ 03:51:22 starting module/_random/test [65 started in total]
__ module/_pickle/test [63 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 65.46 seconds =====================
++ 03:51:43 starting module/_rawffi/alt/test [66 started in total]
__ module/_random/test [64 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 20.33 seconds ==========================
++ 03:51:46 starting module/_rawffi/test [67 started in total]
__ module/_posixsubprocess/test [65 done in total, somefailed=True] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_posixsubprocess/test/apptest_subprocess.py ........F
module/_posixsubprocess/test/test_ztranslation.py .
=================================== FAILURES ===================================
_____________________________ test_restore_signals _____________________________
def test_restore_signals():
import posix as os
# Copied from lib-python/3/subprocess._execute_child
# when calling subprocess.check_output(['cat', '/proc/self/status'],
# restore_signals=True, universal_newlines=True)
def check_output(restore_signals):
c2pread, c2pwrite = os.pipe()
errpipe_read, errpipe_write = os.pipe()
try:
low_fds_to_close = []
while errpipe_write < 3:
low_fds_to_close.append(errpipe_write)
errpipe_write = os.dup(errpipe_write)
for low_fd in low_fds_to_close:
os.close(low_fd)
args = [b'cat', b'/proc/self/status']
executable_list=[b'/usr/bin/cat']
close_fds = True
fds_to_keep = (errpipe_write,)
cwd = None
env_list = None
p2cread = p2cwrite = -1
errread = errwrite = umask = -1
call_setsid = False
pgid_to_set = -1
preexec_fn = None
gid = gids = uid = None
pid = _posixsubprocess.fork_exec(args, executable_list, close_fds,
fds_to_keep, cwd, env_list, p2cread, p2cwrite, c2pread,
c2pwrite, errread, errwrite, errpipe_read,
errpipe_write, restore_signals, call_setsid, pgid_to_set,
gid, gids, uid, umask,
preexec_fn, subprocess._USE_VFORK)
os.close(errpipe_write)
# Wait for exec to fail or succeed; possibly raising an
# exception (limited in size)
errpipe_data = bytearray()
while True:
part = os.read(errpipe_read, 50000)
errpipe_data += part
if not part or len(errpipe_data) > 50000:
break
if errpipe_data:
newpid, sts = os.waitpid(pid, 0)
raise RuntimeError('running commande returned %s' % sts)
out = os.read(c2pread, 50000)
finally:
os.close(c2pwrite)
os.close(c2pread)
os.close(errpipe_read)
return out
sig_ign_mask1 = ''
sig_ign_mask2 = ''
> for line in check_output(True).splitlines():
module/_posixsubprocess/test/apptest_subprocess.py:287:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
restore_signals = W_BoolObject(True)
def check_output(restore_signals):
c2pread, c2pwrite = os.pipe()
errpipe_read, errpipe_write = os.pipe()
try:
low_fds_to_close = []
while errpipe_write < 3:
low_fds_to_close.append(errpipe_write)
errpipe_write = os.dup(errpipe_write)
for low_fd in low_fds_to_close:
os.close(low_fd)
args = [b'cat', b'/proc/self/status']
executable_list=[b'/usr/bin/cat']
close_fds = True
fds_to_keep = (errpipe_write,)
cwd = None
env_list = None
p2cread = p2cwrite = -1
errread = errwrite = umask = -1
call_setsid = False
pgid_to_set = -1
preexec_fn = None
gid = gids = uid = None
pid = _posixsubprocess.fork_exec(args, executable_list, close_fds,
fds_to_keep, cwd, env_list, p2cread, p2cwrite, c2pread,
c2pwrite, errread, errwrite, errpipe_read,
errpipe_write, restore_signals, call_setsid, pgid_to_set,
gid, gids, uid, umask,
preexec_fn, subprocess._USE_VFORK)
os.close(errpipe_write)
# Wait for exec to fail or succeed; possibly raising an
# exception (limited in size)
errpipe_data = bytearray()
while True:
part = os.read(errpipe_read, 50000)
errpipe_data += part
if not part or len(errpipe_data) > 50000:
break
if errpipe_data:
newpid, sts = os.waitpid(pid, 0)
> raise RuntimeError('running commande returned %s' % sts)
E (application-level) RuntimeError: running commande returned 65280
module/_posixsubprocess/test/apptest_subprocess.py:277: RuntimeError
=========================== short test summary info ============================
FAIL module/_posixsubprocess/test/apptest_subprocess.py::test_restore_signals
===================== 1 failed, 9 passed in 62.10 seconds ======================
++ 03:51:54 starting module/_socket/test [68 started in total]
__ module/_rawffi/alt/test [66 done in total, somefailed=False] _______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 ..................................ssssss.s
module/_rawffi/alt/test/test_struct.py ...............
module/_rawffi/alt/test/test_type_converter.py ...........
==================== 66 passed, 7 skipped in 13.61 seconds =====================
++ 03:51:58 starting module/_sre/test [69 started in total]
__ module/_sre/test [67 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 160 items
module/_sre/test/apptest_sre.py ..................................................................
module/_sre/test/test_app_sre.py ..................................................................
module/_sre/test/test_sre_buf.py ............................
========================= 160 passed in 48.13 seconds ==========================
++ 03:52:49 starting module/_vmprof/test [70 started in total]
__ module/_rawffi/test [68 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 84 items
module/_rawffi/test/apptest_rawffi.py .
module/_rawffi/test/test__rawffi.py .....s.............................................s..........s......
module/_rawffi/test/test_exit.py .
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 62.85 seconds =====================
n: 2
Arg 0: 3
Arg 1: 15
++ 03:52:52 starting module/_warnings/test [71 started in total]
__ module/_warnings/test [69 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
module/_warnings/test/apptest_warnings.py ........s.s.....
module/_warnings/test/test_warnings.py .
==================== 15 passed, 2 skipped in 17.64 seconds =====================
++ 03:53:12 starting module/_weakref/test [72 started in total]
__ module/_vmprof/test [70 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/_vmprof/test/test__vmprof.py ....s
module/_vmprof/test/test_direct.py ..
===================== 6 passed, 1 skipped in 21.77 seconds =====================
++ 03:53:13 starting module/_winreg/test [73 started in total]
__ module/_winreg/test [71 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.13 seconds ===========================
++ 03:53:14 starting module/array/test [74 started in total]
__ module/_weakref/test [72 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
module/_weakref/test/apptest_weakref.py ...........................................
========================== 43 passed in 35.27 seconds ==========================
++ 03:53:50 starting module/atexit/test [75 started in total]
__ module/_socket/test [73 done in total, somefailed=True] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 87 items
module/_socket/test/apptest_socket.py .....................ss..s............s.ss...........F...sssss
module/_socket/test/test_sock_app.py ....................s...
module/_socket/test/test_ztranslation.py .
=================================== FAILURES ===================================
___________________________ test_tcp_bytearray_name ____________________________
def test_tcp_bytearray_name():
import _socket as socket
if not hasattr(socket, 'AF_UNIX'):
pytest.skip('AF_UNIX not supported.')
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
> s.bind(bytearray(b"\x00python\x00test\x00"))
E (application-level) FileNotFoundError: [Errno 2] No such file or directory
module/_socket/test/apptest_socket.py:830: OSError
=========================== short test summary info ============================
FAIL module/_socket/test/apptest_socket.py::test_tcp_bytearray_name
============== 1 failed, 74 passed, 12 skipped in 118.35 seconds ===============
++ 03:53:57 starting module/binascii/test [76 started in total]
__ module/atexit/test [74 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/atexit/test/apptest_atexit.py ..
========================== 2 passed in 14.74 seconds ===========================
++ 03:54:07 starting module/bz2/test [77 started in total]
__ module/binascii/test [75 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/binascii/test/test_binascii.py ..................
========================== 18 passed in 17.50 seconds ==========================
++ 03:54:18 starting module/cmath/test [78 started in total]
__ module/array/test [76 done in total, somefailed=True] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 64 items
module/array/test/apptest_array.py ...
module/array/test/test_array.py ................E.....s..................s...................
module/array/test/test_ztranslation.py .
==================================== ERRORS ====================================
____________ ERROR at teardown of AppTestArray.test_reversingslice _____________
self = <CallInfo when='teardown' exception: {
<C object Array of Char {'nolength': True} at 0x6000025d37a0>:
<C object Arra...cos-arm64/build/pypy/module/array/interp_array.py", line 214, in setlen
rffi.CCHARP.TO, byte_size, flavor='raw')
}>
func = <function <lambda> at 0x0000000153347268>, 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_reversingslice'>, 'nextitem': <...kwargs={...}>}>, 'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
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 0x00000001400ea0c8>
hook = <_HookCaller 'pytest_runtest_teardown'>, methods = []
kwargs = {'__multicall__': <_MultiCall 0 results, 0 meths, kwargs={'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <...kwargs={...}>}>, 'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
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_reversingslice'>, 'nextitem': <...kwargs={...}>}>, 'item': <AppTestMethod 'test_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>}
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_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>, '__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 0x000000012b24b6c8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...large_step'>, '__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 0x0000000153b3e0e0>
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 0x0000000153b3e0e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 0 meths, kwargs={'i...large_step'>, '__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_reversingslice'>, 'nextitem': <AppTestMethod 'test_getslice_large_step'>, '__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 0x000000015062d9a0>
item = <AppTestMethod 'test_reversingslice'>
@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 <C object Array of Char {'nolength': True} at 0x6000025d37a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3180>:
E <C object Array of Char {'nolength': True} at 0x6000025d38e0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3940>:
E <C object Array of Char {'nolength': True} at 0x6000025d32c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c10a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c2ae0>:
E <C object Array of Char {'nolength': True} at 0x6000025c0cc0>:
E <C object Array of Char {'nolength': True} at 0x6000025cc8e0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe4e0>:
E <C object Array of Char {'nolength': True} at 0x6000027e29c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe460>:
E <C object Array of Char {'nolength': True} at 0x6000025fea40>:
E <C object Array of Char {'nolength': True} at 0x6000027d2c10>:
E <C object Array of Char {'nolength': True} at 0x6000025fe360>:
E <C object Array of Char {'nolength': True} at 0x6000025fe9c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe780>:
E <C object Array of Char {'nolength': True} at 0x6000027e6f90>:
E <C object Array of Char {'nolength': True} at 0x6000027e67a0>:
E <C object Array of Char {'nolength': True} at 0x6000025fdd80>:
E <C object Array of Char {'nolength': True} at 0x6000025fde20>:
E <C object Array of Char {'nolength': True} at 0x6000027e4530>:
E <C object Array of Char {'nolength': True} at 0x6000027e4320>:
E <C object Array of Char {'nolength': True} at 0x6000025fea80>:
E <C object Array of Char {'nolength': True} at 0x6000025fe7e0>:
E <C object Array of Char {'nolength': True} at 0x6000027e7eb0>:
E <C object Array of Char {'nolength': True} at 0x6000027e6f00>:
E <C object Array of Char {'nolength': True} at 0x6000025fe840>:
E <C object Array of Char {'nolength': True} at 0x6000025c7840>:
E <C object Array of Char {'nolength': True} at 0x6000025c7a80>:
E <C object Array of Char {'nolength': True} at 0x6000025c0160>:
E <C object Array of Char {'nolength': True} at 0x6000025c0ce0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3660>:
E <C object Array of Char {'nolength': True} at 0x6000025c3840>:
E <C object Array of Char {'nolength': True} at 0x6000025c10e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3340>:
E <C object Array of Char {'nolength': True} at 0x6000025fe040>:
E <C object Array of Char {'nolength': True} at 0x6000025fe7c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe560>:
E <C object Array of Char {'nolength': True} at 0x6000027e7840>:
E <C object Array of Char {'nolength': True} at 0x6000025c36a0>:
E <C object Array of Char {'nolength': True} at 0x6000027cecc0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3680>:
E <C object Array of Char {'nolength': True} at 0x6000027cc120>:
E <C object Array of Char {'nolength': True} at 0x6000027cb980>:
E <C object Array of Char {'nolength': True} at 0x6000025c7900>:
E <C object Array of Char {'nolength': True} at 0x6000025fe7a0>:
E <C object Array of Char {'nolength': True} at 0x6000027e47f0>:
E <C object Array of Char {'nolength': True} at 0x6000027e4440>:
E <C object Array of Char {'nolength': True} at 0x6000025fe9a0>:
E <C object Array of Char {'nolength': True} at 0x6000025feac0>:
E <C object Array of Char {'nolength': True} at 0x6000027d3df0>:
E <C object Array of Char {'nolength': True} at 0x6000027e6310>:
E <C object Array of Char {'nolength': True} at 0x6000025fe1e0>:
E <C object Array of Char {'nolength': True} at 0x6000025fca20>:
E <C object Array of Char {'nolength': True} at 0x6000025c7220>:
E <C object Array of Char {'nolength': True} at 0x6000025c7600>:
E <C object Array of Char {'nolength': True} at 0x6000025c22c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3740>:
E <C object Array of Char {'nolength': True} at 0x6000025c39a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3880>:
E <C object Array of Char {'nolength': True} at 0x6000025c3800>:
E <C object Array of Char {'nolength': True} at 0x6000025c3920>:
E <C object Array of Char {'nolength': True} at 0x6000025c85e0>:
E <C object Array of Char {'nolength': True} at 0x6000027e1ca0>:
E <C object Array of Char {'nolength': True} at 0x600002bef180>:
E <C object Array of Char {'nolength': True} at 0x600002bef720>:
E <C object Array of Char {'nolength': True} at 0x6000025feb20>:
E <C object Array of Char {'nolength': True} at 0x6000025fe3c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe700>:
E <C object Array of Char {'nolength': True} at 0x6000025fe9e0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe200>:
E <C object Array of Char {'nolength': True} at 0x6000025f46e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c35c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c0d20>:
E <C object Array of Char {'nolength': True} at 0x6000025c0ec0>:
E <C object Array of Char {'nolength': True} at 0x6000025c01a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3b40>:
E <C object Array of Char {'nolength': True} at 0x6000025c39e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c38e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c0c00>:
E <C object Array of Char {'nolength': True} at 0x6000027c8110>:
E <C object Array of Char {'nolength': True} at 0x6000025fe760>:
E <C object Array of Char {'nolength': True} at 0x6000025fe8a0>:
E <C object Array of Char {'nolength': True} at 0x6000027cf730>:
E <C object Array of Char {'nolength': True} at 0x6000025c39c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3b60>:
E <C object Array of Char {'nolength': True} at 0x6000025c3c80>:
E <C object Array of Char {'nolength': True} at 0x6000027e43f0>:
E <C object Array of Char {'nolength': True} at 0x6000027e44e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c0d60>:
E <C object Array of Char {'nolength': True} at 0x6000025c1060>:
E <C object Array of Char {'nolength': True} at 0x6000027d41d0>:
E <C object Array of Char {'nolength': True} at 0x6000027d5af0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3420>:
E <C object Array of Char {'nolength': True} at 0x6000025d2e20>:
E <C object Array of Char {'nolength': True} at 0x6000027e5c10>:
E <C object Array of Char {'nolength': True} at 0x6000027d6180>:
E <C object Array of Char {'nolength': True} at 0x6000025d3260>:
E <C object Array of Char {'nolength': True} at 0x6000025d37c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4340>:
E <C object Array of Char {'nolength': True} at 0x6000025d3d20>:
E <C object Array of Char {'nolength': True} at 0x6000025d3960>:
E <C object Array of Char {'nolength': True} at 0x6000025d3540>:
E <C object Array of Char {'nolength': True} at 0x6000025d3ac0>:
E <C object Array of Char {'nolength': True} at 0x6000025d39e0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe6c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe920>:
E <C object Array of Char {'nolength': True} at 0x6000025febe0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe940>:
E <C object Array of Char {'nolength': True} at 0x6000027e64b0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd180>:
E <C object Array of Char {'nolength': True} at 0x6000025c3860>:
E <C object Array of Char {'nolength': True} at 0x6000027ce270>:
E <C object Array of Char {'nolength': True} at 0x6000027e41a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3940>:
E <C object Array of Char {'nolength': True} at 0x6000025c3960>:
E <C object Array of Char {'nolength': True} at 0x6000027dc780>:
E <C object Array of Char {'nolength': True} at 0x6000027dd580>:
E <C object Array of Char {'nolength': True} at 0x6000025c73a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7ce0>:
E <C object Array of Char {'nolength': True} at 0x6000027cea00>:
E <C object Array of Char {'nolength': True} at 0x6000027cca60>:
E <C object Array of Char {'nolength': True} at 0x6000025c37c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3bc0>:
E <C object Array of Char {'nolength': True} at 0x6000025c1520>:
E <C object Array of Char {'nolength': True} at 0x6000025c3c60>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ac0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3a60>:
E <C object Array of Char {'nolength': True} at 0x6000025c3a20>:
E <C object Array of Char {'nolength': True} at 0x6000025c3280>:
E <C object Array of Char {'nolength': True} at 0x6000025c7240>:
E <C object Array of Char {'nolength': True} at 0x6000025fe540>:
E <C object Array of Char {'nolength': True} at 0x6000025fece0>:
E <C object Array of Char {'nolength': True} at 0x6000025febc0>:
E <C object Array of Char {'nolength': True} at 0x6000027e1c60>:
E <C object Array of Char {'nolength': True} at 0x6000027e6090>:
E <C object Array of Char {'nolength': True} at 0x6000025c6d40>:
E <C object Array of Char {'nolength': True} at 0x6000025c7380>:
E <C object Array of Char {'nolength': True} at 0x6000025c3980>:
E <C object Array of Char {'nolength': True} at 0x6000025c3400>:
E <C object Array of Char {'nolength': True} at 0x6000025c3700>:
E <C object Array of Char {'nolength': True} at 0x6000027f6fe0>:
E <C object Array of Char {'nolength': True} at 0x6000027f4fb0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3820>:
E <C object Array of Char {'nolength': True} at 0x6000025c13e0>:
E <C object Array of Char {'nolength': True} at 0x6000027e1dc0>:
E <C object Array of Char {'nolength': True} at 0x6000027e0150>:
E <C object Array of Char {'nolength': True} at 0x6000025c3b00>:
E <C object Array of Char {'nolength': True} at 0x6000025c38c0>:
E <C object Array of Char {'nolength': True} at 0x6000025feca0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe3e0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe720>:
E <C object Array of Char {'nolength': True} at 0x6000025fed00>:
E <C object Array of Char {'nolength': True} at 0x6000025feee0>:
E <C object Array of Char {'nolength': True} at 0x6000025fed40>:
E <C object Array of Char {'nolength': True} at 0x6000025feb40>:
E <C object Array of Char {'nolength': True} at 0x6000025c1340>:
E <C object Array of Char {'nolength': True} at 0x6000025c3b80>:
E <C object Array of Char {'nolength': True} at 0x6000025c3e20>:
E <C object Array of Char {'nolength': True} at 0x6000027cd620>:
E <C object Array of Char {'nolength': True} at 0x6000027ccd70>:
E <C object Array of Char {'nolength': True} at 0x6000025c3d00>:
E <C object Array of Char {'nolength': True} at 0x6000025c38a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3d40>:
E <C object Array of Char {'nolength': True} at 0x6000025c3e00>:
E <C object Array of Char {'nolength': True} at 0x6000025c3f20>:
E <C object Array of Char {'nolength': True} at 0x6000027ce0a0>:
E <C object Array of Char {'nolength': True} at 0x6000027cdf70>:
E <C object Array of Char {'nolength': True} at 0x6000025eb7c0>:
E <C object Array of Char {'nolength': True} at 0x6000025e9ce0>:
E <C object Array of Char {'nolength': True} at 0x6000027e0aa0>:
E <C object Array of Char {'nolength': True} at 0x6000027e1990>:
E <C object Array of Char {'nolength': True} at 0x6000025e95a0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb580>:
E <C object Array of Char {'nolength': True} at 0x6000027ced20>:
E <C object Array of Char {'nolength': True} at 0x6000027cfb40>:
E <C object Array of Char {'nolength': True} at 0x6000025ea5c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb880>:
E <C object Array of Char {'nolength': True} at 0x6000027dea10>:
E <C object Array of Char {'nolength': True} at 0x6000027dcc90>:
E <C object Array of Char {'nolength': True} at 0x6000025fef60>:
E <C object Array of Char {'nolength': True} at 0x6000025fed20>:
E <C object Array of Char {'nolength': True} at 0x6000027f73c0>:
E <C object Array of Char {'nolength': True} at 0x6000027f6410>:
E <C object Array of Char {'nolength': True} at 0x6000025fe580>:
E <C object Array of Char {'nolength': True} at 0x6000025fecc0>:
E <C object Array of Char {'nolength': True} at 0x6000027e2930>:
E <C object Array of Char {'nolength': True} at 0x6000027e2640>:
E <C object Array of Char {'nolength': True} at 0x6000025fe500>:
E <C object Array of Char {'nolength': True} at 0x6000025fef40>:
E <C object Array of Char {'nolength': True} at 0x6000025fee40>:
E <C object Array of Char {'nolength': True} at 0x6000027f65e0>:
E <C object Array of Char {'nolength': True} at 0x600002bef2a0>:
E <C object Array of Char {'nolength': True} at 0x600002bef8a0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd200>:
E <C object Array of Char {'nolength': True} at 0x6000025f3300>:
E <C object Array of Char {'nolength': True} at 0x6000025e9ba0>:
E <C object Array of Char {'nolength': True} at 0x6000025ea500>:
E <C object Array of Char {'nolength': True} at 0x6000025e90a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ea0c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb840>:
E <C object Array of Char {'nolength': True} at 0x6000025ea260>:
E <C object Array of Char {'nolength': True} at 0x6000025eab60>:
E <C object Array of Char {'nolength': True} at 0x6000025eaa00>:
E <C object Array of Char {'nolength': True} at 0x6000025c8160>:
E <C object Array of Char {'nolength': True} at 0x6000025d20c0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3c00>:
E <C object Array of Char {'nolength': True} at 0x6000025d3d80>:
E <C object Array of Char {'nolength': True} at 0x6000025d3320>:
E <C object Array of Char {'nolength': True} at 0x6000025d3820>:
E <C object Array of Char {'nolength': True} at 0x6000027d4520>:
E <C object Array of Char {'nolength': True} at 0x600002bc1230>:
E <C object Array of Char {'nolength': True} at 0x600002be0ab0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3bc0>:
E <C object Array of Char {'nolength': True} at 0x6000025d34a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3b40>:
E <C object Array of Char {'nolength': True} at 0x6000025d3660>:
E <C object Array of Char {'nolength': True} at 0x6000025d3e00>:
E <C object Array of Char {'nolength': True} at 0x6000025d4260>:
E <C object Array of Char {'nolength': True} at 0x6000025c37a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3e80>:
E <C object Array of Char {'nolength': True} at 0x6000025c3e60>:
E <C object Array of Char {'nolength': True} at 0x6000025c75e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4740>:
E <C object Array of Char {'nolength': True} at 0x6000025f1b40>:
E <C object Array of Char {'nolength': True} at 0x6000025f33e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3700>:
E <C object Array of Char {'nolength': True} at 0x6000027c9740>:
E <C object Array of Char {'nolength': True} at 0x6000025c78c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3f60>:
E <C object Array of Char {'nolength': True} at 0x6000027c0330>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ce0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3d80>:
E <C object Array of Char {'nolength': True} at 0x6000025c3c00>:
E <C object Array of Char {'nolength': True} at 0x6000027d5d90>:
E <C object Array of Char {'nolength': True} at 0x6000027dd3a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f32a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f2560>:
E <C object Array of Char {'nolength': True} at 0x6000027e91a0>:
E <C object Array of Char {'nolength': True} at 0x6000027e83d0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3480>:
E <C object Array of Char {'nolength': True} at 0x6000025f3580>:
E <C object Array of Char {'nolength': True} at 0x6000027ebfd0>:
E <C object Array of Char {'nolength': True} at 0x6000027c1ca0>:
E <C object Array of Char {'nolength': True} at 0x6000025f32e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f35a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f1260>:
E <C object Array of Char {'nolength': True} at 0x6000025cd1a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3ec0>:
E <C object Array of Char {'nolength': True} at 0x6000025d2ea0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3b60>:
E <C object Array of Char {'nolength': True} at 0x6000025d3720>:
E <C object Array of Char {'nolength': True} at 0x6000025d3f80>:
E <C object Array of Char {'nolength': True} at 0x6000025c3f80>:
E <C object Array of Char {'nolength': True} at 0x6000025c1a00>:
E <C object Array of Char {'nolength': True} at 0x6000025d3900>:
E <C object Array of Char {'nolength': True} at 0x6000027c9730>:
E <C object Array of Char {'nolength': True} at 0x6000025f1d80>:
E <C object Array of Char {'nolength': True} at 0x6000027ea420>:
E <C object Array of Char {'nolength': True} at 0x6000025f3120>:
E <C object Array of Char {'nolength': True} at 0x6000027e9970>:
E <C object Array of Char {'nolength': True} at 0x6000027da180>:
E <C object Array of Char {'nolength': True} at 0x6000025d3fc0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3c60>:
E <C object Array of Char {'nolength': True} at 0x6000027c23f0>:
E <C object Array of Char {'nolength': True} at 0x6000027c0630>:
E <C object Array of Char {'nolength': True} at 0x6000025c0d40>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ee0>:
E <C object Array of Char {'nolength': True} at 0x6000027d4e60>:
E <C object Array of Char {'nolength': True} at 0x6000027d7570>:
E <C object Array of Char {'nolength': True} at 0x6000025c3da0>:
E <C object Array of Char {'nolength': True} at 0x6000025d5c80>:
E <C object Array of Char {'nolength': True} at 0x6000025c7a00>:
E <C object Array of Char {'nolength': True} at 0x6000025c7c40>:
E <C object Array of Char {'nolength': True} at 0x6000025eaaa0>:
E <C object Array of Char {'nolength': True} at 0x6000025eaa20>:
E <C object Array of Char {'nolength': True} at 0x6000025eb940>:
E <C object Array of Char {'nolength': True} at 0x6000025ea3e0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb760>:
E <C object Array of Char {'nolength': True} at 0x6000025eb9e0>:
E <C object Array of Char {'nolength': True} at 0x6000025eadc0>:
E <C object Array of Char {'nolength': True} at 0x6000027cd650>:
E <C object Array of Char {'nolength': True} at 0x600002bea700>:
E <C object Array of Char {'nolength': True} at 0x600002bea430>:
E <C object Array of Char {'nolength': True} at 0x6000025eb640>:
E <C object Array of Char {'nolength': True} at 0x6000025eb7e0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb820>:
E <C object Array of Char {'nolength': True} at 0x6000025ea820>:
E <C object Array of Char {'nolength': True} at 0x6000025eb9a0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb620>:
E <C object Array of Char {'nolength': True} at 0x6000025c7a40>:
E <C object Array of Char {'nolength': True} at 0x6000025fef20>:
E <C object Array of Char {'nolength': True} at 0x6000025feb80>:
E <C object Array of Char {'nolength': True} at 0x6000025fe520>:
E <C object Array of Char {'nolength': True} at 0x6000025ff100>:
E <C object Array of Char {'nolength': True} at 0x6000025feae0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe280>:
E <C object Array of Char {'nolength': True} at 0x6000025fede0>:
E <C object Array of Char {'nolength': True} at 0x6000027d7340>:
E <C object Array of Char {'nolength': True} at 0x6000025ff0c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3740>:
E <C object Array of Char {'nolength': True} at 0x6000027e80e0>:
E <C object Array of Char {'nolength': True} at 0x6000025d4120>:
E <C object Array of Char {'nolength': True} at 0x6000025d33e0>:
E <C object Array of Char {'nolength': True} at 0x6000025d30e0>:
E <C object Array of Char {'nolength': True} at 0x6000027d6950>:
E <C object Array of Char {'nolength': True} at 0x6000027e0160>:
E <C object Array of Char {'nolength': True} at 0x6000025c8220>:
E <C object Array of Char {'nolength': True} at 0x6000025c86c0>:
E <C object Array of Char {'nolength': True} at 0x6000027dd4f0>:
E <C object Array of Char {'nolength': True} at 0x6000027e2d10>:
E <C object Array of Char {'nolength': True} at 0x6000025d3880>:
E <C object Array of Char {'nolength': True} at 0x6000025d3ee0>:
E <C object Array of Char {'nolength': True} at 0x6000027f59a0>:
E <C object Array of Char {'nolength': True} at 0x6000027f4ea0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3e40>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ae0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3fe0>:
E <C object Array of Char {'nolength': True} at 0x6000025d35a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3360>:
E <C object Array of Char {'nolength': True} at 0x6000025d4040>:
E <C object Array of Char {'nolength': True} at 0x6000025c3780>:
E <C object Array of Char {'nolength': True} at 0x6000025d34c0>:
E <C object Array of Char {'nolength': True} at 0x6000025d4300>:
E <C object Array of Char {'nolength': True} at 0x6000025d3d40>:
E <C object Array of Char {'nolength': True} at 0x6000025c30a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3f60>:
E <C object Array of Char {'nolength': True} at 0x6000027f7630>:
E <C object Array of Char {'nolength': True} at 0x6000025d4140>:
E <C object Array of Char {'nolength': True} at 0x6000025c8580>:
E <C object Array of Char {'nolength': True} at 0x6000027ec710>:
E <C object Array of Char {'nolength': True} at 0x6000027e3670>:
E <C object Array of Char {'nolength': True} at 0x6000025fe6a0>:
E <C object Array of Char {'nolength': True} at 0x6000025fed60>:
E <C object Array of Char {'nolength': True} at 0x6000027e56a0>:
E <C object Array of Char {'nolength': True} at 0x6000027d33b0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe8e0>:
E <C object Array of Char {'nolength': True} at 0x6000025fee20>:
E <C object Array of Char {'nolength': True} at 0x6000027cd5b0>:
E <C object Array of Char {'nolength': True} at 0x6000027f0000>:
E <C object Array of Char {'nolength': True} at 0x6000025fe4c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fee60>:
E <C object Array of Char {'nolength': True} at 0x6000025ff200>:
E <C object Array of Char {'nolength': True} at 0x6000025ff220>:
E <C object Array of Char {'nolength': True} at 0x6000025ff2e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff040>:
E <C object Array of Char {'nolength': True} at 0x6000025fef00>:
E <C object Array of Char {'nolength': True} at 0x6000025cd2a0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd100>:
E <C object Array of Char {'nolength': True} at 0x6000025fec40>:
E <C object Array of Char {'nolength': True} at 0x6000025ff380>:
E <C object Array of Char {'nolength': True} at 0x6000025fe180>:
E <C object Array of Char {'nolength': True} at 0x6000027f1f90>:
E <C object Array of Char {'nolength': True} at 0x6000027f1f80>:
E <C object Array of Char {'nolength': True} at 0x6000025c8620>:
E <C object Array of Char {'nolength': True} at 0x6000025eb340>:
E <C object Array of Char {'nolength': True} at 0x6000025eb8c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eba20>:
E <C object Array of Char {'nolength': True} at 0x6000025eb4c0>:
E <C object Array of Char {'nolength': True} at 0x6000027c96c0>:
E <C object Array of Char {'nolength': True} at 0x6000027cb990>:
E <C object Array of Char {'nolength': True} at 0x6000025eb680>:
E <C object Array of Char {'nolength': True} at 0x6000025e8fa0>:
E <C object Array of Char {'nolength': True} at 0x6000027c9580>:
E <C object Array of Char {'nolength': True} at 0x6000027cba00>:
E <C object Array of Char {'nolength': True} at 0x6000025eb180>:
E <C object Array of Char {'nolength': True} at 0x6000025ebac0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb860>:
E <C object Array of Char {'nolength': True} at 0x6000025ebb80>:
E <C object Array of Char {'nolength': True} at 0x6000025cd0a0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd2c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe860>:
E <C object Array of Char {'nolength': True} at 0x6000025fe8c0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff320>:
E <C object Array of Char {'nolength': True} at 0x6000025fee00>:
E <C object Array of Char {'nolength': True} at 0x6000025fe660>:
E <C object Array of Char {'nolength': True} at 0x6000025ff1a0>:
E <C object Array of Char {'nolength': True} at 0x6000027cbf20>:
E <C object Array of Char {'nolength': True} at 0x6000027cff90>:
E <C object Array of Char {'nolength': True} at 0x6000025ebb40>:
E <C object Array of Char {'nolength': True} at 0x6000025ebaa0>:
E <C object Array of Char {'nolength': True} at 0x6000025e97a0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb4a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebca0>:
E <C object Array of Char {'nolength': True} at 0x6000027e7db0>:
E <C object Array of Char {'nolength': True} at 0x6000027c8d40>:
E <C object Array of Char {'nolength': True} at 0x6000025cd3c0>:
E <C object Array of Char {'nolength': True} at 0x6000025ccf80>:
E <C object Array of Char {'nolength': True} at 0x6000027ddd80>:
E <C object Array of Char {'nolength': True} at 0x6000027f0f30>:
E <C object Array of Char {'nolength': True} at 0x6000025fe740>:
E <C object Array of Char {'nolength': True} at 0x6000025ff060>:
E <C object Array of Char {'nolength': True} at 0x6000027f1570>:
E <C object Array of Char {'nolength': True} at 0x6000027f3020>:
E <C object Array of Char {'nolength': True} at 0x6000025fe5a0>:
E <C object Array of Char {'nolength': True} at 0x6000025feaa0>:
E <C object Array of Char {'nolength': True} at 0x6000027f5aa0>:
E <C object Array of Char {'nolength': True} at 0x6000027f09d0>:
E <C object Array of Char {'nolength': True} at 0x6000025fea00>:
E <C object Array of Char {'nolength': True} at 0x6000025f4680>:
E <C object Array of Char {'nolength': True} at 0x6000027d8aa0>:
E <C object Array of Char {'nolength': True} at 0x6000027ca8c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb800>:
E <C object Array of Char {'nolength': True} at 0x6000025e8ee0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb740>:
E <C object Array of Char {'nolength': True} at 0x6000025eb6c0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebba0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe600>:
E <C object Array of Char {'nolength': True} at 0x6000025ff120>:
E <C object Array of Char {'nolength': True} at 0x6000027f3e60>:
E <C object Array of Char {'nolength': True} at 0x600002bef150>:
E <C object Array of Char {'nolength': True} at 0x600002bef780>:
E <C object Array of Char {'nolength': True} at 0x6000025c7920>:
E <C object Array of Char {'nolength': True} at 0x6000025c7dc0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebb20>:
E <C object Array of Char {'nolength': True} at 0x6000025ebdc0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb8e0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb720>:
E <C object Array of Char {'nolength': True} at 0x6000025ebce0>:
E <C object Array of Char {'nolength': True} at 0x6000027c2960>:
E <C object Array of Char {'nolength': True} at 0x6000027c21c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb9c0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebcc0>:
E <C object Array of Char {'nolength': True} at 0x6000027f2d40>:
E <C object Array of Char {'nolength': True} at 0x6000027f0f00>:
E <C object Array of Char {'nolength': True} at 0x6000025ebc80>:
E <C object Array of Char {'nolength': True} at 0x6000025ebb60>:
E <C object Array of Char {'nolength': True} at 0x6000027c2730>:
E <C object Array of Char {'nolength': True} at 0x6000027cf5e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7de0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7f40>:
E <C object Array of Char {'nolength': True} at 0x6000027cb0f0>:
E <C object Array of Char {'nolength': True} at 0x6000027e0610>:
E <C object Array of Char {'nolength': True} at 0x6000025fea20>:
E <C object Array of Char {'nolength': True} at 0x6000025ff580>:
E <C object Array of Char {'nolength': True} at 0x6000025ff4c0>:
E <C object Array of Char {'nolength': True} at 0x6000027e6f70>:
E <C object Array of Char {'nolength': True} at 0x600002bef510>:
E <C object Array of Char {'nolength': True} at 0x600002befae0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff000>:
E <C object Array of Char {'nolength': True} at 0x6000025ff460>:
E <C object Array of Char {'nolength': True} at 0x6000025ff5c0>:
E <C object Array of Char {'nolength': True} at 0x6000025feb60>:
E <C object Array of Char {'nolength': True} at 0x6000025cce60>:
E <C object Array of Char {'nolength': True} at 0x6000025f36a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3660>:
E <C object Array of Char {'nolength': True} at 0x6000025f3360>:
E <C object Array of Char {'nolength': True} at 0x6000025f3400>:
E <C object Array of Char {'nolength': True} at 0x6000025f30c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3460>:
E <C object Array of Char {'nolength': True} at 0x6000025f37c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3960>:
E <C object Array of Char {'nolength': True} at 0x6000025f36e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f37e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebde0>:
E <C object Array of Char {'nolength': True} at 0x6000027e9750>:
E <C object Array of Char {'nolength': True} at 0x600002bea850>:
E <C object Array of Char {'nolength': True} at 0x600002beaa60>:
E <C object Array of Char {'nolength': True} at 0x6000025ebc60>:
E <C object Array of Char {'nolength': True} at 0x6000025cd0e0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb960>:
E <C object Array of Char {'nolength': True} at 0x6000025ebea0>:
E <C object Array of Char {'nolength': True} at 0x6000025eba80>:
E <C object Array of Char {'nolength': True} at 0x6000025eff80>:
E <C object Array of Char {'nolength': True} at 0x6000025c7e20>:
E <C object Array of Char {'nolength': True} at 0x6000025c7ca0>:
E <C object Array of Char {'nolength': True} at 0x6000025d4080>:
E <C object Array of Char {'nolength': True} at 0x6000025d41c0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3fa0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ca0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebda0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebf80>:
E <C object Array of Char {'nolength': True} at 0x6000027f0c90>:
E <C object Array of Char {'nolength': True} at 0x6000025ebd60>:
E <C object Array of Char {'nolength': True} at 0x6000025ea480>:
E <C object Array of Char {'nolength': True} at 0x6000027c31c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3a00>:
E <C object Array of Char {'nolength': True} at 0x6000025ccf20>:
E <C object Array of Char {'nolength': True} at 0x6000025cd500>:
E <C object Array of Char {'nolength': True} at 0x6000027df4e0>:
E <C object Array of Char {'nolength': True} at 0x6000027f70f0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff3a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff620>:
E <C object Array of Char {'nolength': True} at 0x6000027d5ef0>:
E <C object Array of Char {'nolength': True} at 0x6000027f8000>:
E <C object Array of Char {'nolength': True} at 0x6000025fefe0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff2c0>:
E <C object Array of Char {'nolength': True} at 0x6000027fb420>:
E <C object Array of Char {'nolength': True} at 0x6000027f0fe0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff600>:
E <C object Array of Char {'nolength': True} at 0x6000025ff300>:
E <C object Array of Char {'nolength': True} at 0x6000027f8d20>:
E <C object Array of Char {'nolength': True} at 0x6000027f9f90>:
E <C object Array of Char {'nolength': True} at 0x6000025ff480>:
E <C object Array of Char {'nolength': True} at 0x6000025ff640>:
E <C object Array of Char {'nolength': True} at 0x6000027fae90>:
E <C object Array of Char {'nolength': True} at 0x6000027f03b0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff560>:
E <C object Array of Char {'nolength': True} at 0x6000025ff2a0>:
E <C object Array of Char {'nolength': True} at 0x6000027f80d0>:
E <C object Array of Char {'nolength': True} at 0x6000027f95d0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff6a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3a80>:
E <C object Array of Char {'nolength': True} at 0x6000027c9a30>:
E <C object Array of Char {'nolength': True} at 0x6000027f2d30>:
E <C object Array of Char {'nolength': True} at 0x6000025d39a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3ca0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3640>:
E <C object Array of Char {'nolength': True} at 0x6000027f6a70>:
E <C object Array of Char {'nolength': True} at 0x600002bd20d0>:
E <C object Array of Char {'nolength': True} at 0x600002bd17a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3600>:
E <C object Array of Char {'nolength': True} at 0x6000025f3320>:
E <C object Array of Char {'nolength': True} at 0x6000025f0920>:
E <C object Array of Char {'nolength': True} at 0x6000025f2d40>:
E <C object Array of Char {'nolength': True} at 0x6000025f0e80>:
E <C object Array of Char {'nolength': True} at 0x6000025f0b80>:
E <C object Array of Char {'nolength': True} at 0x6000025f3160>:
E <C object Array of Char {'nolength': True} at 0x6000025f3780>:
E <C object Array of Char {'nolength': True} at 0x6000025f0700>:
E <C object Array of Char {'nolength': True} at 0x6000025f2660>:
E <C object Array of Char {'nolength': True} at 0x6000025f3860>:
E <C object Array of Char {'nolength': True} at 0x6000025f0780>:
E <C object Array of Char {'nolength': True} at 0x6000025f3920>:
E <C object Array of Char {'nolength': True} at 0x6000025f3c60>:
E <C object Array of Char {'nolength': True} at 0x6000025f3800>:
E <C object Array of Char {'nolength': True} at 0x6000025f38a0>:
E <C object Array of Char {'nolength': True} at 0x600002786310>:
E <C object Array of Char {'nolength': True} at 0x600002bd1f80>:
E <C object Array of Char {'nolength': True} at 0x600002bd1fb0>:
E <C object Array of Char {'nolength': True} at 0x6000025f2a80>:
E <C object Array of Char {'nolength': True} at 0x6000025f3260>:
E <C object Array of Char {'nolength': True} at 0x6000025f2aa0>:
E <C object Array of Char {'nolength': True} at 0x6000025feb00>:
E <C object Array of Char {'nolength': True} at 0x6000025ff420>:
E <C object Array of Char {'nolength': True} at 0x6000025ff680>:
E <C object Array of Char {'nolength': True} at 0x6000025ff7c0>:
E <C object Array of Char {'nolength': True} at 0x6000025fe3a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff240>:
E <C object Array of Char {'nolength': True} at 0x6000025ff9e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffb40>:
E <C object Array of Char {'nolength': True} at 0x6000025ff6e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff080>:
E <C object Array of Char {'nolength': True} at 0x6000025ff860>:
E <C object Array of Char {'nolength': True} at 0x6000027fb2a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff960>:
E <C object Array of Char {'nolength': True} at 0x6000025ff8e0>:
E <C object Array of Char {'nolength': True} at 0x6000027fbff0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3720>:
E <C object Array of Char {'nolength': True} at 0x6000025f1320>:
E <C object Array of Char {'nolength': True} at 0x6000025f3c20>:
E <C object Array of Char {'nolength': True} at 0x6000027f0320>:
E <C object Array of Char {'nolength': True} at 0x6000027e0db0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3de0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3940>:
E <C object Array of Char {'nolength': True} at 0x6000027c3c20>:
E <C object Array of Char {'nolength': True} at 0x600002785830>:
E <C object Array of Char {'nolength': True} at 0x6000025f3560>:
E <C object Array of Char {'nolength': True} at 0x6000025f2d80>:
E <C object Array of Char {'nolength': True} at 0x600002784cf0>:
E <C object Array of Char {'nolength': True} at 0x6000027f80a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff8a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff940>:
E <C object Array of Char {'nolength': True} at 0x6000025ff720>:
E <C object Array of Char {'nolength': True} at 0x6000025fe420>:
E <C object Array of Char {'nolength': True} at 0x6000025ff740>:
E <C object Array of Char {'nolength': True} at 0x6000025ff8c0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff660>:
E <C object Array of Char {'nolength': True} at 0x6000025ffc20>:
E <C object Array of Char {'nolength': True} at 0x6000025ff920>:
E <C object Array of Char {'nolength': True} at 0x6000025ff900>:
E <C object Array of Char {'nolength': True} at 0x6000025ff9a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffa60>:
E <C object Array of Char {'nolength': True} at 0x6000027fb840>:
E <C object Array of Char {'nolength': True} at 0x6000025ff360>:
E <C object Array of Char {'nolength': True} at 0x6000025f3ac0>:
E <C object Array of Char {'nolength': True} at 0x600002786bc0>:
E <C object Array of Char {'nolength': True} at 0x6000027f88c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f35e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3cc0>:
E <C object Array of Char {'nolength': True} at 0x6000027849e0>:
E <C object Array of Char {'nolength': True} at 0x600002786910>:
E <C object Array of Char {'nolength': True} at 0x6000025f3d00>:
E <C object Array of Char {'nolength': True} at 0x6000025f3b40>:
E <C object Array of Char {'nolength': True} at 0x6000027fbb00>:
E <C object Array of Char {'nolength': True} at 0x6000027850e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3ce0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3820>:
E <C object Array of Char {'nolength': True} at 0x6000025f3ae0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3c00>:
E <C object Array of Char {'nolength': True} at 0x6000025efbc0>:
E <C object Array of Char {'nolength': True} at 0x6000025efb20>:
E <C object Array of Char {'nolength': True} at 0x6000025ef6c0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3560>:
E <C object Array of Char {'nolength': True} at 0x6000025eb980>:
E <C object Array of Char {'nolength': True} at 0x6000025efa60>:
E <C object Array of Char {'nolength': True} at 0x6000025ef0e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c8200>:
E <C object Array of Char {'nolength': True} at 0x6000027ed390>:
E <C object Array of Char {'nolength': True} at 0x6000025ef920>:
E <C object Array of Char {'nolength': True} at 0x6000025ef300>:
E <C object Array of Char {'nolength': True} at 0x6000027fd6e0>:
E <C object Array of Char {'nolength': True} at 0x6000027dddc0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd1e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff3c0>:
E <C object Array of Char {'nolength': True} at 0x6000027dcfa0>:
E <C object Array of Char {'nolength': True} at 0x6000027de030>:
E <C object Array of Char {'nolength': True} at 0x6000025ffc80>:
E <C object Array of Char {'nolength': True} at 0x6000025ff800>:
E <C object Array of Char {'nolength': True} at 0x6000027c3710>:
E <C object Array of Char {'nolength': True} at 0x6000027dcd00>:
E <C object Array of Char {'nolength': True} at 0x6000025ff180>:
E <C object Array of Char {'nolength': True} at 0x6000025ff500>:
E <C object Array of Char {'nolength': True} at 0x6000027cf3d0>:
E <C object Array of Char {'nolength': True} at 0x6000027dc3a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffc40>:
E <C object Array of Char {'nolength': True} at 0x6000025ffc00>:
E <C object Array of Char {'nolength': True} at 0x6000027dce70>:
E <C object Array of Char {'nolength': True} at 0x6000027e8510>:
E <C object Array of Char {'nolength': True} at 0x6000025c7a60>:
E <C object Array of Char {'nolength': True} at 0x6000025cc780>:
E <C object Array of Char {'nolength': True} at 0x6000025d36a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d40c0>:
E <C object Array of Char {'nolength': True} at 0x6000025e0860>:
E <C object Array of Char {'nolength': True} at 0x6000025ebf00>:
E <C object Array of Char {'nolength': True} at 0x6000025eb400>:
E <C object Array of Char {'nolength': True} at 0x6000025d3e20>:
E <C object Array of Char {'nolength': True} at 0x6000025cd420>:
E <C object Array of Char {'nolength': True} at 0x6000027e95b0>:
E <C object Array of Char {'nolength': True} at 0x600002bef690>:
E <C object Array of Char {'nolength': True} at 0x600002befc90>:
E <C object Array of Char {'nolength': True} at 0x6000025ff540>:
E <C object Array of Char {'nolength': True} at 0x6000025ffa00>:
E <C object Array of Char {'nolength': True} at 0x6000025ffd20>:
E <C object Array of Char {'nolength': True} at 0x6000025ff0e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffce0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd300>:
E <C object Array of Char {'nolength': True} at 0x6000025cd220>:
E <C object Array of Char {'nolength': True} at 0x600002780740>:
E <C object Array of Char {'nolength': True} at 0x6000027f9e00>:
E <C object Array of Char {'nolength': True} at 0x6000025c32a0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3f20>:
E <C object Array of Char {'nolength': True} at 0x6000027dc5a0>:
E <C object Array of Char {'nolength': True} at 0x6000027de820>:
E <C object Array of Char {'nolength': True} at 0x6000025d3ce0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3e80>:
E <C object Array of Char {'nolength': True} at 0x6000027fa590>:
E <C object Array of Char {'nolength': True} at 0x6000027fa250>:
E <C object Array of Char {'nolength': True} at 0x6000025ebf40>:
E <C object Array of Char {'nolength': True} at 0x6000025ebc20>:
E <C object Array of Char {'nolength': True} at 0x6000025d3ae0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3fe0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd120>:
E <C object Array of Char {'nolength': True} at 0x6000025ff440>:
E <C object Array of Char {'nolength': True} at 0x6000025ff6c0>:
E <C object Array of Char {'nolength': True} at 0x6000027e7d10>:
E <C object Array of Char {'nolength': True} at 0x600002bea5e0>:
E <C object Array of Char {'nolength': True} at 0x600002beac40>:
E <C object Array of Char {'nolength': True} at 0x6000025d3b80>:
E <C object Array of Char {'nolength': True} at 0x6000025d3de0>:
E <C object Array of Char {'nolength': True} at 0x6000025e9360>:
E <C object Array of Char {'nolength': True} at 0x6000025eb2e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c2f80>:
E <C object Array of Char {'nolength': True} at 0x6000025e9aa0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3b20>:
E <C object Array of Char {'nolength': True} at 0x6000027e0c10>:
E <C object Array of Char {'nolength': True} at 0x6000027ef880>:
E <C object Array of Char {'nolength': True} at 0x6000025c8700>:
E <C object Array of Char {'nolength': True} at 0x6000025ff760>:
E <C object Array of Char {'nolength': True} at 0x6000027fa830>:
E <C object Array of Char {'nolength': True} at 0x6000027fb180>:
E <C object Array of Char {'nolength': True} at 0x6000025ffda0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff880>:
E <C object Array of Char {'nolength': True} at 0x6000027cfed0>:
E <C object Array of Char {'nolength': True} at 0x6000027ddb50>:
E <C object Array of Char {'nolength': True} at 0x6000025fff40>:
E <C object Array of Char {'nolength': True} at 0x6000025ff820>:
E <C object Array of Char {'nolength': True} at 0x6000027d3740>:
E <C object Array of Char {'nolength': True} at 0x60000278c000>:
E <C object Array of Char {'nolength': True} at 0x6000025ffd00>:
E <C object Array of Char {'nolength': True} at 0x6000025ffea0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ec0>:
E <C object Array of Char {'nolength': True} at 0x6000027dd330>:
E <C object Array of Char {'nolength': True} at 0x600002bef7e0>:
E <C object Array of Char {'nolength': True} at 0x600002bef060>:
E <C object Array of Char {'nolength': True} at 0x6000025feec0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffbc0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffb60>:
E <C object Array of Char {'nolength': True} at 0x6000025ffba0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff400>:
E <C object Array of Char {'nolength': True} at 0x6000025ffe80>:
E <C object Array of Char {'nolength': True} at 0x6000025ebfe0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7f60>:
E <C object Array of Char {'nolength': True} at 0x6000025c7ea0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3f00>:
E <C object Array of Char {'nolength': True} at 0x6000025ff980>:
E <C object Array of Char {'nolength': True} at 0x6000025ffdc0>:
E <C object Array of Char {'nolength': True} at 0x6000025fffe0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffb80>:
E <C object Array of Char {'nolength': True} at 0x6000025d3da0>:
E <C object Array of Char {'nolength': True} at 0x6000025c81c0>:
E <C object Array of Char {'nolength': True} at 0x6000027eddb0>:
E <C object Array of Char {'nolength': True} at 0x600002bef900>:
E <C object Array of Char {'nolength': True} at 0x600002befb40>:
E <C object Array of Char {'nolength': True} at 0x6000025ebfc0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3f00>:
E <C object Array of Char {'nolength': True} at 0x6000025ebf60>:
E <C object Array of Char {'nolength': True} at 0x6000025e0800>:
E <C object Array of Char {'nolength': True} at 0x6000025f8240>:
E <C object Array of Char {'nolength': True} at 0x6000025f82e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8440>:
E <C object Array of Char {'nolength': True} at 0x60000278a5b0>:
E <C object Array of Char {'nolength': True} at 0x60000278b800>:
E <C object Array of Char {'nolength': True} at 0x6000025f82a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8480>:
E <C object Array of Char {'nolength': True} at 0x60000278b2d0>:
E <C object Array of Char {'nolength': True} at 0x6000027d94d0>:
E <C object Array of Char {'nolength': True} at 0x6000025f45e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f42c0>:
E <C object Array of Char {'nolength': True} at 0x6000027fd7d0>:
E <C object Array of Char {'nolength': True} at 0x6000027fed00>:
E <C object Array of Char {'nolength': True} at 0x6000025efb40>:
E <C object Array of Char {'nolength': True} at 0x6000025efc60>:
E <C object Array of Char {'nolength': True} at 0x6000025efd20>:
E <C object Array of Char {'nolength': True} at 0x6000025ef640>:
E <C object Array of Char {'nolength': True} at 0x6000025d3c40>:
E <C object Array of Char {'nolength': True} at 0x6000025ef1e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3bc0>:
E <C object Array of Char {'nolength': True} at 0x6000027eb420>:
E <C object Array of Char {'nolength': True} at 0x600002bd2520>:
E <C object Array of Char {'nolength': True} at 0x600002bd26d0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3200>:
E <C object Array of Char {'nolength': True} at 0x6000025f3340>:
E <C object Array of Char {'nolength': True} at 0x6000025c7fc0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7a20>:
E <C object Array of Char {'nolength': True} at 0x6000025ef360>:
E <C object Array of Char {'nolength': True} at 0x6000025d3860>:
E <C object Array of Char {'nolength': True} at 0x6000025c3de0>:
E <C object Array of Char {'nolength': True} at 0x6000027c07a0>:
E <C object Array of Char {'nolength': True} at 0x6000027fd350>:
E <C object Array of Char {'nolength': True} at 0x6000025ef0a0>:
E <C object Array of Char {'nolength': True} at 0x6000025efac0>:
E <C object Array of Char {'nolength': True} at 0x6000027e88b0>:
E <C object Array of Char {'nolength': True} at 0x6000027fd420>:
E <C object Array of Char {'nolength': True} at 0x6000025efc00>:
E <C object Array of Char {'nolength': True} at 0x6000025d0800>:
E <C object Array of Char {'nolength': True} at 0x6000027cd250>:
E <C object Array of Char {'nolength': True} at 0x6000027caef0>:
E <C object Array of Char {'nolength': True} at 0x6000025efec0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3a00>:
E <C object Array of Char {'nolength': True} at 0x6000027eab70>:
E <C object Array of Char {'nolength': True} at 0x6000027f8460>:
E <C object Array of Char {'nolength': True} at 0x6000025ef0c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eff00>:
E <C object Array of Char {'nolength': True} at 0x6000025f34e0>:
E <C object Array of Char {'nolength': True} at 0x600002787ca0>:
E <C object Array of Char {'nolength': True} at 0x600002bc1410>:
E <C object Array of Char {'nolength': True} at 0x600002bd1e30>:
E <C object Array of Char {'nolength': True} at 0x6000025f3d40>:
E <C object Array of Char {'nolength': True} at 0x6000025c8600>:
E <C object Array of Char {'nolength': True} at 0x6000025f2f00>:
E <C object Array of Char {'nolength': True} at 0x6000025f3d80>:
E <C object Array of Char {'nolength': True} at 0x6000025f3f80>:
E <C object Array of Char {'nolength': True} at 0x6000025ef4e0>:
E <C object Array of Char {'nolength': True} at 0x6000025efda0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3e20>:
E <C object Array of Char {'nolength': True} at 0x6000025f3dc0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3b00>:
E <C object Array of Char {'nolength': True} at 0x6000025ef3e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ef880>:
E <C object Array of Char {'nolength': True} at 0x6000025ef200>:
E <C object Array of Char {'nolength': True} at 0x6000025efce0>:
E <C object Array of Char {'nolength': True} at 0x6000025efde0>:
E <C object Array of Char {'nolength': True} at 0x6000025efc20>:
E <C object Array of Char {'nolength': True} at 0x6000027ff3c0>:
E <C object Array of Char {'nolength': True} at 0x600002bf46c0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4c90>:
E <C object Array of Char {'nolength': True} at 0x6000025f3e60>:
E <C object Array of Char {'nolength': True} at 0x6000025c3ba0>:
E <C object Array of Char {'nolength': True} at 0x6000025d4220>:
E <C object Array of Char {'nolength': True} at 0x6000025efc80>:
E <C object Array of Char {'nolength': True} at 0x6000025c2a60>:
E <C object Array of Char {'nolength': True} at 0x6000025c3d60>:
E <C object Array of Char {'nolength': True} at 0x6000025c0e40>:
E <C object Array of Char {'nolength': True} at 0x6000025e9280>:
E <C object Array of Char {'nolength': True} at 0x600002584040>:
E <C object Array of Char {'nolength': True} at 0x6000025842e0>:
E <C object Array of Char {'nolength': True} at 0x600002584320>:
E <C object Array of Char {'nolength': True} at 0x600002584500>:
E <C object Array of Char {'nolength': True} at 0x600002584660>:
E <C object Array of Char {'nolength': True} at 0x600002584100>:
E <C object Array of Char {'nolength': True} at 0x6000027ebc60>:
E <C object Array of Char {'nolength': True} at 0x600002584600>:
E <C object Array of Char {'nolength': True} at 0x6000025f31c0>:
E <C object Array of Char {'nolength': True} at 0x600002784f70>:
E <C object Array of Char {'nolength': True} at 0x6000025c7560>:
E <C object Array of Char {'nolength': True} at 0x6000025f42a0>:
E <C object Array of Char {'nolength': True} at 0x600002584220>:
E <C object Array of Char {'nolength': True} at 0x6000027ca610>:
E <C object Array of Char {'nolength': True} at 0x6000027dc4c0>:
E <C object Array of Char {'nolength': True} at 0x6000025843a0>:
E <C object Array of Char {'nolength': True} at 0x6000025843c0>:
E <C object Array of Char {'nolength': True} at 0x6000027942a0>:
E <C object Array of Char {'nolength': True} at 0x600002794000>:
E <C object Array of Char {'nolength': True} at 0x600002584480>:
E <C object Array of Char {'nolength': True} at 0x600002584240>:
E <C object Array of Char {'nolength': True} at 0x6000027974a0>:
E <C object Array of Char {'nolength': True} at 0x600002785a50>:
E <C object Array of Char {'nolength': True} at 0x600002584540>:
E <C object Array of Char {'nolength': True} at 0x600002584280>:
E <C object Array of Char {'nolength': True} at 0x6000025c7e60>:
E <C object Array of Char {'nolength': True} at 0x6000025c7ec0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3e40>:
E <C object Array of Char {'nolength': True} at 0x6000025ebf20>:
E <C object Array of Char {'nolength': True} at 0x6000025efcc0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebe00>:
E <C object Array of Char {'nolength': True} at 0x6000025f3fc0>:
E <C object Array of Char {'nolength': True} at 0x600002790650>:
E <C object Array of Char {'nolength': True} at 0x6000025f3fe0>:
E <C object Array of Char {'nolength': True} at 0x600002584360>:
E <C object Array of Char {'nolength': True} at 0x600002794a10>:
E <C object Array of Char {'nolength': True} at 0x6000025846a0>:
E <C object Array of Char {'nolength': True} at 0x6000025845c0>:
E <C object Array of Char {'nolength': True} at 0x600002584260>:
E <C object Array of Char {'nolength': True} at 0x600002796b30>:
E <C object Array of Char {'nolength': True} at 0x600002797ed0>:
E <C object Array of Char {'nolength': True} at 0x6000025846c0>:
E <C object Array of Char {'nolength': True} at 0x600002584420>:
E <C object Array of Char {'nolength': True} at 0x6000027f2ec0>:
E <C object Array of Char {'nolength': True} at 0x600002794e20>:
E <C object Array of Char {'nolength': True} at 0x6000025845a0>:
E <C object Array of Char {'nolength': True} at 0x600002584720>:
E <C object Array of Char {'nolength': True} at 0x6000027955b0>:
E <C object Array of Char {'nolength': True} at 0x600002796ba0>:
E <C object Array of Char {'nolength': True} at 0x6000025c8720>:
E <C object Array of Char {'nolength': True} at 0x6000025fffa0>:
E <C object Array of Char {'nolength': True} at 0x6000027fdac0>:
E <C object Array of Char {'nolength': True} at 0x6000027e9300>:
E <C object Array of Char {'nolength': True} at 0x6000025ff5e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff5a0>:
E <C object Array of Char {'nolength': True} at 0x6000027e3ff0>:
E <C object Array of Char {'nolength': True} at 0x6000027f9930>:
E <C object Array of Char {'nolength': True} at 0x6000025c7da0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7f20>:
E <C object Array of Char {'nolength': True} at 0x6000027da980>:
E <C object Array of Char {'nolength': True} at 0x6000027d9700>:
E <C object Array of Char {'nolength': True} at 0x6000025f4660>:
E <C object Array of Char {'nolength': True} at 0x6000025ef3c0>:
E <C object Array of Char {'nolength': True} at 0x6000027da810>:
E <C object Array of Char {'nolength': True} at 0x6000027d9ed0>:
E <C object Array of Char {'nolength': True} at 0x6000025ef520>:
E <C object Array of Char {'nolength': True} at 0x6000025fff80>:
E <C object Array of Char {'nolength': True} at 0x6000025ebee0>:
E <C object Array of Char {'nolength': True} at 0x60000278c4e0>:
E <C object Array of Char {'nolength': True} at 0x6000025d3aa0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8060>:
E <C object Array of Char {'nolength': True} at 0x6000025f85a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8780>:
E <C object Array of Char {'nolength': True} at 0x6000025f8180>:
E <C object Array of Char {'nolength': True} at 0x6000025f8140>:
E <C object Array of Char {'nolength': True} at 0x6000025f8160>:
E <C object Array of Char {'nolength': True} at 0x6000025f8120>:
E <C object Array of Char {'nolength': True} at 0x6000025f8360>:
E <C object Array of Char {'nolength': True} at 0x6000025f8740>:
E <C object Array of Char {'nolength': True} at 0x6000025f8900>:
E <C object Array of Char {'nolength': True} at 0x6000025ef1c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4360>:
E <C object Array of Char {'nolength': True} at 0x6000025ebc40>:
E <C object Array of Char {'nolength': True} at 0x6000025ff4a0>:
E <C object Array of Char {'nolength': True} at 0x6000025e9660>:
E <C object Array of Char {'nolength': True} at 0x6000025c7e00>:
E <C object Array of Char {'nolength': True} at 0x6000025f8380>:
E <C object Array of Char {'nolength': True} at 0x6000027d9260>:
E <C object Array of Char {'nolength': True} at 0x6000025efd40>:
E <C object Array of Char {'nolength': True} at 0x6000025ffec0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebe20>:
E <C object Array of Char {'nolength': True} at 0x6000025cd4e0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd6a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3140>:
E <C object Array of Char {'nolength': True} at 0x6000025f3ba0>:
E <C object Array of Char {'nolength': True} at 0x6000025f39e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff7a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7e80>:
E <C object Array of Char {'nolength': True} at 0x6000025cd660>:
E <C object Array of Char {'nolength': True} at 0x600002584620>:
E <C object Array of Char {'nolength': True} at 0x600002584520>:
E <C object Array of Char {'nolength': True} at 0x600002584940>:
E <C object Array of Char {'nolength': True} at 0x600002584aa0>:
E <C object Array of Char {'nolength': True} at 0x6000025fff00>:
E <C object Array of Char {'nolength': True} at 0x6000027963e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3e80>:
E <C object Array of Char {'nolength': True} at 0x6000025f0740>:
E <C object Array of Char {'nolength': True} at 0x600002786ae0>:
E <C object Array of Char {'nolength': True} at 0x6000025f80c0>:
E <C object Array of Char {'nolength': True} at 0x6000025eb420>:
E <C object Array of Char {'nolength': True} at 0x6000025ffd40>:
E <C object Array of Char {'nolength': True} at 0x600002785dc0>:
E <C object Array of Char {'nolength': True} at 0x6000027ebe60>:
E <C object Array of Char {'nolength': True} at 0x6000025ebae0>:
E <C object Array of Char {'nolength': True} at 0x6000025ef080>:
E <C object Array of Char {'nolength': True} at 0x600002790890>:
E <C object Array of Char {'nolength': True} at 0x600002790da0>:
E <C object Array of Char {'nolength': True} at 0x6000025fffc0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffbe0>:
E <C object Array of Char {'nolength': True} at 0x600002788080>:
E <C object Array of Char {'nolength': True} at 0x600002789d50>:
E <C object Array of Char {'nolength': True} at 0x6000025fe680>:
E <C object Array of Char {'nolength': True} at 0x6000025efba0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffca0>:
E <C object Array of Char {'nolength': True} at 0x6000025ef5a0>:
E <C object Array of Char {'nolength': True} at 0x600002584440>:
E <C object Array of Char {'nolength': True} at 0x6000025840e0>:
E <C object Array of Char {'nolength': True} at 0x6000025844a0>:
E <C object Array of Char {'nolength': True} at 0x600002584900>:
E <C object Array of Char {'nolength': True} at 0x600002584780>:
E <C object Array of Char {'nolength': True} at 0x600002584980>:
E <C object Array of Char {'nolength': True} at 0x600002584a40>:
E <C object Array of Char {'nolength': True} at 0x6000025842c0>:
E <C object Array of Char {'nolength': True} at 0x600002792b20>:
E <C object Array of Char {'nolength': True} at 0x6000025f3980>:
E <C object Array of Char {'nolength': True} at 0x600002796930>:
E <C object Array of Char {'nolength': True} at 0x6000025e91e0>:
E <C object Array of Char {'nolength': True} at 0x60000278c170>:
E <C object Array of Char {'nolength': True} at 0x60000278e210>:
E <C object Array of Char {'nolength': True} at 0x6000025c7880>:
E <C object Array of Char {'nolength': True} at 0x600002584060>:
E <C object Array of Char {'nolength': True} at 0x6000027916e0>:
E <C object Array of Char {'nolength': True} at 0x600002791000>:
E <C object Array of Char {'nolength': True} at 0x6000025849a0>:
E <C object Array of Char {'nolength': True} at 0x6000025847a0>:
E <C object Array of Char {'nolength': True} at 0x60000278dca0>:
E <C object Array of Char {'nolength': True} at 0x60000278c190>:
E <C object Array of Char {'nolength': True} at 0x600002584760>:
E <C object Array of Char {'nolength': True} at 0x6000025841e0>:
E <C object Array of Char {'nolength': True} at 0x600002584b80>:
E <C object Array of Char {'nolength': True} at 0x600002584880>:
E <C object Array of Char {'nolength': True} at 0x6000025842a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c85c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c8860>:
E <C object Array of Char {'nolength': True} at 0x6000025848a0>:
E <C object Array of Char {'nolength': True} at 0x600002584000>:
E <C object Array of Char {'nolength': True} at 0x600002584700>:
E <C object Array of Char {'nolength': True} at 0x6000025f30e0>:
E <C object Array of Char {'nolength': True} at 0x6000027ddfc0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4870>:
E <C object Array of Char {'nolength': True} at 0x600002bf4840>:
E <C object Array of Char {'nolength': True} at 0x6000025f0900>:
E <C object Array of Char {'nolength': True} at 0x6000025f4220>:
E <C object Array of Char {'nolength': True} at 0x6000025f3f40>:
E <C object Array of Char {'nolength': True} at 0x6000025d3060>:
E <C object Array of Char {'nolength': True} at 0x6000025f3900>:
E <C object Array of Char {'nolength': True} at 0x6000025802a0>:
E <C object Array of Char {'nolength': True} at 0x600002580400>:
E <C object Array of Char {'nolength': True} at 0x6000025805e0>:
E <C object Array of Char {'nolength': True} at 0x600002580740>:
E <C object Array of Char {'nolength': True} at 0x600002580260>:
E <C object Array of Char {'nolength': True} at 0x600002580440>:
E <C object Array of Char {'nolength': True} at 0x600002580660>:
E <C object Array of Char {'nolength': True} at 0x6000025802c0>:
E <C object Array of Char {'nolength': True} at 0x600002580120>:
E <C object Array of Char {'nolength': True} at 0x60000279e7a0>:
E <C object Array of Char {'nolength': True} at 0x600002580480>:
E <C object Array of Char {'nolength': True} at 0x6000025f83c0>:
E <C object Array of Char {'nolength': True} at 0x6000027cfd60>:
E <C object Array of Char {'nolength': True} at 0x6000025f82c0>:
E <C object Array of Char {'nolength': True} at 0x600002584140>:
E <C object Array of Char {'nolength': True} at 0x600002584340>:
E <C object Array of Char {'nolength': True} at 0x6000027da060>:
E <C object Array of Char {'nolength': True} at 0x6000027dbdf0>:
E <C object Array of Char {'nolength': True} at 0x600002584ae0>:
E <C object Array of Char {'nolength': True} at 0x600002584120>:
E <C object Array of Char {'nolength': True} at 0x6000027da3c0>:
E <C object Array of Char {'nolength': True} at 0x6000027de840>:
E <C object Array of Char {'nolength': True} at 0x600002584200>:
E <C object Array of Char {'nolength': True} at 0x6000025847c0>:
E <C object Array of Char {'nolength': True} at 0x60000278e880>:
E <C object Array of Char {'nolength': True} at 0x600002781040>:
E <C object Array of Char {'nolength': True} at 0x6000025cd5a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ccf00>:
E <C object Array of Char {'nolength': True} at 0x600002580500>:
E <C object Array of Char {'nolength': True} at 0x600002580620>:
E <C object Array of Char {'nolength': True} at 0x6000025807e0>:
E <C object Array of Char {'nolength': True} at 0x6000025802e0>:
E <C object Array of Char {'nolength': True} at 0x600002580460>:
E <C object Array of Char {'nolength': True} at 0x600002580700>:
E <C object Array of Char {'nolength': True} at 0x600002580340>:
E <C object Array of Char {'nolength': True} at 0x600002580560>:
E <C object Array of Char {'nolength': True} at 0x600002580840>:
E <C object Array of Char {'nolength': True} at 0x6000025803a0>:
E <C object Array of Char {'nolength': True} at 0x600002782650>:
E <C object Array of Char {'nolength': True} at 0x600002584b40>:
E <C object Array of Char {'nolength': True} at 0x6000025fef80>:
E <C object Array of Char {'nolength': True} at 0x60000278b270>:
E <C object Array of Char {'nolength': True} at 0x60000278d840>:
E <C object Array of Char {'nolength': True} at 0x6000025f3f00>:
E <C object Array of Char {'nolength': True} at 0x6000025d42e0>:
E <C object Array of Char {'nolength': True} at 0x600002789580>:
E <C object Array of Char {'nolength': True} at 0x60000278b300>:
E <C object Array of Char {'nolength': True} at 0x6000025ffb20>:
E <C object Array of Char {'nolength': True} at 0x6000025f3c40>:
E <C object Array of Char {'nolength': True} at 0x600002793530>:
E <C object Array of Char {'nolength': True} at 0x600002789710>:
E <C object Array of Char {'nolength': True} at 0x6000025f3840>:
E <C object Array of Char {'nolength': True} at 0x6000025ffaa0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd6c0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd720>:
E <C object Array of Char {'nolength': True} at 0x6000025f85c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8080>:
E <C object Array of Char {'nolength': True} at 0x6000025f87c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8960>:
E <C object Array of Char {'nolength': True} at 0x6000025f8520>:
E <C object Array of Char {'nolength': True} at 0x6000025f8840>:
E <C object Array of Char {'nolength': True} at 0x6000025f80a0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebe80>:
E <C object Array of Char {'nolength': True} at 0x60000278f980>:
E <C object Array of Char {'nolength': True} at 0x600002795cd0>:
E <C object Array of Char {'nolength': True} at 0x6000025f86a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8680>:
E <C object Array of Char {'nolength': True} at 0x6000025f8640>:
E <C object Array of Char {'nolength': True} at 0x6000025f8a20>:
E <C object Array of Char {'nolength': True} at 0x6000025f8b20>:
E <C object Array of Char {'nolength': True} at 0x600002794ba0>:
E <C object Array of Char {'nolength': True} at 0x600002796bc0>:
E <C object Array of Char {'nolength': True} at 0x6000025ef580>:
E <C object Array of Char {'nolength': True} at 0x6000025f3ec0>:
E <C object Array of Char {'nolength': True} at 0x6000027903f0>:
E <C object Array of Char {'nolength': True} at 0x6000027928c0>:
E <C object Array of Char {'nolength': True} at 0x6000025ebd80>:
E <C object Array of Char {'nolength': True} at 0x6000025f3b80>:
E <C object Array of Char {'nolength': True} at 0x6000025c3320>:
E <C object Array of Char {'nolength': True} at 0x6000025f3da0>:
E <C object Array of Char {'nolength': True} at 0x6000025ffee0>:
E <C object Array of Char {'nolength': True} at 0x6000025f3760>:
E <C object Array of Char {'nolength': True} at 0x6000025eb780>:
E <C object Array of Char {'nolength': True} at 0x6000025f26c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7f00>:
E <C object Array of Char {'nolength': True} at 0x6000025ffd60>:
E <C object Array of Char {'nolength': True} at 0x60000258c040>:
E <C object Array of Char {'nolength': True} at 0x60000258c180>:
E <C object Array of Char {'nolength': True} at 0x600002790e70>:
E <C object Array of Char {'nolength': True} at 0x6000027db030>:
E <C object Array of Char {'nolength': True} at 0x6000025c87e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c8900>:
E <C object Array of Char {'nolength': True} at 0x6000025c71e0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7c60>:
E <C object Array of Char {'nolength': True} at 0x6000025f38e0>:
E <C object Array of Char {'nolength': True} at 0x6000027cbfb0>:
E <C object Array of Char {'nolength': True} at 0x600002792810>:
E <C object Array of Char {'nolength': True} at 0x6000025f3ee0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7ba0>:
E <C object Array of Char {'nolength': True} at 0x60000279a6f0>:
E <C object Array of Char {'nolength': True} at 0x60000279b8b0>:
E <C object Array of Char {'nolength': True} at 0x6000025ff9c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7c00>:
E <C object Array of Char {'nolength': True} at 0x600002794550>:
E <C object Array of Char {'nolength': True} at 0x600002796b60>:
E <C object Array of Char {'nolength': True} at 0x6000025f3d60>:
E <C object Array of Char {'nolength': True} at 0x6000025f14a0>:
E <C object Array of Char {'nolength': True} at 0x6000027d8200>:
E <C object Array of Char {'nolength': True} at 0x6000027dbb70>:
E <C object Array of Char {'nolength': True} at 0x60000258c1c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4300>:
E <C object Array of Char {'nolength': True} at 0x600002794160>:
E <C object Array of Char {'nolength': True} at 0x600002798c50>:
E <C object Array of Char {'nolength': True} at 0x6000025ebe60>:
E <C object Array of Char {'nolength': True} at 0x6000025f3fa0>:
E <C object Array of Char {'nolength': True} at 0x6000025c7d60>:
E <C object Array of Char {'nolength': True} at 0x6000025f3f60>:
E <C object Array of Char {'nolength': True} at 0x6000025ffa40>:
E <C object Array of Char {'nolength': True} at 0x600002588260>:
E <C object Array of Char {'nolength': True} at 0x600002588200>:
E <C object Array of Char {'nolength': True} at 0x60000279b1b0>:
E <C object Array of Char {'nolength': True} at 0x600002bead00>:
E <C object Array of Char {'nolength': True} at 0x600002584c80>:
E <C object Array of Char {'nolength': True} at 0x600002584da0>:
E <C object Array of Char {'nolength': True} at 0x600002584960>:
E <C object Array of Char {'nolength': True} at 0x600002584d60>:
E <C object Array of Char {'nolength': True} at 0x600002584e80>:
E <C object Array of Char {'nolength': True} at 0x600002584fe0>:
E <C object Array of Char {'nolength': True} at 0x600002584ac0>:
E <C object Array of Char {'nolength': True} at 0x600002584580>:
E <C object Array of Char {'nolength': True} at 0x6000027915d0>:
E <C object Array of Char {'nolength': True} at 0x600002780350>:
E <C object Array of Char {'nolength': True} at 0x600002584840>:
E <C object Array of Char {'nolength': True} at 0x600002584d20>:
E <C object Array of Char {'nolength': True} at 0x6000027d5200>:
E <C object Array of Char {'nolength': True} at 0x6000027933f0>:
E <C object Array of Char {'nolength': True} at 0x600002584de0>:
E <C object Array of Char {'nolength': True} at 0x6000025843e0>:
E <C object Array of Char {'nolength': True} at 0x60000279b1a0>:
E <C object Array of Char {'nolength': True} at 0x600002791e10>:
E <C object Array of Char {'nolength': True} at 0x600002584e20>:
E <C object Array of Char {'nolength': True} at 0x600002584ec0>:
E <C object Array of Char {'nolength': True} at 0x600002794220>:
E <C object Array of Char {'nolength': True} at 0x600002796b20>:
E <C object Array of Char {'nolength': True} at 0x6000025801a0>:
E <C object Array of Char {'nolength': True} at 0x600002580420>:
E <C object Array of Char {'nolength': True} at 0x60000258c260>:
E <C object Array of Char {'nolength': True} at 0x600002788190>:
E <C object Array of Char {'nolength': True} at 0x6000025f4400>:
E <C object Array of Char {'nolength': True} at 0x6000025f8580>:
E <C object Array of Char {'nolength': True} at 0x6000025f8920>:
E <C object Array of Char {'nolength': True} at 0x6000025f8860>:
E <C object Array of Char {'nolength': True} at 0x60000258c440>:
E <C object Array of Char {'nolength': True} at 0x60000258c160>:
E <C object Array of Char {'nolength': True} at 0x600002588440>:
E <C object Array of Char {'nolength': True} at 0x600002588220>:
E <C object Array of Char {'nolength': True} at 0x600002588540>:
E <C object Array of Char {'nolength': True} at 0x600002588280>:
E <C object Array of Char {'nolength': True} at 0x600002588520>:
E <C object Array of Char {'nolength': True} at 0x6000025886c0>:
E <C object Array of Char {'nolength': True} at 0x6000025881e0>:
E <C object Array of Char {'nolength': True} at 0x6000025885a0>:
E <C object Array of Char {'nolength': True} at 0x600002588760>:
E <C object Array of Char {'nolength': True} at 0x600002588560>:
E <C object Array of Char {'nolength': True} at 0x6000025887a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8760>:
E <C object Array of Char {'nolength': True} at 0x6000027fe420>:
E <C object Array of Char {'nolength': True} at 0x600002588640>:
E <C object Array of Char {'nolength': True} at 0x6000025f83a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8400>:
E <C object Array of Char {'nolength': True} at 0x6000025f8700>:
E <C object Array of Char {'nolength': True} at 0x6000025f8620>:
E <C object Array of Char {'nolength': True} at 0x6000025f87a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f85e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8c20>:
E <C object Array of Char {'nolength': True} at 0x6000025f87e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8940>:
E <C object Array of Char {'nolength': True} at 0x60000258c240>:
E <C object Array of Char {'nolength': True} at 0x6000025cd580>:
E <C object Array of Char {'nolength': True} at 0x600002584be0>:
E <C object Array of Char {'nolength': True} at 0x600002584c20>:
E <C object Array of Char {'nolength': True} at 0x600002584fc0>:
E <C object Array of Char {'nolength': True} at 0x600002584d80>:
E <C object Array of Char {'nolength': True} at 0x60000279a3d0>:
E <C object Array of Char {'nolength': True} at 0x6000025f88a0>:
E <C object Array of Char {'nolength': True} at 0x6000025886e0>:
E <C object Array of Char {'nolength': True} at 0x6000027d9050>:
E <C object Array of Char {'nolength': True} at 0x600002588160>:
E <C object Array of Char {'nolength': True} at 0x6000025f89c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ac0>:
E <C object Array of Char {'nolength': True} at 0x60000278e830>:
E <C object Array of Char {'nolength': True} at 0x6000027db800>:
E <C object Array of Char {'nolength': True} at 0x6000025f8d20>:
E <C object Array of Char {'nolength': True} at 0x6000025f8a80>:
E <C object Array of Char {'nolength': True} at 0x600002781730>:
E <C object Array of Char {'nolength': True} at 0x600002781a60>:
E <C object Array of Char {'nolength': True} at 0x600002584a20>:
E <C object Array of Char {'nolength': True} at 0x600002584f80>:
E <C object Array of Char {'nolength': True} at 0x600002799250>:
E <C object Array of Char {'nolength': True} at 0x60000279b290>:
E <C object Array of Char {'nolength': True} at 0x6000025846e0>:
E <C object Array of Char {'nolength': True} at 0x60000258c0e0>:
E <C object Array of Char {'nolength': True} at 0x60000279d8f0>:
E <C object Array of Char {'nolength': True} at 0x60000279eda0>:
E <C object Array of Char {'nolength': True} at 0x600002588380>:
E <C object Array of Char {'nolength': True} at 0x6000025880e0>:
E <C object Array of Char {'nolength': True} at 0x600002783c80>:
E <C object Array of Char {'nolength': True} at 0x6000027d51c0>:
E <C object Array of Char {'nolength': True} at 0x600002588860>:
E <C object Array of Char {'nolength': True} at 0x6000025882c0>:
E <C object Array of Char {'nolength': True} at 0x6000027a13b0>:
E <C object Array of Char {'nolength': True} at 0x6000027a2570>:
E <C object Array of Char {'nolength': True} at 0x600002588020>:
E <C object Array of Char {'nolength': True} at 0x600002588800>:
E <C object Array of Char {'nolength': True} at 0x6000027815f0>:
E <C object Array of Char {'nolength': True} at 0x6000027838f0>:
E <C object Array of Char {'nolength': True} at 0x600002588840>:
E <C object Array of Char {'nolength': True} at 0x6000025883a0>:
E <C object Array of Char {'nolength': True} at 0x600002588340>:
E <C object Array of Char {'nolength': True} at 0x6000027a3910>:
E <C object Array of Char {'nolength': True} at 0x600002befb10>:
E <C object Array of Char {'nolength': True} at 0x600002be0870>:
E <C object Array of Char {'nolength': True} at 0x6000025f8c60>:
E <C object Array of Char {'nolength': True} at 0x6000025f8560>:
E <C object Array of Char {'nolength': True} at 0x6000025f8cc0>:
E <C object Array of Char {'nolength': True} at 0x6000025f80e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ca0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8e40>:
E <C object Array of Char {'nolength': True} at 0x6000025f8fa0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd700>:
E <C object Array of Char {'nolength': True} at 0x6000025cc460>:
E <C object Array of Char {'nolength': True} at 0x6000025882a0>:
E <C object Array of Char {'nolength': True} at 0x600002588720>:
E <C object Array of Char {'nolength': True} at 0x6000025889e0>:
E <C object Array of Char {'nolength': True} at 0x600002588060>:
E <C object Array of Char {'nolength': True} at 0x6000025888a0>:
E <C object Array of Char {'nolength': True} at 0x600002588500>:
E <C object Array of Char {'nolength': True} at 0x6000025f84e0>:
E <C object Array of Char {'nolength': True} at 0x6000027a5740>:
E <C object Array of Char {'nolength': True} at 0x600002bf49c0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4c60>:
E <C object Array of Char {'nolength': True} at 0x600002580200>:
E <C object Array of Char {'nolength': True} at 0x600002580820>:
E <C object Array of Char {'nolength': True} at 0x600002580220>:
E <C object Array of Char {'nolength': True} at 0x600002580160>:
E <C object Array of Char {'nolength': True} at 0x6000025809c0>:
E <C object Array of Char {'nolength': True} at 0x600002580080>:
E <C object Array of Char {'nolength': True} at 0x600002580880>:
E <C object Array of Char {'nolength': True} at 0x600002580520>:
E <C object Array of Char {'nolength': True} at 0x6000025805a0>:
E <C object Array of Char {'nolength': True} at 0x600002580960>:
E <C object Array of Char {'nolength': True} at 0x600002580a40>:
E <C object Array of Char {'nolength': True} at 0x600002580920>:
E <C object Array of Char {'nolength': True} at 0x600002580a60>:
E <C object Array of Char {'nolength': True} at 0x6000025808a0>:
E <C object Array of Char {'nolength': True} at 0x6000027945b0>:
E <C object Array of Char {'nolength': True} at 0x6000025806e0>:
E <C object Array of Char {'nolength': True} at 0x600002580a00>:
E <C object Array of Char {'nolength': True} at 0x600002794930>:
E <C object Array of Char {'nolength': True} at 0x600002580b60>:
E <C object Array of Char {'nolength': True} at 0x6000025ccdc0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4160>:
E <C object Array of Char {'nolength': True} at 0x60000279c130>:
E <C object Array of Char {'nolength': True} at 0x600002782730>:
E <C object Array of Char {'nolength': True} at 0x600002580680>:
E <C object Array of Char {'nolength': True} at 0x600002580180>:
E <C object Array of Char {'nolength': True} at 0x6000027942d0>:
E <C object Array of Char {'nolength': True} at 0x600002797bd0>:
E <C object Array of Char {'nolength': True} at 0x6000025806c0>:
E <C object Array of Char {'nolength': True} at 0x600002580360>:
E <C object Array of Char {'nolength': True} at 0x6000027de300>:
E <C object Array of Char {'nolength': True} at 0x6000027a0520>:
E <C object Array of Char {'nolength': True} at 0x600002580760>:
E <C object Array of Char {'nolength': True} at 0x6000025805c0>:
E <C object Array of Char {'nolength': True} at 0x600002580ca0>:
E <C object Array of Char {'nolength': True} at 0x600002580600>:
E <C object Array of Char {'nolength': True} at 0x6000025803e0>:
E <C object Array of Char {'nolength': True} at 0x600002580c60>:
E <C object Array of Char {'nolength': True} at 0x6000025804c0>:
E <C object Array of Char {'nolength': True} at 0x600002580b00>:
E <C object Array of Char {'nolength': True} at 0x6000025880a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4760>:
E <C object Array of Char {'nolength': True} at 0x6000025888e0>:
E <C object Array of Char {'nolength': True} at 0x600002588660>:
E <C object Array of Char {'nolength': True} at 0x60000278b8f0>:
E <C object Array of Char {'nolength': True} at 0x6000025888c0>:
E <C object Array of Char {'nolength': True} at 0x600002788980>:
E <C object Array of Char {'nolength': True} at 0x600002588600>:
E <C object Array of Char {'nolength': True} at 0x600002782040>:
E <C object Array of Char {'nolength': True} at 0x6000027fec70>:
E <C object Array of Char {'nolength': True} at 0x600002588920>:
E <C object Array of Char {'nolength': True} at 0x600002588b40>:
E <C object Array of Char {'nolength': True} at 0x600002790aa0>:
E <C object Array of Char {'nolength': True} at 0x600002796250>:
E <C object Array of Char {'nolength': True} at 0x6000025c8800>:
E <C object Array of Char {'nolength': True} at 0x6000025cd2e0>:
E <C object Array of Char {'nolength': True} at 0x60000278f560>:
E <C object Array of Char {'nolength': True} at 0x6000027a4050>:
E <C object Array of Char {'nolength': True} at 0x6000025f8820>:
E <C object Array of Char {'nolength': True} at 0x6000025f8040>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ea0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8c00>:
E <C object Array of Char {'nolength': True} at 0x6000025f8e00>:
E <C object Array of Char {'nolength': True} at 0x6000025f8da0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8be0>:
E <C object Array of Char {'nolength': True} at 0x60000258c500>:
E <C object Array of Char {'nolength': True} at 0x6000025f8dc0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8100>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ee0>:
E <C object Array of Char {'nolength': True} at 0x6000025f84c0>:
E <C object Array of Char {'nolength': True} at 0x6000027ecfa0>:
E <C object Array of Char {'nolength': True} at 0x600002580240>:
E <C object Array of Char {'nolength': True} at 0x6000027a1a80>:
E <C object Array of Char {'nolength': True} at 0x600002580ac0>:
E <C object Array of Char {'nolength': True} at 0x6000027a3bd0>:
E <C object Array of Char {'nolength': True} at 0x6000027a5600>:
E <C object Array of Char {'nolength': True} at 0x600002580b40>:
E <C object Array of Char {'nolength': True} at 0x600002580ba0>:
E <C object Array of Char {'nolength': True} at 0x6000027a7e40>:
E <C object Array of Char {'nolength': True} at 0x60000278b0b0>:
E <C object Array of Char {'nolength': True} at 0x600002580e00>:
E <C object Array of Char {'nolength': True} at 0x6000025808c0>:
E <C object Array of Char {'nolength': True} at 0x6000027ec810>:
E <C object Array of Char {'nolength': True} at 0x6000027ee620>:
E <C object Array of Char {'nolength': True} at 0x6000025c8820>:
E <C object Array of Char {'nolength': True} at 0x600002580780>:
E <C object Array of Char {'nolength': True} at 0x6000027a5b80>:
E <C object Array of Char {'nolength': True} at 0x6000027a72b0>:
E <C object Array of Char {'nolength': True} at 0x600002580be0>:
E <C object Array of Char {'nolength': True} at 0x600002580d60>:
E <C object Array of Char {'nolength': True} at 0x600002782a80>:
E <C object Array of Char {'nolength': True} at 0x6000027ffe10>:
E <C object Array of Char {'nolength': True} at 0x600002580980>:
E <C object Array of Char {'nolength': True} at 0x600002580d80>:
E <C object Array of Char {'nolength': True} at 0x600002580dc0>:
E <C object Array of Char {'nolength': True} at 0x600002580800>:
E <C object Array of Char {'nolength': True} at 0x600002580320>:
E <C object Array of Char {'nolength': True} at 0x600002580f60>:
E <C object Array of Char {'nolength': True} at 0x600002581040>:
E <C object Array of Char {'nolength': True} at 0x600002580c80>:
E <C object Array of Char {'nolength': True} at 0x60000258c2e0>:
E <C object Array of Char {'nolength': True} at 0x600002794390>:
E <C object Array of Char {'nolength': True} at 0x600002bdd500>:
E <C object Array of Char {'nolength': True} at 0x600002bc6370>:
E <C object Array of Char {'nolength': True} at 0x60000258c560>:
E <C object Array of Char {'nolength': True} at 0x600002588a00>:
E <C object Array of Char {'nolength': True} at 0x6000025881a0>:
E <C object Array of Char {'nolength': True} at 0x600002588aa0>:
E <C object Array of Char {'nolength': True} at 0x600002588bc0>:
E <C object Array of Char {'nolength': True} at 0x600002588a20>:
E <C object Array of Char {'nolength': True} at 0x600002588b80>:
E <C object Array of Char {'nolength': True} at 0x6000027d8f80>:
E <C object Array of Char {'nolength': True} at 0x60000279d180>:
E <C object Array of Char {'nolength': True} at 0x600002588c20>:
E <C object Array of Char {'nolength': True} at 0x600002588980>:
E <C object Array of Char {'nolength': True} at 0x6000027a63b0>:
E <C object Array of Char {'nolength': True} at 0x6000027a7fe0>:
E <C object Array of Char {'nolength': True} at 0x600002588360>:
E <C object Array of Char {'nolength': True} at 0x600002588d20>:
E <C object Array of Char {'nolength': True} at 0x6000027ac000>:
E <C object Array of Char {'nolength': True} at 0x6000027a0050>:
E <C object Array of Char {'nolength': True} at 0x6000025f8d60>:
E <C object Array of Char {'nolength': True} at 0x6000025f8fe0>:
E <C object Array of Char {'nolength': True} at 0x6000025f88e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f9080>:
E <C object Array of Char {'nolength': True} at 0x6000025f9260>:
E <C object Array of Char {'nolength': True} at 0x6000025f9000>:
E <C object Array of Char {'nolength': True} at 0x6000025887e0>:
E <C object Array of Char {'nolength': True} at 0x6000027a7b00>:
E <C object Array of Char {'nolength': True} at 0x600002bc18c0>:
E <C object Array of Char {'nolength': True} at 0x600002588740>:
E <C object Array of Char {'nolength': True} at 0x600002588120>:
E <C object Array of Char {'nolength': True} at 0x600002588f40>:
E <C object Array of Char {'nolength': True} at 0x6000025890a0>:
E <C object Array of Char {'nolength': True} at 0x600002588b20>:
E <C object Array of Char {'nolength': True} at 0x6000025884e0>:
E <C object Array of Char {'nolength': True} at 0x600002588f60>:
E <C object Array of Char {'nolength': True} at 0x6000025881c0>:
E <C object Array of Char {'nolength': True} at 0x6000027a4500>:
E <C object Array of Char {'nolength': True} at 0x6000027a6e20>:
E <C object Array of Char {'nolength': True} at 0x600002588c80>:
E <C object Array of Char {'nolength': True} at 0x600002588ae0>:
E <C object Array of Char {'nolength': True} at 0x6000027a1fb0>:
E <C object Array of Char {'nolength': True} at 0x6000027a3a00>:
E <C object Array of Char {'nolength': True} at 0x600002588c40>:
E <C object Array of Char {'nolength': True} at 0x600002588e40>:
E <C object Array of Char {'nolength': True} at 0x6000027fe850>:
E <C object Array of Char {'nolength': True} at 0x6000027a4da0>:
E <C object Array of Char {'nolength': True} at 0x600002588c60>:
E <C object Array of Char {'nolength': True} at 0x600002588940>:
E <C object Array of Char {'nolength': True} at 0x6000027a2150>:
E <C object Array of Char {'nolength': True} at 0x6000027a1800>:
E <C object Array of Char {'nolength': True} at 0x600002588d40>:
E <C object Array of Char {'nolength': True} at 0x600002588ba0>:
E <C object Array of Char {'nolength': True} at 0x600002589020>:
E <C object Array of Char {'nolength': True} at 0x6000027a7c30>:
E <C object Array of Char {'nolength': True} at 0x600002588820>:
E <C object Array of Char {'nolength': True} at 0x600002588fa0>:
E <C object Array of Char {'nolength': True} at 0x600002588ac0>:
E <C object Array of Char {'nolength': True} at 0x600002588e80>:
E <C object Array of Char {'nolength': True} at 0x600002588ea0>:
E <C object Array of Char {'nolength': True} at 0x600002589140>:
E <C object Array of Char {'nolength': True} at 0x600002588400>:
E <C object Array of Char {'nolength': True} at 0x600002588ec0>:
E <C object Array of Char {'nolength': True} at 0x600002589100>:
E <C object Array of Char {'nolength': True} at 0x600002588d80>:
E <C object Array of Char {'nolength': True} at 0x600002589080>:
E <C object Array of Char {'nolength': True} at 0x600002589240>:
E <C object Array of Char {'nolength': True} at 0x600002589360>:
E <C object Array of Char {'nolength': True} at 0x6000025f47c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4640>:
E <C object Array of Char {'nolength': True} at 0x6000025f4980>:
E <C object Array of Char {'nolength': True} at 0x6000025f8260>:
E <C object Array of Char {'nolength': True} at 0x6000025890e0>:
E <C object Array of Char {'nolength': True} at 0x6000027a6540>:
E <C object Array of Char {'nolength': True} at 0x6000025f8c40>:
E <C object Array of Char {'nolength': True} at 0x600002580040>:
E <C object Array of Char {'nolength': True} at 0x600002580b20>:
E <C object Array of Char {'nolength': True} at 0x600002580d00>:
E <C object Array of Char {'nolength': True} at 0x600002580f20>:
E <C object Array of Char {'nolength': True} at 0x600002581060>:
E <C object Array of Char {'nolength': True} at 0x600002580d40>:
E <C object Array of Char {'nolength': True} at 0x600002580ec0>:
E <C object Array of Char {'nolength': True} at 0x600002581100>:
E <C object Array of Char {'nolength': True} at 0x6000027a06c0>:
E <C object Array of Char {'nolength': True} at 0x6000027a0240>:
E <C object Array of Char {'nolength': True} at 0x6000025800e0>:
E <C object Array of Char {'nolength': True} at 0x6000025810e0>:
E <C object Array of Char {'nolength': True} at 0x600002797350>:
E <C object Array of Char {'nolength': True} at 0x6000027da890>:
E <C object Array of Char {'nolength': True} at 0x600002580ee0>:
E <C object Array of Char {'nolength': True} at 0x6000025808e0>:
E <C object Array of Char {'nolength': True} at 0x6000027b6eb0>:
E <C object Array of Char {'nolength': True} at 0x6000027a0640>:
E <C object Array of Char {'nolength': True} at 0x600002580540>:
E <C object Array of Char {'nolength': True} at 0x6000025810c0>:
E <C object Array of Char {'nolength': True} at 0x6000025809e0>:
E <C object Array of Char {'nolength': True} at 0x600002580e80>:
E <C object Array of Char {'nolength': True} at 0x600002581220>:
E <C object Array of Char {'nolength': True} at 0x600002580da0>:
E <C object Array of Char {'nolength': True} at 0x600002581120>:
E <C object Array of Char {'nolength': True} at 0x6000027b7850>:
E <C object Array of Char {'nolength': True} at 0x600002bc60d0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4810>:
E <C object Array of Char {'nolength': True} at 0x6000025807a0>:
E <C object Array of Char {'nolength': True} at 0x6000025800a0>:
E <C object Array of Char {'nolength': True} at 0x600002580cc0>:
E <C object Array of Char {'nolength': True} at 0x6000025809a0>:
E <C object Array of Char {'nolength': True} at 0x600002581460>:
E <C object Array of Char {'nolength': True} at 0x600002580a80>:
E <C object Array of Char {'nolength': True} at 0x600002580940>:
E <C object Array of Char {'nolength': True} at 0x6000027b4020>:
E <C object Array of Char {'nolength': True} at 0x6000027b55f0>:
E <C object Array of Char {'nolength': True} at 0x600002580fc0>:
E <C object Array of Char {'nolength': True} at 0x6000025812c0>:
E <C object Array of Char {'nolength': True} at 0x6000027b7820>:
E <C object Array of Char {'nolength': True} at 0x6000027a2cf0>:
E <C object Array of Char {'nolength': True} at 0x600002581420>:
E <C object Array of Char {'nolength': True} at 0x600002580c20>:
E <C object Array of Char {'nolength': True} at 0x6000027a2940>:
E <C object Array of Char {'nolength': True} at 0x600002796ef0>:
E <C object Array of Char {'nolength': True} at 0x600002581160>:
E <C object Array of Char {'nolength': True} at 0x600002580140>:
E <C object Array of Char {'nolength': True} at 0x6000027a6450>:
E <C object Array of Char {'nolength': True} at 0x600002797140>:
E <C object Array of Char {'nolength': True} at 0x60000258c5e0>:
E <C object Array of Char {'nolength': True} at 0x600002584ca0>:
E <C object Array of Char {'nolength': True} at 0x60000258c3c0>:
E <C object Array of Char {'nolength': True} at 0x60000279dae0>:
E <C object Array of Char {'nolength': True} at 0x600002bdfb40>:
E <C object Array of Char {'nolength': True} at 0x600002be1a40>:
E <C object Array of Char {'nolength': True} at 0x6000025f9120>:
E <C object Array of Char {'nolength': True} at 0x6000025f8e80>:
E <C object Array of Char {'nolength': True} at 0x6000025f8f00>:
E <C object Array of Char {'nolength': True} at 0x6000025f8980>:
E <C object Array of Char {'nolength': True} at 0x6000025f9240>:
E <C object Array of Char {'nolength': True} at 0x6000025f8c80>:
E <C object Array of Char {'nolength': True} at 0x6000025f90c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8420>:
E <C object Array of Char {'nolength': True} at 0x6000025f9140>:
E <C object Array of Char {'nolength': True} at 0x6000025f9160>:
E <C object Array of Char {'nolength': True} at 0x6000025f9320>:
E <C object Array of Char {'nolength': True} at 0x60000258c460>:
E <C object Array of Char {'nolength': True} at 0x60000258c5a0>:
E <C object Array of Char {'nolength': True} at 0x60000258c700>:
E <C object Array of Char {'nolength': True} at 0x600002584b00>:
E <C object Array of Char {'nolength': True} at 0x600002581380>:
E <C object Array of Char {'nolength': True} at 0x6000027a0940>:
E <C object Array of Char {'nolength': True} at 0x600002bd2280>:
E <C object Array of Char {'nolength': True} at 0x600002bc1470>:
E <C object Array of Char {'nolength': True} at 0x600002584180>:
E <C object Array of Char {'nolength': True} at 0x6000025849c0>:
E <C object Array of Char {'nolength': True} at 0x600002584020>:
E <C object Array of Char {'nolength': True} at 0x6000025851c0>:
E <C object Array of Char {'nolength': True} at 0x600002585320>:
E <C object Array of Char {'nolength': True} at 0x6000025849e0>:
E <C object Array of Char {'nolength': True} at 0x6000025850e0>:
E <C object Array of Char {'nolength': True} at 0x600002584ba0>:
E <C object Array of Char {'nolength': True} at 0x600002584bc0>:
E <C object Array of Char {'nolength': True} at 0x6000025844e0>:
E <C object Array of Char {'nolength': True} at 0x600002585340>:
E <C object Array of Char {'nolength': True} at 0x600002584ee0>:
E <C object Array of Char {'nolength': True} at 0x600002584f00>:
E <C object Array of Char {'nolength': True} at 0x600002584740>:
E <C object Array of Char {'nolength': True} at 0x6000027ac6b0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd520>:
E <C object Array of Char {'nolength': True} at 0x60000258c720>:
E <C object Array of Char {'nolength': True} at 0x6000027b0010>:
E <C object Array of Char {'nolength': True} at 0x60000258c6c0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd540>:
E <C object Array of Char {'nolength': True} at 0x6000025cd8e0>:
E <C object Array of Char {'nolength': True} at 0x60000279d270>:
E <C object Array of Char {'nolength': True} at 0x60000279faf0>:
E <C object Array of Char {'nolength': True} at 0x6000025f9040>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ec0>:
E <C object Array of Char {'nolength': True} at 0x6000027bc530>:
E <C object Array of Char {'nolength': True} at 0x6000027bcbc0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8500>:
E <C object Array of Char {'nolength': True} at 0x6000025f8fc0>:
E <C object Array of Char {'nolength': True} at 0x6000027bffe0>:
E <C object Array of Char {'nolength': True} at 0x60000279c2b0>:
E <C object Array of Char {'nolength': True} at 0x6000025f9280>:
E <C object Array of Char {'nolength': True} at 0x6000025f88c0>:
E <C object Array of Char {'nolength': True} at 0x60000258c2c0>:
E <C object Array of Char {'nolength': True} at 0x6000025c8920>:
E <C object Array of Char {'nolength': True} at 0x6000025c8680>:
E <C object Array of Char {'nolength': True} at 0x6000025c8aa0>:
E <C object Array of Char {'nolength': True} at 0x600002588d00>:
E <C object Array of Char {'nolength': True} at 0x600002589060>:
E <C object Array of Char {'nolength': True} at 0x600002589260>:
E <C object Array of Char {'nolength': True} at 0x6000027830d0>:
E <C object Array of Char {'nolength': True} at 0x600002589000>:
E <C object Array of Char {'nolength': True} at 0x600002588e20>:
E <C object Array of Char {'nolength': True} at 0x60000279d980>:
E <C object Array of Char {'nolength': True} at 0x600002585280>:
E <C object Array of Char {'nolength': True} at 0x600002585120>:
E <C object Array of Char {'nolength': True} at 0x60000258c620>:
E <C object Array of Char {'nolength': True} at 0x6000027a8530>:
E <C object Array of Char {'nolength': True} at 0x6000027a9800>:
E <C object Array of Char {'nolength': True} at 0x600002581260>:
E <C object Array of Char {'nolength': True} at 0x6000025812a0>:
E <C object Array of Char {'nolength': True} at 0x60000279fd40>:
E <C object Array of Char {'nolength': True} at 0x6000027db560>:
E <C object Array of Char {'nolength': True} at 0x600002581280>:
E <C object Array of Char {'nolength': True} at 0x600002580fa0>:
E <C object Array of Char {'nolength': True} at 0x60000279de60>:
E <C object Array of Char {'nolength': True} at 0x600002797690>:
E <C object Array of Char {'nolength': True} at 0x6000025811c0>:
E <C object Array of Char {'nolength': True} at 0x600002581140>:
E <C object Array of Char {'nolength': True} at 0x6000027b98a0>:
E <C object Array of Char {'nolength': True} at 0x6000027baa60>:
E <C object Array of Char {'nolength': True} at 0x600002581500>:
E <C object Array of Char {'nolength': True} at 0x600002581540>:
E <C object Array of Char {'nolength': True} at 0x60000279b870>:
E <C object Array of Char {'nolength': True} at 0x60000279fa40>:
E <C object Array of Char {'nolength': True} at 0x600002580bc0>:
E <C object Array of Char {'nolength': True} at 0x600002581440>:
E <C object Array of Char {'nolength': True} at 0x600002580e60>:
E <C object Array of Char {'nolength': True} at 0x600002580ea0>:
E <C object Array of Char {'nolength': True} at 0x600002581180>:
E <C object Array of Char {'nolength': True} at 0x600002581620>:
E <C object Array of Char {'nolength': True} at 0x600002581700>:
E <C object Array of Char {'nolength': True} at 0x60000258c1e0>:
E <C object Array of Char {'nolength': True} at 0x60000258c7e0>:
E <C object Array of Char {'nolength': True} at 0x6000027b09e0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4cf0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4bd0>:
E <C object Array of Char {'nolength': True} at 0x600002581200>:
E <C object Array of Char {'nolength': True} at 0x600002580ae0>:
E <C object Array of Char {'nolength': True} at 0x600002581580>:
E <C object Array of Char {'nolength': True} at 0x6000025814a0>:
E <C object Array of Char {'nolength': True} at 0x600002581560>:
E <C object Array of Char {'nolength': True} at 0x600002581780>:
E <C object Array of Char {'nolength': True} at 0x600002581360>:
E <C object Array of Char {'nolength': True} at 0x6000027ba700>:
E <C object Array of Char {'nolength': True} at 0x6000027bbaf0>:
E <C object Array of Char {'nolength': True} at 0x600002581680>:
E <C object Array of Char {'nolength': True} at 0x6000025807c0>:
E <C object Array of Char {'nolength': True} at 0x60000279e560>:
E <C object Array of Char {'nolength': True} at 0x60000279b000>:
E <C object Array of Char {'nolength': True} at 0x6000025810a0>:
E <C object Array of Char {'nolength': True} at 0x6000025c83a0>:
E <C object Array of Char {'nolength': True} at 0x6000027a6370>:
E <C object Array of Char {'nolength': True} at 0x60000279bb70>:
E <C object Array of Char {'nolength': True} at 0x600002584fa0>:
E <C object Array of Char {'nolength': True} at 0x600002585260>:
E <C object Array of Char {'nolength': True} at 0x600002585160>:
E <C object Array of Char {'nolength': True} at 0x600002584dc0>:
E <C object Array of Char {'nolength': True} at 0x600002585380>:
E <C object Array of Char {'nolength': True} at 0x6000025853c0>:
E <C object Array of Char {'nolength': True} at 0x600002585060>:
E <C object Array of Char {'nolength': True} at 0x600002795a60>:
E <C object Array of Char {'nolength': True} at 0x600002bf4e10>:
E <C object Array of Char {'nolength': True} at 0x600002bf5350>:
E <C object Array of Char {'nolength': True} at 0x600002580fe0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd820>:
E <C object Array of Char {'nolength': True} at 0x600002588a60>:
E <C object Array of Char {'nolength': True} at 0x6000025891e0>:
E <C object Array of Char {'nolength': True} at 0x600002589340>:
E <C object Array of Char {'nolength': True} at 0x600002588960>:
E <C object Array of Char {'nolength': True} at 0x6000025892e0>:
E <C object Array of Char {'nolength': True} at 0x6000027ed820>:
E <C object Array of Char {'nolength': True} at 0x6000027ef2c0>:
E <C object Array of Char {'nolength': True} at 0x600002589180>:
E <C object Array of Char {'nolength': True} at 0x600002589220>:
E <C object Array of Char {'nolength': True} at 0x600002745f40>:
E <C object Array of Char {'nolength': True} at 0x600002747100>:
E <C object Array of Char {'nolength': True} at 0x600002588fe0>:
E <C object Array of Char {'nolength': True} at 0x600002588b00>:
E <C object Array of Char {'nolength': True} at 0x6000027ec1b0>:
E <C object Array of Char {'nolength': True} at 0x6000027ee5f0>:
E <C object Array of Char {'nolength': True} at 0x6000025889a0>:
E <C object Array of Char {'nolength': True} at 0x60000258c2a0>:
E <C object Array of Char {'nolength': True} at 0x6000027b1730>:
E <C object Array of Char {'nolength': True} at 0x600002744ac0>:
E <C object Array of Char {'nolength': True} at 0x6000025892c0>:
E <C object Array of Char {'nolength': True} at 0x600002581640>:
E <C object Array of Char {'nolength': True} at 0x6000025814c0>:
E <C object Array of Char {'nolength': True} at 0x6000027bb5a0>:
E <C object Array of Char {'nolength': True} at 0x600002bd1800>:
E <C object Array of Char {'nolength': True} at 0x600002588f80>:
E <C object Array of Char {'nolength': True} at 0x6000025894e0>:
E <C object Array of Char {'nolength': True} at 0x600002588460>:
E <C object Array of Char {'nolength': True} at 0x6000025890c0>:
E <C object Array of Char {'nolength': True} at 0x6000025895e0>:
E <C object Array of Char {'nolength': True} at 0x600002589740>:
E <C object Array of Char {'nolength': True} at 0x600002589420>:
E <C object Array of Char {'nolength': True} at 0x6000025889c0>:
E <C object Array of Char {'nolength': True} at 0x600002589200>:
E <C object Array of Char {'nolength': True} at 0x600002588680>:
E <C object Array of Char {'nolength': True} at 0x600002589520>:
E <C object Array of Char {'nolength': True} at 0x6000025896e0>:
E <C object Array of Char {'nolength': True} at 0x600002588140>:
E <C object Array of Char {'nolength': True} at 0x6000025895a0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd900>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ba0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8a00>:
E <C object Array of Char {'nolength': True} at 0x6000027bf240>:
E <C object Array of Char {'nolength': True} at 0x6000025f9660>:
E <C object Array of Char {'nolength': True} at 0x6000025885e0>:
E <C object Array of Char {'nolength': True} at 0x600002589580>:
E <C object Array of Char {'nolength': True} at 0x600002589380>:
E <C object Array of Char {'nolength': True} at 0x6000025883e0>:
E <C object Array of Char {'nolength': True} at 0x6000025897c0>:
E <C object Array of Char {'nolength': True} at 0x600002589600>:
E <C object Array of Char {'nolength': True} at 0x600002589440>:
E <C object Array of Char {'nolength': True} at 0x600002589280>:
E <C object Array of Char {'nolength': True} at 0x6000027ba620>:
E <C object Array of Char {'nolength': True} at 0x6000027b9190>:
E <C object Array of Char {'nolength': True} at 0x6000025cd8a0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd460>:
E <C object Array of Char {'nolength': True} at 0x6000027af3e0>:
E <C object Array of Char {'nolength': True} at 0x6000027bcde0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8660>:
E <C object Array of Char {'nolength': True} at 0x6000025f9360>:
E <C object Array of Char {'nolength': True} at 0x6000027bf5d0>:
E <C object Array of Char {'nolength': True} at 0x6000027a6410>:
E <C object Array of Char {'nolength': True} at 0x6000025f9520>:
E <C object Array of Char {'nolength': True} at 0x6000025f83e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8d00>:
E <C object Array of Char {'nolength': True} at 0x6000025f9400>:
E <C object Array of Char {'nolength': True} at 0x6000025f9680>:
E <C object Array of Char {'nolength': True} at 0x6000025f8b60>:
E <C object Array of Char {'nolength': True} at 0x6000025f8600>:
E <C object Array of Char {'nolength': True} at 0x6000027bcc80>:
E <C object Array of Char {'nolength': True} at 0x600002beb180>:
E <C object Array of Char {'nolength': True} at 0x600002beb750>:
E <C object Array of Char {'nolength': True} at 0x600002589320>:
E <C object Array of Char {'nolength': True} at 0x6000025893e0>:
E <C object Array of Char {'nolength': True} at 0x60000258c300>:
E <C object Array of Char {'nolength': True} at 0x60000258c5c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8ce0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8d80>:
E <C object Array of Char {'nolength': True} at 0x6000025f86e0>:
E <C object Array of Char {'nolength': True} at 0x6000027beab0>:
E <C object Array of Char {'nolength': True} at 0x6000027a1e50>:
E <C object Array of Char {'nolength': True} at 0x6000025f95c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f97c0>:
E <C object Array of Char {'nolength': True} at 0x6000027be9e0>:
E <C object Array of Char {'nolength': True} at 0x6000027a1d60>:
E <C object Array of Char {'nolength': True} at 0x6000025f95e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f89a0>:
E <C object Array of Char {'nolength': True} at 0x6000027457a0>:
E <C object Array of Char {'nolength': True} at 0x6000027471c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f9220>:
E <C object Array of Char {'nolength': True} at 0x6000025f9600>:
E <C object Array of Char {'nolength': True} at 0x6000027b0920>:
E <C object Array of Char {'nolength': True} at 0x6000027b2590>:
E <C object Array of Char {'nolength': True} at 0x60000258c340>:
E <C object Array of Char {'nolength': True} at 0x600002588080>:
E <C object Array of Char {'nolength': True} at 0x600002589540>:
E <C object Array of Char {'nolength': True} at 0x6000027bb850>:
E <C object Array of Char {'nolength': True} at 0x600002befc60>:
E <C object Array of Char {'nolength': True} at 0x600002bda190>:
E <C object Array of Char {'nolength': True} at 0x6000025f8aa0>:
E <C object Array of Char {'nolength': True} at 0x6000025f9560>:
E <C object Array of Char {'nolength': True} at 0x6000025f9060>:
E <C object Array of Char {'nolength': True} at 0x6000025f9500>:
E <C object Array of Char {'nolength': True} at 0x6000025f9580>:
E <C object Array of Char {'nolength': True} at 0x6000025f93c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f97e0>:
E <C object Array of Char {'nolength': True} at 0x6000025f9380>:
E <C object Array of Char {'nolength': True} at 0x6000025f9100>:
E <C object Array of Char {'nolength': True} at 0x60000258c1a0>:
E <C object Array of Char {'nolength': True} at 0x60000258c860>:
E <C object Array of Char {'nolength': True} at 0x60000258c480>:
E <C object Array of Char {'nolength': True} at 0x600002588b60>:
E <C object Array of Char {'nolength': True} at 0x600002589480>:
E <C object Array of Char {'nolength': True} at 0x600002588e00>:
E <C object Array of Char {'nolength': True} at 0x600002589960>:
E <C object Array of Char {'nolength': True} at 0x600002798fa0>:
E <C object Array of Char {'nolength': True} at 0x600002bd2d60>:
E <C object Array of Char {'nolength': True} at 0x600002bd1c20>:
E <C object Array of Char {'nolength': True} at 0x6000025f93a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f91c0>:
E <C object Array of Char {'nolength': True} at 0x6000025f95a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8320>:
E <C object Array of Char {'nolength': True} at 0x6000025f9200>:
E <C object Array of Char {'nolength': True} at 0x6000025f98a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f90e0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd740>:
E <C object Array of Char {'nolength': True} at 0x6000025cd060>:
E <C object Array of Char {'nolength': True} at 0x600002584ea0>:
E <C object Array of Char {'nolength': True} at 0x600002585300>:
E <C object Array of Char {'nolength': True} at 0x600002585400>:
E <C object Array of Char {'nolength': True} at 0x600002585200>:
E <C object Array of Char {'nolength': True} at 0x6000025840c0>:
E <C object Array of Char {'nolength': True} at 0x6000025852e0>:
E <C object Array of Char {'nolength': True} at 0x6000025854c0>:
E <C object Array of Char {'nolength': True} at 0x600002743290>:
E <C object Array of Char {'nolength': True} at 0x600002bf4ed0>:
E <C object Array of Char {'nolength': True} at 0x600002bdc6c0>:
E <C object Array of Char {'nolength': True} at 0x600002584cc0>:
E <C object Array of Char {'nolength': True} at 0x6000025841c0>:
E <C object Array of Char {'nolength': True} at 0x600002585560>:
E <C object Array of Char {'nolength': True} at 0x6000025856e0>:
E <C object Array of Char {'nolength': True} at 0x6000025814e0>:
E <C object Array of Char {'nolength': True} at 0x600002581740>:
E <C object Array of Char {'nolength': True} at 0x600002581840>:
E <C object Array of Char {'nolength': True} at 0x6000025812e0>:
E <C object Array of Char {'nolength': True} at 0x6000025ccca0>:
E <C object Array of Char {'nolength': True} at 0x600002585220>:
E <C object Array of Char {'nolength': True} at 0x6000025855c0>:
E <C object Array of Char {'nolength': True} at 0x6000025850a0>:
E <C object Array of Char {'nolength': True} at 0x6000027b4ba0>:
E <C object Array of Char {'nolength': True} at 0x6000025858c0>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 414, in descr_fromlist
E self.fromsequence(w_lst)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1106, in fromsequence
E self.setlen(oldlen + len(lst))
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 214, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x6000027e1c30>:
E <C object Array of Char {'nolength': True} at 0x6000027e44b0>:
E <C object Array of Char {'nolength': True} at 0x6000027e5a70>:
E <C object Array of Char {'nolength': True} at 0x6000027e5b90>:
E <C object Array of Char {'nolength': True} at 0x6000027d3540>:
E <C object Array of Char {'nolength': True} at 0x6000027cd270>:
E <C object Array of Char {'nolength': True} at 0x6000027e67d0>:
E <C object Array of Char {'nolength': True} at 0x6000027d3e40>:
E <C object Array of Char {'nolength': True} at 0x6000027c8220>:
E <C object Array of Char {'nolength': True} at 0x6000027e7760>:
E <C object Array of Char {'nolength': True} at 0x6000027d4380>:
E <C object Array of Char {'nolength': True} at 0x6000027e5950>:
E <C object Array of Char {'nolength': True} at 0x6000027e0fc0>:
E <C object Array of Char {'nolength': True} at 0x6000027cddf0>:
E <C object Array of Char {'nolength': True} at 0x6000027c8eb0>:
E <C object Array of Char {'nolength': True} at 0x6000027cfcf0>:
E <C object Array of Char {'nolength': True} at 0x6000027e3440>:
E <C object Array of Char {'nolength': True} at 0x6000027c8170>:
E <C object Array of Char {'nolength': True} at 0x6000027f6960>:
E <C object Array of Char {'nolength': True} at 0x6000027e0e80>:
E <C object Array of Char {'nolength': True} at 0x6000027e3bc0>:
E <C object Array of Char {'nolength': True} at 0x6000027ce1b0>:
E <C object Array of Char {'nolength': True} at 0x6000027e7620>:
E <C object Array of Char {'nolength': True} at 0x6000027e0080>:
E <C object Array of Char {'nolength': True} at 0x6000027ccc10>:
E <C object Array of Char {'nolength': True} at 0x6000027e3870>:
E <C object Array of Char {'nolength': True} at 0x6000027f5610>:
E <C object Array of Char {'nolength': True} at 0x6000027e3a00>:
E <C object Array of Char {'nolength': True} at 0x6000027c9e20>:
E <C object Array of Char {'nolength': True} at 0x6000027c3f60>:
E <C object Array of Char {'nolength': True} at 0x6000027f7c40>:
E <C object Array of Char {'nolength': True} at 0x6000027eb830>:
E <C object Array of Char {'nolength': True} at 0x6000027c3f10>:
E <C object Array of Char {'nolength': True} at 0x6000027e82b0>:
E <C object Array of Char {'nolength': True} at 0x6000027c1970>:
E <C object Array of Char {'nolength': True} at 0x6000027d57d0>:
E <C object Array of Char {'nolength': True} at 0x6000027d5170>:
E <C object Array of Char {'nolength': True} at 0x6000027cf0f0>:
E <C object Array of Char {'nolength': True} at 0x6000027ecbf0>:
E <C object Array of Char {'nolength': True} at 0x6000027f6c60>:
E <C object Array of Char {'nolength': True} at 0x6000027e7cb0>:
E <C object Array of Char {'nolength': True} at 0x6000027ed2f0>:
E <C object Array of Char {'nolength': True} at 0x6000027f79e0>:
E <C object Array of Char {'nolength': True} at 0x6000027e4750>:
E <C object Array of Char {'nolength': True} at 0x6000027f1b10>:
E <C object Array of Char {'nolength': True} at 0x6000027ed050>:
E <C object Array of Char {'nolength': True} at 0x6000027c8930>:
E <C object Array of Char {'nolength': True} at 0x6000027d3d30>:
E <C object Array of Char {'nolength': True} at 0x6000027f4e90>:
E <C object Array of Char {'nolength': True} at 0x6000027cadf0>:
E <C object Array of Char {'nolength': True} at 0x6000027e4fa0>:
E <C object Array of Char {'nolength': True} at 0x6000027dd560>:
E <C object Array of Char {'nolength': True} at 0x6000027f0dd0>:
E <C object Array of Char {'nolength': True} at 0x6000027e20c0>:
E <C object Array of Char {'nolength': True} at 0x6000027d92e0>:
E <C object Array of Char {'nolength': True} at 0x6000027e2000>:
E <C object Array of Char {'nolength': True} at 0x6000027c1a00>:
E <C object Array of Char {'nolength': True} at 0x6000027f22f0>:
E <C object Array of Char {'nolength': True} at 0x6000027c1680>:
E <C object Array of Char {'nolength': True} at 0x6000027c8b20>:
E <C object Array of Char {'nolength': True} at 0x6000027f00d0>:
E <C object Array of Char {'nolength': True} at 0x6000027ded90>:
E <C object Array of Char {'nolength': True} at 0x6000027d3d90>:
E <C object Array of Char {'nolength': True} at 0x6000027fadd0>:
E <C object Array of Char {'nolength': True} at 0x6000027f8610>:
E <C object Array of Char {'nolength': True} at 0x6000027fa780>:
E <C object Array of Char {'nolength': True} at 0x6000027f4050>:
E <C object Array of Char {'nolength': True} at 0x6000027c3550>:
E <C object Array of Char {'nolength': True} at 0x6000027faa50>:
E <C object Array of Char {'nolength': True} at 0x600002787930>:
E <C object Array of Char {'nolength': True} at 0x6000027c20b0>:
E <C object Array of Char {'nolength': True} at 0x6000027842a0>:
E <C object Array of Char {'nolength': True} at 0x6000027fb410>:
E <C object Array of Char {'nolength': True} at 0x600002785fc0>:
E <C object Array of Char {'nolength': True} at 0x6000027f57e0>:
E <C object Array of Char {'nolength': True} at 0x6000027fafa0>:
E <C object Array of Char {'nolength': True} at 0x6000027fe4d0>:
E <C object Array of Char {'nolength': True} at 0x6000027fcd70>:
E <C object Array of Char {'nolength': True} at 0x6000027f3f00>:
E <C object Array of Char {'nolength': True} at 0x6000027c1370>:
E <C object Array of Char {'nolength': True} at 0x6000027cbbc0>:
E <C object Array of Char {'nolength': True} at 0x6000027de980>:
E <C object Array of Char {'nolength': True} at 0x6000027f8220>:
E <C object Array of Char {'nolength': True} at 0x6000027c9470>:
E <C object Array of Char {'nolength': True} at 0x600002780000>:
E <C object Array of Char {'nolength': True} at 0x6000027dd1b0>:
E <C object Array of Char {'nolength': True} at 0x6000027f92d0>:
E <C object Array of Char {'nolength': True} at 0x6000027dd9a0>:
E <C object Array of Char {'nolength': True} at 0x6000027cc7a0>:
E <C object Array of Char {'nolength': True} at 0x6000027f8f90>:
E <C object Array of Char {'nolength': True} at 0x6000027cb070>:
E <C object Array of Char {'nolength': True} at 0x6000027e32b0>:
E <C object Array of Char {'nolength': True} at 0x600002789f60>:
E <C object Array of Char {'nolength': True} at 0x60000278abb0>:
E <C object Array of Char {'nolength': True} at 0x6000027fcdb0>:
E <C object Array of Char {'nolength': True} at 0x6000027fc7e0>:
E <C object Array of Char {'nolength': True} at 0x6000027d75b0>:
E <C object Array of Char {'nolength': True} at 0x6000027e9660>:
E <C object Array of Char {'nolength': True} at 0x6000027d5240>:
E <C object Array of Char {'nolength': True} at 0x6000027f1780>:
E <C object Array of Char {'nolength': True} at 0x6000027eacf0>:
E <C object Array of Char {'nolength': True} at 0x6000027df840>:
E <C object Array of Char {'nolength': True} at 0x6000027eba00>:
E <C object Array of Char {'nolength': True} at 0x600002796e50>:
E <C object Array of Char {'nolength': True} at 0x600002790000>:
E <C object Array of Char {'nolength': True} at 0x600002796430>:
E <C object Array of Char {'nolength': True} at 0x6000027ff7e0>:
E <C object Array of Char {'nolength': True} at 0x600002794d50>:
E <C object Array of Char {'nolength': True} at 0x6000027fc9d0>:
E <C object Array of Char {'nolength': True} at 0x6000027f7570>:
E <C object Array of Char {'nolength': True} at 0x60000278de00>:
E <C object Array of Char {'nolength': True} at 0x6000027878f0>:
E <C object Array of Char {'nolength': True} at 0x600002795ca0>:
E <C object Array of Char {'nolength': True} at 0x600002785910>:
E <C object Array of Char {'nolength': True} at 0x600002790170>:
E <C object Array of Char {'nolength': True} at 0x600002793e40>:
E <C object Array of Char {'nolength': True} at 0x6000027dd650>:
E <C object Array of Char {'nolength': True} at 0x6000027862b0>:
E <C object Array of Char {'nolength': True} at 0x600002790dd0>:
E <C object Array of Char {'nolength': True} at 0x60000278cf60>:
E <C object Array of Char {'nolength': True} at 0x60000279e150>:
E <C object Array of Char {'nolength': True} at 0x6000027d9110>:
E <C object Array of Char {'nolength': True} at 0x6000027d90e0>:
E <C object Array of Char {'nolength': True} at 0x60000278dcf0>:
E <C object Array of Char {'nolength': True} at 0x6000027815b0>:
E <C object Array of Char {'nolength': True} at 0x60000278a860>:
E <C object Array of Char {'nolength': True} at 0x600002788960>:
E <C object Array of Char {'nolength': True} at 0x600002792ba0>:
E <C object Array of Char {'nolength': True} at 0x60000278ee20>:
E <C object Array of Char {'nolength': True} at 0x6000027d9960>:
E <C object Array of Char {'nolength': True} at 0x6000027940f0>:
E <C object Array of Char {'nolength': True} at 0x600002793430>:
E <C object Array of Char {'nolength': True} at 0x60000278e400>:
E <C object Array of Char {'nolength': True} at 0x6000027edb80>:
E <C object Array of Char {'nolength': True} at 0x6000027dd400>:
E <C object Array of Char {'nolength': True} at 0x60000279a0a0>:
E <C object Array of Char {'nolength': True} at 0x6000027934d0>:
E <C object Array of Char {'nolength': True} at 0x600002798a20>:
E <C object Array of Char {'nolength': True} at 0x6000027fe7e0>:
E <C object Array of Char {'nolength': True} at 0x60000279bc10>:
E <C object Array of Char {'nolength': True} at 0x60000279bcf0>:
E <C object Array of Char {'nolength': True} at 0x6000027e82c0>:
E <C object Array of Char {'nolength': True} at 0x60000279a9e0>:
E <C object Array of Char {'nolength': True} at 0x6000027880d0>:
E <C object Array of Char {'nolength': True} at 0x6000027998d0>:
E <C object Array of Char {'nolength': True} at 0x60000279bfc0>:
E <C object Array of Char {'nolength': True} at 0x600002780a40>:
E <C object Array of Char {'nolength': True} at 0x600002798510>:
E <C object Array of Char {'nolength': True} at 0x60000279d0a0>:
E <C object Array of Char {'nolength': True} at 0x6000027834c0>:
E <C object Array of Char {'nolength': True} at 0x6000027a0d60>:
E <C object Array of Char {'nolength': True} at 0x6000027805c0>:
E <C object Array of Char {'nolength': True} at 0x60000278e4b0>:
E <C object Array of Char {'nolength': True} at 0x6000027fd140>:
E <C object Array of Char {'nolength': True} at 0x600002795800>:
E <C object Array of Char {'nolength': True} at 0x6000027da780>:
E <C object Array of Char {'nolength': True} at 0x6000027ff390>:
E <C object Array of Char {'nolength': True} at 0x60000278f2e0>:
E <C object Array of Char {'nolength': True} at 0x6000027cec70>:
E <C object Array of Char {'nolength': True} at 0x6000027dfef0>:
E <C object Array of Char {'nolength': True} at 0x6000027a4070>:
E <C object Array of Char {'nolength': True} at 0x6000027a3460>:
E <C object Array of Char {'nolength': True} at 0x6000027a7670>:
E <C object Array of Char {'nolength': True} at 0x6000027ec5c0>:
E <C object Array of Char {'nolength': True} at 0x6000027a5200>:
E <C object Array of Char {'nolength': True} at 0x600002780920>:
E <C object Array of Char {'nolength': True} at 0x600002790bf0>:
E <C object Array of Char {'nolength': True} at 0x6000027a6d30>:
E <C object Array of Char {'nolength': True} at 0x6000027ff260>:
E <C object Array of Char {'nolength': True} at 0x6000027a58b0>:
E <C object Array of Char {'nolength': True} at 0x6000027887a0>:
E <C object Array of Char {'nolength': True} at 0x6000027a49a0>:
E <C object Array of Char {'nolength': True} at 0x6000027db200>:
E <C object Array of Char {'nolength': True} at 0x6000027a1460>:
E <C object Array of Char {'nolength': True} at 0x6000027fd880>:
E <C object Array of Char {'nolength': True} at 0x6000027a1540>:
E <C object Array of Char {'nolength': True} at 0x6000027b7b70>:
E <C object Array of Char {'nolength': True} at 0x6000027955d0>:
E <C object Array of Char {'nolength': True} at 0x6000027b67c0>:
E <C object Array of Char {'nolength': True} at 0x6000027a3fb0>:
E <C object Array of Char {'nolength': True} at 0x6000027a3420>:
E <C object Array of Char {'nolength': True} at 0x6000027b7100>:
E <C object Array of Char {'nolength': True} at 0x6000027a1010>:
E <C object Array of Char {'nolength': True} at 0x6000027a4240>:
E <C object Array of Char {'nolength': True} at 0x6000027ac020>:
E <C object Array of Char {'nolength': True} at 0x60000279c570>:
E <C object Array of Char {'nolength': True} at 0x6000027a38e0>:
E <C object Array of Char {'nolength': True} at 0x6000027bf990>:
E <C object Array of Char {'nolength': True} at 0x600002797d60>:
E <C object Array of Char {'nolength': True} at 0x6000027b12f0>:
E <C object Array of Char {'nolength': True} at 0x60000279ed50>:
E <C object Array of Char {'nolength': True} at 0x60000279bfd0>:
E <C object Array of Char {'nolength': True} at 0x6000027b9250>:
E <C object Array of Char {'nolength': True} at 0x60000279a920>:
E <C object Array of Char {'nolength': True} at 0x6000027b9cf0>:
E <C object Array of Char {'nolength': True} at 0x60000279b440>:
E <C object Array of Char {'nolength': True} at 0x6000027b9f70>:
E <C object Array of Char {'nolength': True} at 0x600002783b70>:
E <C object Array of Char {'nolength': True} at 0x6000027a66c0>:
E <C object Array of Char {'nolength': True} at 0x6000027b7a10>:
E <C object Array of Char {'nolength': True} at 0x6000027ec120>:
E <C object Array of Char {'nolength': True} at 0x6000027458f0>:
E <C object Array of Char {'nolength': True} at 0x60000279be30>:
E <C object Array of Char {'nolength': True} at 0x6000027b1020>:
E <C object Array of Char {'nolength': True} at 0x6000027b9990>:
E <C object Array of Char {'nolength': True} at 0x6000027aed50>:
E <C object Array of Char {'nolength': True} at 0x6000027bef50>:
E <C object Array of Char {'nolength': True} at 0x6000027bda50>:
E <C object Array of Char {'nolength': True} at 0x6000027be3e0>:
E <C object Array of Char {'nolength': True} at 0x6000027be210>:
E <C object Array of Char {'nolength': True} at 0x600002744d90>:
E <C object Array of Char {'nolength': True} at 0x6000027bf560>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 645, in descr_getitem
E return self.getitem_slice(space, w_idx)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1242, in getitem_slice
E w_a.setlen(size, overallocate=False)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 214, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x6000025fe5c0>:
E <C object Array of Char {'nolength': True} at 0x6000027cf230>:
E <C object Array of Char {'nolength': True} at 0x600002beee50>:
E <C object Array of Char {'nolength': True} at 0x6000025c0e20>:
E <C object Array of Char {'nolength': True} at 0x600002beef40>:
E <C object Array of Char {'nolength': True} at 0x600002bc1770>:
E <C object Array of Char {'nolength': True} at 0x6000025c3760>:
E <C object Array of Char {'nolength': True} at 0x6000027ea900>:
E <C object Array of Char {'nolength': True} at 0x600002bea3d0>:
E <C object Array of Char {'nolength': True} at 0x6000025c3dc0>:
E <C object Array of Char {'nolength': True} at 0x600002bef0f0>:
E <C object Array of Char {'nolength': True} at 0x600002bef1e0>:
E <C object Array of Char {'nolength': True} at 0x600002bea520>:
E <C object Array of Char {'nolength': True} at 0x6000025c3fc0>:
E <C object Array of Char {'nolength': True} at 0x600002bd23d0>:
E <C object Array of Char {'nolength': True} at 0x600002bd22b0>:
E <C object Array of Char {'nolength': True} at 0x6000025f4460>:
E <C object Array of Char {'nolength': True} at 0x600002bef360>:
E <C object Array of Char {'nolength': True} at 0x600002bcd380>:
E <C object Array of Char {'nolength': True} at 0x600002bef3f0>:
E <C object Array of Char {'nolength': True} at 0x600002bef4e0>:
E <C object Array of Char {'nolength': True} at 0x600002bd2160>:
E <C object Array of Char {'nolength': True} at 0x600002bc16e0>:
E <C object Array of Char {'nolength': True} at 0x600002bf43f0>:
E <C object Array of Char {'nolength': True} at 0x6000025ef540>:
E <C object Array of Char {'nolength': True} at 0x600002584460>:
E <C object Array of Char {'nolength': True} at 0x6000025f8300>:
E <C object Array of Char {'nolength': True} at 0x6000025ffb00>:
E <C object Array of Char {'nolength': True} at 0x6000025eff40>:
E <C object Array of Char {'nolength': True} at 0x600002795ac0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4540>:
E <C object Array of Char {'nolength': True} at 0x600002584400>:
E <C object Array of Char {'nolength': True} at 0x600002584860>:
E <C object Array of Char {'nolength': True} at 0x6000025f81a0>:
E <C object Array of Char {'nolength': True} at 0x6000025f8000>:
E <C object Array of Char {'nolength': True} at 0x6000025f81c0>:
E <C object Array of Char {'nolength': True} at 0x600002bef810>:
E <C object Array of Char {'nolength': True} at 0x600002bf4630>:
E <C object Array of Char {'nolength': True} at 0x600002580300>:
E <C object Array of Char {'nolength': True} at 0x600002782420>:
E <C object Array of Char {'nolength': True} at 0x6000027a0b30>:
E <C object Array of Char {'nolength': True} at 0x600002bd9d40>:
E <C object Array of Char {'nolength': True} at 0x600002588040>:
E <C object Array of Char {'nolength': True} at 0x600002588a80>:
E <C object Array of Char {'nolength': True} at 0x60000258c380>:
E <C object Array of Char {'nolength': True} at 0x600002bf48a0>:
E <C object Array of Char {'nolength': True} at 0x600002bc1620>:
E <C object Array of Char {'nolength': True} at 0x600002bd1da0>:
E <C object Array of Char {'nolength': True} at 0x6000025cd760>:
E <C object Array of Char {'nolength': True} at 0x6000025852a0>:
E <C object Array of Char {'nolength': True} at 0x600002bf4960>:
E <C object Array of Char {'nolength': True} at 0x600002bf4a80>:
E <C object Array of Char {'nolength': True} at 0x600002588ce0>:
E <C object Array of Char {'nolength': True} at 0x600002588880>:
E <C object Array of Char {'nolength': True} at 0x600002beae80>:
E <C object Array of Char {'nolength': True} at 0x600002bef8d0>:
E <C object Array of Char {'nolength': True} at 0x600002bd1c80>:
E <C object Array of Char {'nolength': True} at 0x600002bf4b40>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1280, in setitem_slice
E self.fromsequence(w_lst)
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1106, in fromsequence
E self.setlen(oldlen + len(lst))
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 214, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E }
../rpython/conftest.py:103: MallocMismatch
----------------------------- Captured stderr call -----------------------------
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d37a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6eaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6eb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d38e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6ebb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c3c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d32c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c3c1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c10a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c3d750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c2ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c3d788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153490330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cc8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153490368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153474288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001534742c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e1c30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001534742f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e29c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015345c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015345c1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fea40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015345c288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d2c10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015345c2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015343c640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001534246e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153424720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e44b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153424758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e6f90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153424790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e67a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001534247c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fdd80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153424800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fde20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4cf600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e5a70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4cf638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e4530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4cf670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e4320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4cf6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fea80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4cf6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a9de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e5b90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a9e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a9e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e6f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a423018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a423050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a423088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a3fccd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a3fcd08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a3f7980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a3f79b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b78f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c10e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b78fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a2d2598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cf230>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a2d25d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d3540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138998170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001389981a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149aabc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149aabc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001700ac090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c36a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b0c838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cecc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b09ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b09ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cd270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142080aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cc120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142080ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cb980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142081f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142081f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142081fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e67d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420ea020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e47f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420ea058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e4440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420f2480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420f24f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013882cd78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d3e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013882cdb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d3df0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013882cde8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e6310>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013882ce20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001421bfa60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fca20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001421bfa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a072c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a072c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c22c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a073d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a073d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c39a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a073e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a0a4800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a0a48e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beee50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a0a4918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012971c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c85e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012971c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e1ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012935c988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129fd2fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129fd3050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f61fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dd60c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dd6250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dd78d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dd7910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f46e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dc0bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c35c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dc0c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152dc0d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e04608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c01a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e046e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e04720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c39e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142008020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c38e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142008058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011850ef00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011850ef38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011850ef70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8110>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118558988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001185589c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d6fa60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cf730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d6fa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c39c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d6fad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f64480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f644b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532406b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e43f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532406e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e44e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153240720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153240758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c1060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153240790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d4380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d19638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d41d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d19670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d5af0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d196a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d196e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d2e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149d19718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e5950>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6a800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e5c10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6a838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d6180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6a870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6a8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d37c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6bad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6bbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c6bbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c38f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c38f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c39b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d39e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149c39bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149822608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001184d6790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001184d67c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025febe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001184d6800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1a42c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e64b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152cce870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152db4c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001495410f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cddf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149541130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ce270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149541168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e41a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001495411a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153266d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153266d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153266db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dc780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153266de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153266e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c73a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423d2cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423d2d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cfcf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423d2d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cea00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423d2db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cca60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423d2de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c37c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423bb520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423bb558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c1520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423b25d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423b2608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423b26e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423b3440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423b3520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001423b3558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142368de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e3440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142368e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014234ee58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fece0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014234ee90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025febc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b5d328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e1c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b5d360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e6090>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b569f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c6d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b56aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b57da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b57de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b57e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b57e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015315c7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f6960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015315c800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f6fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015315c838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f4fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015315c870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015315c8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c13e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a345788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a3457c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e1dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a3457f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a33cb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a33cbb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c38c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a33cbf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a25c758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a25c790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a25d3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fed00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a25d408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a25d4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fed40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530dc678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530dc758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e3bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530dc7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c1340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153049130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015300a6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015300a720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cd620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149dd8c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ccd70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001425fb750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001425c0988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ce1b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001425c09c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c38a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001425c0a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001425c0a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296414e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129696020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129696058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ce0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129696090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cdf70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296a4560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296a4598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e9ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296a4bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296a4c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296a4c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e1990>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014150c988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e95a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014150c9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014150c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ccc10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014150ca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ced20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141540d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cfb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141540db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141540de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141540e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e3870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141540e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dea10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141552a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dcc90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141552aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fef60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141552ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fed20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141552b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f5610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141552b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f73c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141554a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f6410>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141555408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141555440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fecc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141555750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e3a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141555788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e2930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141555ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e2640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012974fef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012974ff30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beef40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012974ff68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fef40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012975c090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fee40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297a82f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f65e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297a8de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298a0640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298a06b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e8678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e8758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e9ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001298e8790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014931adb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e90a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014931ade8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014254cb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a2348e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a2349c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eab60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a2349f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eaa00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b4d558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b85130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d20c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b85210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141b11948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141b11a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc1770>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129506480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129506528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129507638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d4520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000158178090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc1230>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000158178720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002be0ab0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000158178790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001581787c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d34a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000158179788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001581797c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015813b130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015813b168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015813b248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c37a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001581461e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001581462c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001581462f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c75e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141454fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149b1d0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f1b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4d9b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f33e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4d9bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4d9c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f84f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c9e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f8528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c9740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f97f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c78c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f9830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f0e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c0330>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f0e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f1d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f7130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f7168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c3f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f71a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d5d90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001291f71d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001498c41e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f32a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f50410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f50448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f7c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f50480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e91a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f504b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e83d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f44c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f44cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f44d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027eb830>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f44d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ebfd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f44d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c1ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152f44db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f32e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1c2ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f35a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1c2b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f1260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1c2bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1a98d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ec1ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d2ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e9cf70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e9d088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1370f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a137328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ea900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a137408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c3f10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a1374e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a11fda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c1a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a11fde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a11fe18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c9730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a11fe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f1d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a0f35c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ea420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011840b408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118404608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e82b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118404640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e9970>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118404678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014976dcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f75590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f755c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c1970>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f75600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c23f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f75788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c0630>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014185c3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014185c3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014185c410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d57d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014185c448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d4e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014185c480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d7570>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b2de18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b2de50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d5c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152b2de88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001499a3600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001499a3638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eaaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015819c368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eaa20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015819c3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015819c480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015817a9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015817aad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bea3d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015817ab10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015817abb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eadc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001581555c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cd650>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000158155600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bea700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a049050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bea430>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a049948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a049980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a049a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a049a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142223018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142223050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001184f2410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001184f2448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fef20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149626218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149626250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149626330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149626368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001496277c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001496277f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fede0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e74e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e74e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d5170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e74e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d7340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e74ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e74f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e5abb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e80e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e5b910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e368a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d33e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e36918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d30e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e36950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cf0f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e32988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d6950>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e329c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e329f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e32a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c86c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e32a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ecbf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e29050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd4f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e29088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e2d10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e290c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e290f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e29130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f6c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152e29168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f59a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420d3be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f4ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420d3c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420d3c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001420d3c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297ef168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d35a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297ef1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141690c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141690cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141691d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d34c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141691d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141691e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7cb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141c5d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141c5d980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c30a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141c5da28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141c5da60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f7630>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001295be138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014163d4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014163de88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ed2f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014163dec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ec710>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149328cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e3670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149328d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012997afa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fed60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012997afe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f79e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012997b018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e56a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012997b050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d33b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152cf28e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152cf2918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fee20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152cf2950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e4750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152cf2988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cd5b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152cf29c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ce81a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ce81e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fee60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ce8218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ce9d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ce9d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ce9e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001494d3750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fef00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001494d3830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001494d3868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8ca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f1b10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8caa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fec40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8cad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8cb10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001418a2cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f1f90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001418a2d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f1f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141b49a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141ef8d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ed050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141ef9638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141ef9670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141ef96a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eba20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141ef96e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ed6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ed6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c96c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ed718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cb990>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ed750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296ed788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e8fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c9a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d3d30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c9a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c9580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c9ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cba00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c9b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c9bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001296c9be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001386f6678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001386f66b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129615ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129615f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152d980c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152d99718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152d997f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f4e90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152d99868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fee00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141fa4448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141fa4480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141fa5088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cbf20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141fa50c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cff90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141fa5d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118372db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cadf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118372de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118372e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e97a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118373cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118373d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118373d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e4fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118373d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118373da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001495abe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001495abec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ccf80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cfd050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cfd088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ddd80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cfd0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0f30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cfd0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cfd130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cef868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0dd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cef8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f1570>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cef8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f3020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cef910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cef948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cb1398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e20c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cb13d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f5aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cb1408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f09d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cb1440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fea00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001495484f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141e6ec60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d92e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141e6ec98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d8aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141e6f0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ca8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141e6f130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141dcaf70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e8ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141dcafa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e2000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141dcafe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152ca8a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a0c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014942d360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef0f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000148ea4f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000148eda6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001413f3210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f3e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001413f3280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001414524b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141452528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141452560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001414644f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141464528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000141464ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152a8b130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152a8b2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152a8b2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c1a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152a8b328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c2960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000152a8b360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c21c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149109a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149109a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebcc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149109a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f22f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149109ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f2d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149109b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149945440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149945478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebb60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149a05478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c1680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149a054b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c2730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149a054e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cf5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015340e410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015340e448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015340e480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c8b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015340e4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cb0f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015340e4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015340e528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fea20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424e25d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424e2608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424e26b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424fa448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e6f70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424fa480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef510>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424fbc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002befae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424fbc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424fbcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011860e3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011860e410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feb60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a39f1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cce60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a39f1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f36a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a39f2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a39f2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a390bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a390c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f30c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a38e720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a38e758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f37c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a38e838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a38e870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f36e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532e7718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bea520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532e7750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f37e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532e77f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532c2020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e9750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001532c2058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bea850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153090a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beaa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153086ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153086b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153180bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153180c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530a1ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eba80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530a1ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eff80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015310c4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015310c4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015310de50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015310de88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d41c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001531039b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001531039f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153103ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebda0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153103b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebf80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530d71a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530d71d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f00d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001530d7210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0c90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001496835c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149683600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ea480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149669788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c31c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001496697c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001496697f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ccf20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149625c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149625c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ded90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149625cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027df4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149625d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f70f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014233cb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014233cb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014233cbb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d3d90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014233cbf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d5ef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014233cc28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f8000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142339e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fefe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142339e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142339ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fadd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142339ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fb420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142339f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142339f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297738a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001297738d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f8610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129773910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f8d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129773948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f9f90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129773980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001490ff398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001490ff3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fa780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001490ff408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fae90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001490ff440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f03b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001490ff478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001490ff4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a483fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f4050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a46c020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f80d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a46c058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f95d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a46c090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a46c0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4762c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c3550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4762f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c9a30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a476330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f2d30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a476368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d39a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a477948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd23d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a477980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a477a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4c6a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f6a70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4c6aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd20d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4c7718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd17a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4c7788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a48cb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a48cc28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a48cc60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a48d9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a48da28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a0b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a0b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a0c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a4a0c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142454480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424544b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142455670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424556a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142455788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd22b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142478560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142478608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f38a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424795c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002786310>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142479600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142430bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142431750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142431788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142431868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014246d868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feb00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014247e5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014247e608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142422448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142422480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424232f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142423328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142423408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142423440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff6e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424627c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142462800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424634e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142463520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027faa50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142463558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fb2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142463590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001424635c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142476bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fbff0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142476bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142477868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f1320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014261a1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014261a1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002787930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014261a218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f0320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014261a250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014261a288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014261a2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142626330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c20b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142626368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c3c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426263a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002785830>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426263d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142626410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014262ff30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027842a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014263fbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002784cf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014263fc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f80a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014263fc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014263fc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014263fcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142643248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142643280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142643360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014264e6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014264e790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffc20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014264e7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142658448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fb410>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426584b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426584f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426598d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142659910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fb840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142659948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142662918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142663328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002785fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142663360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002786bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142663398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f88c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426633d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f35e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426706b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426706e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f57e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142670720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027849e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142670758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002786910>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142670790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426707c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267e288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fafa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267e2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fbb00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267e2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027850e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267e330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267e368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267f910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267f9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014267fa28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efbc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426b3088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426b30c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426b31a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001426b31d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149e76b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fe4d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149e76b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149e76bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149e76bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ea4f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ed390>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ea4f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eae2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eaef70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fcd70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eafa28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fd6e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eafa60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dddc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eafa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eafad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eafb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f3f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149eafb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dcfa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ee55c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027de030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ee5600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ee5638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ee5670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c1370>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ee56a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c3710>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ee56e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dcd00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ef74e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ef7520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ef7558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cbbc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ef7590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cf3d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ef75c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dc3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f02d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffc40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f02d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f037f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027de980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f03830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dce70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f03868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e8510>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f038a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f038d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cc780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f03910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f8220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f15018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d36a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f15050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d40c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f15088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e0860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f150c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebf00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f150f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c9470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f15130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f26790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f267c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f26870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f278a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e95b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f44330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef690>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f44a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002befc90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f44ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f44b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffa00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015350e138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffd20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015350e170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015350f018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015350f050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015350f130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015350f168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002780000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351a4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002780740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351a4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f9e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351a528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c32a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351a560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351a598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd1b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351a5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dc5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351bd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027de820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351bd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351bd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351bda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f92d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351bde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fa590>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015351be18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fa250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353e6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebf40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353e6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebc20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353fa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353fad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353fb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353fb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015353fb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bcd380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535493d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153549478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015355c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e7d10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015355c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bea5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015355d130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beac40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015355d1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015355d1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153588640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e9360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153588678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535b2598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c2f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535b25d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e9aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535bc640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535bc678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cc7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535bc6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e0c10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535bc6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ef880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535ca2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535ca330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535ca368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f8f90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535ca3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fa830>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535ca3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fb180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535cbec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffda0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535cbef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535cbf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cb070>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535cbf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cfed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535cbfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ddb50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535db638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fff40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535db670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535db6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e32b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535db6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d3740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535db718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278c000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535eac60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffd00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535eac98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef3f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535eacd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535ead78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011866a090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd330>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011866b8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186c2870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186c31a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025feec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186c31d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffbc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186c32b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffb60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186c32f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001535fefe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153613130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffe80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153613210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebfe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153613248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015361e448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015361e480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015361e560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015361e598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015361f718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fffe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015361f750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536450c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536450f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536451a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c81c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153651910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027eddb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153651948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536725d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002befb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153673088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebfc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536730c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536731a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebf60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019c6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e0800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019c790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019c7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f82e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019dec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019def8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002789f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019df30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278a5b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019df68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278b800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000017019dfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f82a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701a98a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701a98d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278abb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701a9910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278b2d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701a9948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d94d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701a9980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f45e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701a99b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f42c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701bd718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fcdb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701bd750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fd7d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701bd788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fed00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701bd7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701bd7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701c9210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fc7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701c9248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efd20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701c9280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701c92b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701c92f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd2160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701d4838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701d48e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701d54e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027eb420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701d5520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd2520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701fa2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd26d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701fa330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701fa368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701fb8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001701fb910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014273ab48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014273ab80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014273ac60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014273ac98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d75b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274a4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027c07a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274a528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fd350>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274a560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274a598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274a5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e9660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274a608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e88b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274bef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fd420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274bf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274bf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d0800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014274bfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d5240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142758020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cd250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142758058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027caef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142759868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427598a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427598d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f1780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142759910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027eab70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142759948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f8460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142768fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142768fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc16e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142769018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eff00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427690c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f34e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142774b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002787ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142774b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc1410>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427758a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1e30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427a2a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427a2aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427a39f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f2f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427a3a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427a3b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427a3b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427b4ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efda0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427b4f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427b4fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427c42c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427c43a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427c43d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427c5520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001427c5558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142829018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf43f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142829050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142855f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efc20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142869718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ff3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142869750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf46c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014289aa68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4c90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014289aad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f797f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f798d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d4220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f79910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f80d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c2a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f80d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f80e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c0e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f922c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e9280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f923a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f923d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025842e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149f9f248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fca170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fca250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fca288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fcb360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fcb398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027eacf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fcb3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ebc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fcb408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fcb440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f31c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428b0b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002784f70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428b0b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e2100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f42a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e2170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e21a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027df840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e21e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ca610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e2218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dc4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e3980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025843a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e39b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025843c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e39f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027eba00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e3a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027942a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428e3a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428f7398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428f73d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428f7408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796e50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428f7440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027974a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428f7478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002785a50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001428f74b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142906ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142906f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142906fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142907e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142907ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebf20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142907f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efcc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142917018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebe00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142917050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142917130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142917168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429171a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790650>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fd62f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fd6330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fd72b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794a10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fd7d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025846a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149fd7d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025845c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ffacd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ffad08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796430>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ffad40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796b30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ffad78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002797ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ffadb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025846c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000149ffade8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0247c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ff7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a024800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f2ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a024838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a024870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025845a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0248a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0248e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794d50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a032560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027955b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a032598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0325d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a032608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fffa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a032640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fc9d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a042100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fdac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a042138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e9300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a042170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a043168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0431a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f7570>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0431d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e3ff0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a043210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027f9930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a043248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a043280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a54bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278de00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a54c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a54c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d9700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a54c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a54cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a54d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027878f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a648a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a648e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d9ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a64918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a64950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a64988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fff80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a78058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a78800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278c4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a790f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a79130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a79bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f85a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a79be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138a79cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ab3398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ab3478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ab34b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ac65d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ac6608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ac66e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ac6720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015367a090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015367a0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebc40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153692e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153692e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e9660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536afb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffb00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536afb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536d5b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536e8f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d9260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001536e9c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efd40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153714b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153715210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebe20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153715b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153715c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153715c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015374ee90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015374eec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f39e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015374efa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015374fd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015374fe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015374fe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015375f050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015375f088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015375f168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015375f1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fff00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376e368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eff40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376e3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002795ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376e3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027963e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376e410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376e448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376fb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002786ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015376fb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f80c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a06a838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a06b248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffd40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a06b280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002785910>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a06b2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002785dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a8288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ebe60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a82c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a82f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a8330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a8368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790890>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a83a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a9d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fffc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a9d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffbe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a9d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002793e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a9da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002788080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0a9de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002789d50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a666448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fe680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a666480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025efba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6664b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a667cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a667d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a667de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025840e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a67f2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025844a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a67fe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a67fec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a67ffa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002795ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a69bb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd650>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a69bbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a69bbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a69bc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025842c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a69bc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002792b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a69bc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6a9750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d21a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025e91e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d21e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027862b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d2218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278c170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d31a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278e210>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d31d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d3210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d3248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790dd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d3280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027916e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6d32b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002791000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0f2b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025849a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0f2bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025847a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0f2bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278cf60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0f2c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278dca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a0f2c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278c190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a106100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a106138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025841e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a106170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a106250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a107cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025842a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a107da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c85c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a118c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a118d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025848a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a118d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a119cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a119d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a119da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f30e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a126de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ddfc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a126e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a127a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1663a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f0900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1663d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1664b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1671d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d3060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1672b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1672f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025802a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17a368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17a3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025805e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17a480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17a4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17b670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17b6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a17b788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025802c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a18afa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a18bcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a18bd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279e150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a18bd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279e7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a18bd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a18bda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f83c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a197a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cfd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a197a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f82c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1bcbf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1bd478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1bd4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d9110>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1bd4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1bd520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dbdf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1bd558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153793cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537ecbf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d90e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537ecc28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537ecc60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027de840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537ecc98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537eccd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025847c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537f4720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278dcf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537f4758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278e880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537f4790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002781040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537f47c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537f4800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ccf00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001537f4838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014293e0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014293e100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025807e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014293e1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025802e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014293f7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014293f8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014293f8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014294fa28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027815b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014294fa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014294fad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014294fb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025803a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429610f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002782650>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142961130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142961c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025fef80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298a678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278a860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298a6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278b270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298a6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278d840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298a720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298b9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025d42e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298b9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002788960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298ba28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002789580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298ba60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278b300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298ba98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014298bad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6ef520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002792ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6ef558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002793530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6ef590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002789710>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6ef5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6ef600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6fa9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6faaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6faad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f85c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6fbbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6fbbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f87c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6fbcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a6fbd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a70cf70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278ee20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a70cfe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a70d018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f80a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a70d050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebe80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a720e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278f980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a720e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002795cd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a77fa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f86a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78e9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d9960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78ea30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78ea68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78eaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78ead8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78eb10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027940f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a78eb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7bc4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7bc528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ef580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7bc560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7bc598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002793430>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7bc5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027903f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7bc608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027928c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7c63d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebd80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7c6410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7c6448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c3320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7c7c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7c7c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7c7d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7dcd08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025eb780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7dcde8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f26c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7dce20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7dde18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278e400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7dde88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7ddec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7ddef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7ed4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790e70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a7edc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027db030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81a288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c87e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81ac60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027edb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81ac98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81acd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c71e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81ad08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81bf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f38e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a81bfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dd400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85c020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cbfb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85c058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002792810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85c090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85d788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85d7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279a0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85d7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279a6f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85d830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b8b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85d868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ff9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a85d8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a86f1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027934d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a86f210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a86f248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a86f280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a86f2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f14a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87aa68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002798a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87aaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d8200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87aad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dbb70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87ab10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87ab48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87ab80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fe7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a87abb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a888800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002798c50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a888838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ebe60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a888870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a8888a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279bc10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a8888e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c7d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a889f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f3f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a889fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ffa40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a89c020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a89c058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a89c100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a89d788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b1b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a89d7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bead00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a8cc410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a8cd0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a8cd130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a912058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a912090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a912170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9121a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a913440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a913478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279bcf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9134b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027915d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9134e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002780350>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a913520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a928f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a928f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027e82c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a928f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d5200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a928fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027933f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a928fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a934988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025843e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9349c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279a9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9349f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a934a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002791e10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a934a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a934aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a948480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027880d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9484b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9484f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a948528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025801a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a948560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f81a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a948598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9545d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9550c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002788190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9550f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a955cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1fa480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1fa4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1fb0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1fb130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a1fb210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a226560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a226640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a226678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a227b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a227bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025886c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a227c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025881e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a236b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025885a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a236c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a236c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a237be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a237c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025887a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a237cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a244c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fe420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a245c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9769f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f83a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a977fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9ba020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9bae90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9baec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f87a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9bb9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f85e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9bb9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012a9bbad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f87e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538024f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538038d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153803910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538127c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153812800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538128e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153812918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153813a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f81c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153813a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027998d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153813ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279a3d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153813b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f88a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153813b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025886e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015384a6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d9050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015384af38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015384b6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f89c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa161e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa16218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279bfc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa16250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278e830>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa16288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027db800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa162c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa162f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa2b440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002780a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa2b478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002781730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa2b4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002781a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa3a598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa3a5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa3a608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002798510>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa3a640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002799250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa3a678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b290>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa3a6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025846e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa4c090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa4c0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279d0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa4c100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279d8f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa4c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279eda0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa4c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa4c1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025880e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5a250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027834c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5a288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002783c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5a2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d51c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5a2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5a330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025882c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5ba28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5ba60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a13b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5ba98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a2570>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5bad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5bb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa5bb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027805c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa6f328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027815f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa6f360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027838f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa6f398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa6f3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa6f408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025883a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa6f4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa7f248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a3910>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa7f280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002befb10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa7fec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002be0870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aa7ff30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac6bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac6c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac6cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f80e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac7e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac7e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac7f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aac7fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015387d7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cc460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015387d7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025882a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153888b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153888b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025889e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153888c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153889cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025888a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153889da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4630>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538c88e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538c8988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f84e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538c9c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a5740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538c9c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf49c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538f6598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538f7558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001538f7590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153924640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153924678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153924758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025809c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153924790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153925ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153925b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153925be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025805a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153936c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153936d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153936db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539543a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539543d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025808a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015396b360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015396b398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278e4b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015396b3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027945b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015396b408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025806e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015396b440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a250aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794930>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a250ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a250b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ccdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29a020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29a058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fd140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29ade8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279c130>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29ae20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002782730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29ae58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29ae90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29aec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002795800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29af00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027942d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a29af38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002797bd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2ae9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025806c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2ae9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2aea30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2aea68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027de300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2aeaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c22f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c2330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025805c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c2368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c2448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c38a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025803e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c3980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2c39b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025804c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2d6de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a2d6e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025880a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a347ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002782420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ab169f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ff390>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ab16a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ab16a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025888e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ab80058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ab80090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278b8f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abac448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025888c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abad440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002788980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe2640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe2678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278f2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe3948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002782040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe3980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fec70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe39b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe39f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe3a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027cec70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012abe3a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac0f4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac0f520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac0f558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac0f590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027dfef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac0f5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278f560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac0f600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a4050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac1ee90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac1eec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac1ef00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac1efe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2e368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2e448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2e480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2f590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2f5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2f6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0b30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2f6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a4070>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac2f718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac3c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac3ca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f84c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac3ca68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ecfa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac3caa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac5c170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac5cbf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac5cc28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a3460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac5cc60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a3bd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac5cc98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a5600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac5ccd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a36a4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a36a528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a7670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a36a560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a7e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a36a598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000278b0b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a36a5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a36a608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025808c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a384138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ec5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a384170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ec810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3841a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ee620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3841e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a384218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3858a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a5200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3858d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a5b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a385910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a72b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a385948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a385980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3859b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002780920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3859f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002782a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3933d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ffe10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a393408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a393440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a393478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002790bf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3934b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3934e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3a1be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3a1c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3a1c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a6d30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3a1c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3a1cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd9d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3bf520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3bf5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac92410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002794390>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac92448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bdd500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac93088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc6370>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac939f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac93a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac93b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025881a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ac93b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acdf050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acdf088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acec2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acec330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ff260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acec368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027d8f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acec3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279d180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acec3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acec410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acede50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a58b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acede88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a63b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acedec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a7fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acedef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acedf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acedf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027887a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012acedfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ac000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0e1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0e1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0f408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0f440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a49a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0f478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f88e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0f4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0f4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad0f520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186f1788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186f1830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025887e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186fe6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a7b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186fe720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc18c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001186ff328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153988410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153988448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153988528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025890a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153988560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153989980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025884e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539899b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153989a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025881c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015399cfe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027db200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015399d018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a4500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015399d050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a6e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015399d088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000015399d0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aab10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aab48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aab80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a3a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aabb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aabf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aac28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fd880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539aac60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027fe850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b8678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a4da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b86b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b86e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b8720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b8758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a2150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b8790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b9e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b9ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b9ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539b9fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539cf4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a7c30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad84e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ad84e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012adde4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012adde4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012addf3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012addf408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012addf4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4c4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4c5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4c608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4d8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4d8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4d9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae4d9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f47c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae5cde8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae5ce20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f4980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae5cf00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae5de18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae5dec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025890e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae6ab80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a6540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae6b478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012ae6bb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aee2528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aee2560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aee3408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aee3440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012aee3520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af12330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af12410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af12448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b7b70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af12480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a06c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af124b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af13bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025800e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af13be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025810e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af13c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027955d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af13c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002797350>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af13c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027da890>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af13cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af256e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025808e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af25718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b67c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af25750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b6eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af25788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af257c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af257f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025810c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af370f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a3fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af37130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025809e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af37168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af371a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af371d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf48a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3d2678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3d2720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3d3398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b7850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a3d33d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc60d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41e720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41e790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025807a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41e7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025800a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41f868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41f8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025809a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41f980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a41f9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a43acd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a43ad08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a3420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a43ad40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b4020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a43ad78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b55f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a43adb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a448448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025812c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a448480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b7100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4484b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b7820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4484f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a2cf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a448528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a448560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45a0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1010>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45a100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a2940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45a138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002796ef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45a170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45a1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45b830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a4240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45b868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a6450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45b8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002797140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45b8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45b910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc1620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a45b948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a46b0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a46b8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279dae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a46b8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bdfb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002be1a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49ca68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49caa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49dad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49db08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49dbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a49dc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539fcf70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f90c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539fcfa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001539fd088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0a058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0a138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0a170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0b168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0b1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0b280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a0b2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a1e6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a1ec60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a0940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a1ec98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd2280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a1fd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bc1470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a1fd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a1fda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025849c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a73050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a73088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025851c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a73168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a731a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025849e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ae410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025850e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ae448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ae528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429afc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025844e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429afd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429afda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429bd248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429bd280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429bd360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ce138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ac020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ce170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ac6b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ce1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429ce1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429cf3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b0010>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429cf408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fc090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fcbf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fcc28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279c570>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fcc60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279d270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fdcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279faf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fdd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fdd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fdd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a38e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fdda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bc530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001429fdde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bcbc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af657f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af65830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af65868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bf990>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af658a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bffe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af658d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279c2b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af65910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af752b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f88c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af752f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af753d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af888a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af88988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c8aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af889c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af899f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af89a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af89b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025852a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af89b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002797d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af89b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027830d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af99130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af99168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af99e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279d980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012af99e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012afe8c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012afe9590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012afe9fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b12f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b046020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a8530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b046058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a9800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b046090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0460c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025812a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d6288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279ed50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d62c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279fd40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d62f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027db560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d6330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d7b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d7b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279bfd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d7bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279de60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d7be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002797690>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d7c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025811c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4d7c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4ed590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b9250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4ed5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b98a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4ed600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027baa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4ed638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4ed670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4ed6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279a920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4fd280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4fd2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279fa40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4fd2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4fd328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4fd360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b9cf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a4fd398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a50d0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a50d0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a50d130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a50d168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a50d1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a50d1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a521130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a5211d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a521210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b09e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a530368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4cf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a530ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4bd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a531398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a5313d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a5314b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a5314e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025814a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011877a988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011877a9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011877aaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118784138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b9f70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118784170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ba700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187841a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bbaf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187841e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118784218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025807c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187859b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002783b70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187859f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279e560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118785a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279b000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118785a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025810a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118785a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025c83a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118785ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a66c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118785b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a6370>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118797520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279bb70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118797558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118797590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187975c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b7a10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118797600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000118797638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187a4d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187a4d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187a59f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025853c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187a5a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187a5ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002795a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187a5b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4e10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187bede8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf5350>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001187bee58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002580fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a57c528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a5ba058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b8368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025891e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b8448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b8480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b98a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025892e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b98d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ec120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b9910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ed820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b9948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ef2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b9980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0b99b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0cf520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027458f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0cf558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002745f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0cf590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002747100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0cf5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0cf600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0e11a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000279be30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0e11d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ec1b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0e1210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ee5f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0f7948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025889a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0f7980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0f79b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b1020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0f79f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b1730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b0f7a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002744ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b138e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025892c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b138e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b138ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b147b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025814c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b147bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bb5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b147be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b175050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b1759b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025894e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b1759f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a646918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025890c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a646950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025895e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a646a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a646a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a647d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025889c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a647d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a647e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a65b408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a65b4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025896e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a65b520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a66a9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025895a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a66a9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a66aad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a66ab10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a678368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a6783a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bf240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a6783d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a678410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025885e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a6798d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a679910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9c640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025883e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9c678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025897c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9c758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9d718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9d7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9d830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b9990>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9d868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027ba620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153a9d8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b9190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ab2f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ab2f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ab2f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027aed50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ab2fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027af3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ab2fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bcde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ab3018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ac6a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ac6aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bef50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ac6ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bf5d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ac6b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a6410>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ac6b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ac6b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f83e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ad4bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bda50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ad4c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ad4c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ad4c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ad4cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beae80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ae43a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ae4448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ae4480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bcc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ae44b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beb180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ae57f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002beb750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153ae5868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b1b050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025893e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b1b130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b1b168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b30368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b303a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b43328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f86e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b43360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027be3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b43398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027beab0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b433d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1e50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b43408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f95c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b43440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f97c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b51830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027be210>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b51868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027be9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b518a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027a1d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b518d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f95e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b51910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f89a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002744d90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027457a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027471c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bf560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000153b6f210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b0920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ad4d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b2590>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ad4d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ad4db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bef8d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ad4de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ad4e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ae86b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027bb850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ae86e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002befc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ae9130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bda190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ae91a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138ae91d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b24218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b24250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b24330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b253d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f93c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b254b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f97e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b254e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b38720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b38758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b38838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b38870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000258c480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b39980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b399b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b39a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b46b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002588e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b46c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002589960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b46c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002798fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138b46c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd2d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b234020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bd1c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2348e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f93a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b234918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f91c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2349f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f95a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b234a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f8320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b235be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f9200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b235c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f98a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b235d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025f90e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b249328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b249408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025cd060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b249440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b271478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2714b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b282790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2827c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025840c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2828a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2836a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025852e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b283750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025854c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b283788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002743290>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012b2837c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bf4ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142a2eb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002bdc6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a724e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002584cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a7384b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025841c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a7384f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a7385d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025856e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a738608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025814e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a739a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a739ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002581840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a739bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025812e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a746bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025ccca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a747d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002585220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a747d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025855c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014a747e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025850a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142aa1600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000027b4ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142aa1638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025858c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000142aa1670> ignored
================ 62 passed, 2 skipped, 1 error in 71.26 seconds ================
++ 03:54:27 starting module/cpyext/test/test_api.py [79 started in total]
__ module/cmath/test [77 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/cmath/test/test_cmath.py ..................
========================== 18 passed in 10.15 seconds ==========================
++ 03:54:30 starting module/cpyext/test/test_arraymodule.py [80 started in total]
__ module/bz2/test [78 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 53 items
module/bz2/test/apptest_bz2_compdecomp.py .s...
module/bz2/test/test_bz2_compdecomp.py ..s.............
module/bz2/test/test_bz2_file.py ............................
module/bz2/test/test_interpbz2.py ...
module/bz2/test/test_large.py s
==================== 50 passed, 3 skipped in 54.97 seconds =====================
++ 03:55:06 starting module/cpyext/test/test_async_iter.py [81 started in total]
__ module/cpyext/test/test_api.py [79 done in total, somefailed=False] ________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_api.py ....
========================== 4 passed in 33.26 seconds ===========================
++ 03:55:12 starting module/cpyext/test/test_boolobject.py [82 started in total]
__ module/cpyext/test/test_async_iter.py [80 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_async_iter.py sss
========================== 3 skipped in 29.97 seconds ==========================
++ 03:55:50 starting module/cpyext/test/test_borrow.py [83 started in total]
__ module/cpyext/test/test_arraymodule.py [81 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/cpyext/test/test_arraymodule.py ..........x.......
==================== 17 passed, 1 xfailed in 80.88 seconds =====================
++ 03:56:04 starting module/cpyext/test/test_buffer.py [84 started in total]
__ module/cpyext/test/test_boolobject.py [82 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_boolobject.py ....
========================== 4 passed in 49.32 seconds ===========================
++ 03:56:10 starting module/cpyext/test/test_bytearrayobject.py [85 started in total]
__ module/cpyext/test/test_borrow.py [83 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_borrow.py ...
========================== 3 passed in 44.23 seconds ===========================
++ 03:56:48 starting module/cpyext/test/test_bytesobject.py [86 started in total]
__ module/cpyext/test/test_bytearrayobject.py [84 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_bytearrayobject.py ......
========================== 6 passed in 50.47 seconds ===========================
++ 03:57:09 starting module/cpyext/test/test_capsule.py [87 started in total]
__ module/cpyext/test/test_buffer.py [85 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_buffer.py .....
========================== 5 passed in 54.57 seconds ===========================
++ 03:57:10 starting module/cpyext/test/test_cell.py [88 started in total]
__ module/cpyext/test/test_cell.py [86 done in total, somefailed=False] _______
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_cell.py .
========================== 1 passed in 45.32 seconds ===========================
++ 03:58:09 starting module/cpyext/test/test_classobject.py [89 started in total]
__ module/cpyext/test/test_capsule.py [87 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_capsule.py ...
========================== 3 passed in 57.02 seconds ===========================
++ 03:58:15 starting module/cpyext/test/test_codecs.py [90 started in total]
__ module/cpyext/test/test_bytesobject.py [88 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
module/cpyext/test/test_bytesobject.py ....................
========================== 20 passed in 74.52 seconds ==========================
++ 03:58:16 starting module/cpyext/test/test_complexobject.py [91 started in total]
__ module/cpyext/test/test_classobject.py [89 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_classobject.py ..
========================== 2 passed in 40.78 seconds ===========================
++ 03:59:00 starting module/cpyext/test/test_contextvars.py [92 started in total]
__ module/cpyext/test/test_codecs.py [90 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_codecs.py ...
========================== 3 passed in 43.95 seconds ===========================
++ 03:59:13 starting module/cpyext/test/test_cpyext.py [93 started in total]
__ module/cpyext/test/test_complexobject.py [91 done in total, somefailed=True]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_complexobject.py .F....
=================================== FAILURES ===================================
_______________________ AppTestCComplex.test_AsCComplex ________________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000014ad22908>, 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_AsCComplex'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_AsCComplex'>}
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 0x0000000118312100>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000000015a7856a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_AsCComplex'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_AsCComplex'>}
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 0x000000015a7856a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_AsCComplex'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_AsCComplex'>}
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_AsCComplex'>, '__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 0x000000014ad36ea8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...AsCComplex'>, '__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 0x000000014ad0f820>
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 0x000000014ad0f820>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...AsCComplex'>, '__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_AsCComplex'>, '__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 0x000000014ad36e30>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...AsCComplex'>, '__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 0x000000014ad0f7e0>
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 0x000000014ad0f7e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...AsCComplex'>, '__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_AsCComplex'>, '__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_AsCComplex'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_AsCComplex'>
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_AsCComplex'>, space = StdObjSpace
target = <function test_AsCComplex at 0x000000014ad22980>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000014ad168e0>)
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 0x000000014ad168e0>,)
w_func = <Function test_AsCComplex>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000014ad168e0>
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_AsCComplex>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000014ad168e0>,)
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_AsCComplex>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000014ad168e0>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_AsCComplex, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_complexobject.py:23]", 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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1> at line 2
name = 'test_AsCComplex', qualname = 'test_AsCComplex'
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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", 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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1> at line 2
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", 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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1> at line 2
pycode = <code object test_AsCComplex, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000119118918>
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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01d\x03\xa1\x01d\x04k\x02s\x10J\x00\x82\x01|\x01\xa0\x01d\x05\xa1\x01d\x06k\x02s\x19J\x00\x82\x01t\x02t\x03|\x01j\x01d\x07\x83\x03\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000119118918>
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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01d\x03\xa1\x01d\x04k\x02s\x10J\x00\x82\x01|\x01\xa0\x01d\x05\xa1\x01d\x06k\x02s\x19J\x00\x82\x01t\x02t\x03|\x01j\x01d\x07\x83\x03\x01\x00d\x00S\x00'
next_instr = 12L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000119118918>
@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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", line 1> at line 2
oparg = 2, ignored = (12L,), 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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", 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_AsCCompl...m64/build/pypy/module/cpyext/test/test_complexobject.py:23]", 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.... return Py_BuildValue("dd", c.real, c.imag);\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 0x000000014ad17088>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... return Py_BuildValue("dd", c.real, c.imag);\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 0x000000014ad17088>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... return Py_BuildValue("dd", c.real, c.imag);\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 0x000000014ad17088>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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 0x000000014ad17088>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... return Py_BuildValue("dd", c.real, c.imag);\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 0x000000014ad171a0>
space = StdObjSpace
scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... ...dValue("dd", c.real, c.imag);\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]))
<2701-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... return Py_BuildValue("dd", c.real, c.imag);\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:415:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000015262b590>
modname = 'foo'
functions = [(u'as_tuple', u'METH_O', u'\n Py_complex c = PyComplex_AsCComplex(args);\n if (PyErr_Occurred()) return NULL;\n return Py_BuildValue("dd", c.real, c.imag);\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 0x000000015262b590>
name = 'foo'
init = 'PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;'
body = u'\n static PyObject* foo_as_tuple(PyObject *self, PyObject *args)\n {\n \n Py_co...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 0x000000015262b590>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-py3.11-404/foo-0/source_0.c')]
source_strings = [u'\n \n #include <Python.h>\n\n \n static PyObject* foo_as_tuple(PyObject *self, PyObject *args)\n ...\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('/tmp/buildbot-arm64/usession-py3.11-404/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-py3.11-404/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-404'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], 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('/tmp/buildbot-arm64/usession-py3.11-404/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-py3.11-404/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-404'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], 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.unixccompiler.UnixCCompiler instance at 0x000000015bdbe8e0>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-404'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], 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):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000015bdbe8e0>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-py3.11-404', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpy.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-py3.11-404', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpy...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_complexobject.py::AppTestCComplex::()::test_AsCComplex
===================== 1 failed, 5 passed in 49.72 seconds ======================
++ 03:59:14 starting module/cpyext/test/test_datetime.py [94 started in total]
__ module/cpyext/test/test_contextvars.py [92 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_contextvars.py .
========================== 1 passed in 47.72 seconds ===========================
++ 03:59:59 starting module/cpyext/test/test_dictobject.py [95 started in total]
__ module/cpyext/test/test_datetime.py [93 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/cpyext/test/test_datetime.py ................
========================== 16 passed in 73.46 seconds ==========================
++ 04:00:42 starting module/cpyext/test/test_eval.py [96 started in total]
__ module/cpyext/test/test_cpyext.py [94 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
module/cpyext/test/test_cpyext.py ..s........s..............
==================== 24 passed, 2 skipped in 100.36 seconds ====================
++ 04:01:02 starting module/cpyext/test/test_exception.py [97 started in total]
__ module/cpyext/test/test_dictobject.py [95 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
module/cpyext/test/test_dictobject.py ...................
========================== 19 passed in 75.95 seconds ==========================
++ 04:01:26 starting module/cpyext/test/test_fileobject.py [98 started in total]
__ module/cpyext/test/test_exception.py [96 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_exception.py ......
========================== 6 passed in 51.20 seconds ===========================
++ 04:02:08 starting module/cpyext/test/test_floatobject.py [99 started in total]
__ module/cpyext/test/test_eval.py [97 done in total, somefailed=False] _______
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
module/cpyext/test/test_eval.py ...............x...
==================== 18 passed, 1 xfailed in 74.31 seconds =====================
++ 04:02:09 starting module/cpyext/test/test_frameobject.py [100 started in total]
__ module/cpyext/test/test_fileobject.py [98 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_fileobject.py .
========================== 1 passed in 43.83 seconds ===========================
++ 04:02:25 starting module/cpyext/test/test_funcobject.py [101 started in total]
__ module/cpyext/test/test_frameobject.py [99 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_frameobject.py ....
========================== 4 passed in 46.52 seconds ===========================
++ 04:03:08 starting module/cpyext/test/test_genobject.py [102 started in total]
__ module/cpyext/test/test_floatobject.py [100 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_floatobject.py ..............
========================== 14 passed in 64.15 seconds ==========================
++ 04:03:21 starting module/cpyext/test/test_getargs.py [103 started in total]
__ module/cpyext/test/test_funcobject.py [101 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_funcobject.py ..............
========================== 14 passed in 77.68 seconds ==========================
++ 04:03:52 starting module/cpyext/test/test_import.py [104 started in total]
__ module/cpyext/test/test_genobject.py [102 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_genobject.py ...
========================== 3 passed in 61.61 seconds ===========================
++ 04:04:21 starting module/cpyext/test/test_iterator.py [105 started in total]
__ module/cpyext/test/test_getargs.py [103 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/cpyext/test/test_getargs.py ................
========================== 16 passed in 71.74 seconds ==========================
++ 04:04:41 starting module/cpyext/test/test_listobject.py [106 started in total]
__ module/cpyext/test/test_import.py [104 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/cpyext/test/test_import.py ........
========================== 8 passed in 73.33 seconds ===========================
++ 04:05:19 starting module/cpyext/test/test_longobject.py [107 started in total]
__ module/cpyext/test/test_iterator.py [105 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_iterator.py ......
========================== 6 passed in 50.42 seconds ===========================
++ 04:05:27 starting module/cpyext/test/test_mapping.py [108 started in total]
__ module/cpyext/test/test_listobject.py [106 done in total, somefailed=True] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_listobject.py .........F....
=================================== FAILURES ===================================
___________________ AppTestListObject.test_basic_listobject ____________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000012b652188>, 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_basic_listobject'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_basic_listobject'>}
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 0x00000001380ea0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000000012a25bd60>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_basic_listobject'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_basic_listobject'>}
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 0x000000012a25bd60>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_basic_listobject'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_basic_listobject'>}
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_basic_listobject'>, '__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 0x000000012b65bc40>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...listobject'>, '__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 0x000000012b6620e0>
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 0x000000012b6620e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...listobject'>, '__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_basic_listobject'>, '__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 0x000000012b65bbc8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...listobject'>, '__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 0x000000012b6620a0>
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 0x000000012b6620a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...listobject'>, '__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_basic_listobject'>, '__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_basic_listobject'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_basic_listobject'>
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_basic_listobject'>, space = StdObjSpace
target = <function test_basic_listobject at 0x000000012b652200>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012b6369c0>)
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 0x000000012b6369c0>,)
w_func = <Function test_basic_listobject>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012b6369c0>
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_basic_listobject>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012b6369c0>,)
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_basic_listobject>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000012b6369c0>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_basic_listobject, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", 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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
name = 'test_basic_listobject', qualname = 'test_basic_listobject'
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
pycode = <code object test_basic_listobject, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000012a473ad0>
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02d\x03d\x04d\x05d\x06d\x07g\x05\xa1\x02}\x02|\x02\xa0\x02\xa1\x00}\x03|\x03d\x08...\x82\x01|\x03\xa0\x0cd\x01\xa1\x01}\x05|\x05d\x08k\x02s\xc5J\x00\x82\x01|\x03d\tg\x01k\x02s\xccJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000012a473ad0>
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x00\xa0\x01d\x02d\x03d\x04d\x05d\x06d\x07g\x05\xa1\x02}\x02|\x02\xa0\x02\xa1\x00}\x03|\x03d\x08...\x82\x01|\x03\xa0\x0cd\x01\xa1\x01}\x05|\x05d\x08k\x02s\xc5J\x00\x82\x01|\x03d\tg\x01k\x02s\xccJ\x00\x82\x01d\x00S\x00'
next_instr = 28L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000012a473ad0>
@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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
oparg = 2, ignored = (28L,), 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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
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_basic_li...-arm64/build/pypy/module/cpyext/test/test_listobject.py:76]", line 1> at line 3
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.... return PyLong_FromLong(ok); /* should be 3 */\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 0x000000012b6370f8>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... return PyLong_FromLong(ok); /* should be 3 */\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 0x000000012b6370f8>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... return PyLong_FromLong(ok); /* should be 3 */\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 0x000000012b6370f8>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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 0x000000012b6370f8>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... return PyLong_FromLong(ok); /* should be 3 */\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 0x000000012b637210>
space = StdObjSpace
scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... ...omLong(ok); /* should be 3 */\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]))
<2706-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... return PyLong_FromLong(ok); /* should be 3 */\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:415:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000149ae3c58>
modname = 'foo'
functions = [(u'newlist', u'METH_NOARGS', u'\n PyObject *lst = PyList_New(3);\n PyList_SetItem(lst, 0, PyL...; /* 2 */\n Py_DECREF(l);\n return PyLong_FromLong(ok); /* should be 3 */\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 0x0000000149ae3c58>
name = 'foo'
init = 'PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;'
body = u'\n static PyObject* foo_newlist(PyObject *self, PyObject *args)\n {\n \n PyObject *...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 0x0000000149ae3c58>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-py3.11-419/foo-0/source_0.c')]
source_strings = [u'\n \n #include <Python.h>\n\n \n static PyObject* foo_newlist(PyObject *self, PyObject *args)\n ...\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('/tmp/buildbot-arm64/usession-py3.11-419/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-py3.11-419/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-419'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], 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('/tmp/buildbot-arm64/usession-py3.11-419/foo-0/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-py3.11-419/foo-0/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-419'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], 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.unixccompiler.UnixCCompiler instance at 0x000000014a520820>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-419'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], 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):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000014a520820>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-py3.11-419', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpy.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-py3.11-419', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpy...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_listobject.py::AppTestListObject::()::test_basic_listobject
===================== 1 failed, 13 passed in 61.57 seconds =====================
++ 04:05:54 starting module/cpyext/test/test_marshal.py [109 started in total]
__ module/cpyext/test/test_mapping.py [107 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_mapping.py .....
========================== 5 passed in 34.21 seconds ===========================
++ 04:06:11 starting module/cpyext/test/test_memoryobject.py [110 started in total]
__ module/cpyext/test/test_marshal.py [108 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_marshal.py ..
========================== 2 passed in 45.58 seconds ===========================
++ 04:06:53 starting module/cpyext/test/test_methodobject.py [111 started in total]
__ module/cpyext/test/test_longobject.py [109 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
module/cpyext/test/test_longobject.py .........................
========================== 25 passed in 79.02 seconds ==========================
++ 04:06:54 starting module/cpyext/test/test_misc.py [112 started in total]
__ module/cpyext/test/test_memoryobject.py [110 done in total, somefailed=True]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
module/cpyext/test/test_memoryobject.py ...s..s.F....
=================================== FAILURES ===================================
______________________ AppTestPyBuffer.test_releasebuffer ______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000011bad3d00>
def test_releasebuffer(self):
module = self.import_extension('foo', [
("create_test", "METH_NOARGS",
"""
PyObject *obj;
obj = PyObject_New(PyObject, (PyTypeObject*)type);
return obj;
"""),
("get_cnt", "METH_NOARGS",
'return PyLong_FromLong(cnt);'),
("get_dealloc_cnt", "METH_NOARGS",
'return PyLong_FromLong(dealloc_cnt);'),
],
prologue="""
static float test_data = 42.f;
static int cnt=0;
static int dealloc_cnt=0;
static PyHeapTypeObject * type=NULL;
void dealloc(PyObject *self) {
dealloc_cnt++;
}
int getbuffer(PyObject *obj, Py_buffer *view, int flags) {
cnt ++;
memset(view, 0, sizeof(Py_buffer));
view->obj = obj;
/* see the CPython docs for why we need this incref:
https://docs.python.org/3.5/c-api/typeobj.html#c.PyBufferProcs.bf_getbuffer */
Py_INCREF(obj);
view->ndim = 0;
view->buf = (void *) &test_data;
view->itemsize = sizeof(float);
view->len = 1;
view->strides = NULL;
view->shape = NULL;
view->format = "f";
return 0;
}
void releasebuffer(PyObject *obj, Py_buffer *view) {
cnt --;
}
""", more_init="""
type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0);
type->ht_type.tp_name = "Test";
type->ht_type.tp_basicsize = sizeof(PyObject);
type->ht_name = PyUnicode_FromString("Test");
type->ht_type.tp_flags |= Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
Py_TPFLAGS_HEAPTYPE;
type->ht_type.tp_flags &= ~Py_TPFLAGS_HAVE_GC;
type->ht_type.tp_dealloc = dealloc;
type->ht_type.tp_as_buffer = &type->as_buffer;
type->as_buffer.bf_getbuffer = getbuffer;
type->as_buffer.bf_releasebuffer = releasebuffer;
if (PyType_Ready(&type->ht_type) < 0) INITERROR;
""", )
import gc
assert module.get_cnt() == 0
a = memoryview(module.create_test())
assert module.get_cnt() == 1
assert module.get_dealloc_cnt() == 0
del a
self.debug_collect()
assert module.get_cnt() == 0
> assert module.get_dealloc_cnt() == 1
E (application-level) AssertionError
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_memoryobject.py:296]:69: AssertionError
----------------------------- Captured stdout call -----------------------------
dealloc_trigger...
deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0x6000022f9920>
deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0x6000022ccba0>
deallocating PyObject * <C object Struct _object { c_ob_refcnt, c_ob_pypy_link, c_ob_type } at 0x6000022cd060>
dealloc_trigger DONE
----------------------------- Captured stderr call -----------------------------
<function PyModule_Create2 at 0x000000013991a020> DONE
<function PyUnicode_FromString at 0x000000013977fa60> DONE
<function PyType_Ready at 0x000000015209e368> DONE
<function PyLong_FromLong at 0x0000000139ee0ae8> DONE
<function PyLong_FromLong at 0x0000000139ee0ae8> DONE
<function PyLong_FromLong at 0x0000000139ee0ae8> DONE
<function PyLong_FromLong at 0x0000000139ee0ae8> DONE
<function PyLong_FromLong at 0x0000000139ee0ae8> DONE
=========================== short test summary info ============================
FAIL module/cpyext/test/test_memoryobject.py::AppTestPyBuffer::()::test_releasebuffer
=============== 1 failed, 10 passed, 2 skipped in 62.69 seconds ================
++ 04:07:24 starting module/cpyext/test/test_module.py [113 started in total]
__ module/cpyext/test/test_misc.py [111 done in total, somefailed=False] ______
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_misc.py .
========================== 1 passed in 38.36 seconds ===========================
++ 04:07:45 starting module/cpyext/test/test_namespaceobject.py [114 started in total]
__ module/cpyext/test/test_methodobject.py [112 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_methodobject.py ..............
========================== 14 passed in 67.36 seconds ==========================
++ 04:08:13 starting module/cpyext/test/test_ndarrayobject.py [115 started in total]
__ module/cpyext/test/test_ndarrayobject.py [113 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.46 seconds ===========================
++ 04:08:23 starting module/cpyext/test/test_number.py [116 started in total]
__ module/cpyext/test/test_namespaceobject.py [114 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_namespaceobject.py .
========================== 1 passed in 39.74 seconds ===========================
++ 04:08:37 starting module/cpyext/test/test_object.py [117 started in total]
__ module/cpyext/test/test_module.py [115 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
module/cpyext/test/test_module.py .........................
========================== 25 passed in 85.44 seconds ==========================
++ 04:08:59 starting module/cpyext/test/test_pyerrors.py [118 started in total]
__ module/cpyext/test/test_number.py [116 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_number.py .......
========================== 7 passed in 48.83 seconds ===========================
++ 04:09:22 starting module/cpyext/test/test_pyfile.py [119 started in total]
__ module/cpyext/test/test_pyfile.py [117 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_pyfile.py ...x...
===================== 6 passed, 1 xfailed in 43.53 seconds =====================
++ 04:10:20 starting module/cpyext/test/test_pymem.py [120 started in total]
__ module/cpyext/test/test_object.py [118 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 39 items
module/cpyext/test/test_object.py ......................s................
==================== 38 passed, 1 skipped in 105.23 seconds ====================
++ 04:10:33 starting module/cpyext/test/test_pysignals.py [121 started in total]
__ module/cpyext/test/test_pyerrors.py [119 done in total, somefailed=True] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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'\u0308' in position 107: ordinal not in range(128)>
func = <function <lambda> at 0x0000000122147ad8>, 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 0x000000015085a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000131bfcd60>]
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 0x0000000131bfcd60>]
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 0x0000000121acecf0>
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 0x00000001523f9120>
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 0x00000001523f9120>
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 0x0000000121aceca0>
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 0x00000001523f90e0>
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 0x00000001523f90e0>
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 0x0000000122147da8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000152895cc8>)
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 0x0000000152895cc8>,)
w_func = <Function test_SetFromErrnoWithFilename_basic>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000152895cc8>
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 0x0000000152895cc8>,)
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 0x0000000152895cc8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_SetFromErrnoWithFilename_basic, file "[/Users/matti/build-wo...4/own-macos-arm64/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...-arm64/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...-arm64/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...-arm64/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 ', 107, 108, '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...-arm64/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...-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
pycode = <code object test_SetFromErrnoWithFilename_basic, file "[/Users/matti/build-wo...4/own-macos-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1>
next_instr = 88
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001515eb4e8>
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...-arm64/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 = 88
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001515eb4e8>
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...-arm64/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 0x00000001515eb4e8>
@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...-arm64/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.... '))])], ['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.... '))])], ['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 0x00000001227f8b80>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['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 0x00000001227f8b80>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['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 0x00000001227f8b80>
space = StdObjSpace
e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 107, 108, '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 0x00000001227f8b80>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['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 0x00000001227f8c98>
space = StdObjSpace
scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000..., "/path/to/...n 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]))
<3101-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000..., "/path/to/a\xcc\x88");\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:415:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000143663a60>
modname = 'foo'
functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...PyErr_SetFromErrnoWithFilename(PyExc_OSError, "/path/to/a\u0308");\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...PyErr_SetFromErrnoWithFilename(PyExc_OSError, "/path/to/a\u0308");\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'\u0308' in position 107: 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 105.99 seconds ===============
++ 04:10:55 starting module/cpyext/test/test_pystate.py [122 started in total]
__ module/cpyext/test/test_pymem.py [120 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_pymem.py .
========================== 1 passed in 42.83 seconds ===========================
++ 04:11:19 starting module/cpyext/test/test_pystrhex.py [123 started in total]
__ module/cpyext/test/test_pysignals.py [121 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_pysignals.py .
========================== 1 passed in 43.27 seconds ===========================
++ 04:11:32 starting module/cpyext/test/test_pystrtod.py [124 started in total]
__ module/cpyext/test/test_pystate.py [122 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 57.74 seconds ===============
++ 04:12:08 starting module/cpyext/test/test_sequence.py [125 started in total]
__ module/cpyext/test/test_pystrhex.py [123 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_pystrhex.py .
========================== 1 passed in 41.84 seconds ===========================
++ 04:12:10 starting module/cpyext/test/test_setobject.py [126 started in total]
__ module/cpyext/test/test_pystrtod.py [124 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
module/cpyext/test/test_pystrtod.py ....................
========================== 20 passed in 64.05 seconds ==========================
++ 04:12:45 starting module/cpyext/test/test_sliceobject.py [127 started in total]
__ module/cpyext/test/test_setobject.py [125 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
module/cpyext/test/test_setobject.py .........
========================== 9 passed in 54.42 seconds ===========================
++ 04:13:16 starting module/cpyext/test/test_structseq.py [128 started in total]
__ module/cpyext/test/test_sequence.py [126 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
module/cpyext/test/test_sequence.py .......................
========================== 23 passed in 76.02 seconds ==========================
++ 04:13:35 starting module/cpyext/test/test_sysmodule.py [129 started in total]
__ module/cpyext/test/test_sliceobject.py [127 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/cpyext/test/test_sliceobject.py ........
========================== 8 passed in 55.82 seconds ===========================
++ 04:13:50 starting module/cpyext/test/test_thread.py [130 started in total]
__ module/cpyext/test/test_structseq.py [128 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_structseq.py .
========================== 1 passed in 42.99 seconds ===========================
++ 04:14:15 starting module/cpyext/test/test_traceback.py [131 started in total]
__ module/cpyext/test/test_sysmodule.py [129 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_sysmodule.py ...
========================== 3 passed in 48.37 seconds ===========================
++ 04:14:34 starting module/cpyext/test/test_translate.py [132 started in total]
__ module/cpyext/test/test_translate.py [130 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_translate.py .
=========================== 1 passed in 4.62 seconds ===========================
++ 04:14:48 starting module/cpyext/test/test_tupleobject.py [133 started in total]
__ module/cpyext/test/test_traceback.py [131 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_traceback.py .
========================== 1 passed in 31.22 seconds ===========================
++ 04:14:59 starting module/cpyext/test/test_typeobject.py [134 started in total]
__ module/cpyext/test/test_thread.py [132 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_thread.py x...x.
===================== 4 passed, 2 xfailed in 61.76 seconds =====================
++ 04:15:03 starting module/cpyext/test/test_unicodeobject.py [135 started in total]
__ module/cpyext/test/test_tupleobject.py [133 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/cpyext/test/test_tupleobject.py ..........
========================== 10 passed in 60.52 seconds ==========================
++ 04:16:01 starting module/cpyext/test/test_userslots.py [136 started in total]
__ module/cpyext/test/test_userslots.py [134 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_userslots.py .......
========================== 7 passed in 71.14 seconds ===========================
called power
++ 04:17:29 starting module/cpyext/test/test_version.py [137 started in total]
__ module/cpyext/test/test_unicodeobject.py [135 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 76 items
module/cpyext/test/test_unicodeobject.py .....................................................ss.....................
==================== 74 passed, 2 skipped in 190.65 seconds ====================
++ 04:18:26 starting module/cpyext/test/test_weakref.py [138 started in total]
__ module/cpyext/test/test_version.py [136 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_version.py ...
========================== 3 passed in 51.47 seconds ===========================
++ 04:18:35 starting module/crypt/test [139 started in total]
__ module/crypt/test [137 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/crypt/test/test_crypt.py .
========================== 1 passed in 26.75 seconds ===========================
++ 04:19:02 starting module/errno/test [140 started in total]
__ module/errno/test [138 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/errno/test/test_errno.py ...
=========================== 3 passed in 8.50 seconds ===========================
++ 04:19:13 starting module/exceptions/test [141 started in total]
__ module/cpyext/test/test_weakref.py [139 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_weakref.py .....
========================== 5 passed in 58.34 seconds ===========================
++ 04:19:39 starting module/faulthandler/test [142 started in total]
__ module/exceptions/test [140 done in total, somefailed=False] _______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 98 items
module/exceptions/test/apptest_exceptions.py ..................................................
module/exceptions/test/test_exc.py ........s.......................................
==================== 97 passed, 1 skipped in 27.12 seconds =====================
++ 04:19:41 starting module/fcntl/test [143 started in total]
__ module/faulthandler/test [141 done in total, somefailed=False] _____________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/faulthandler/test/test_faulthander.py ..
module/faulthandler/test/test_ztranslation.py .
========================== 3 passed in 19.82 seconds ===========================
++ 04:19:59 starting module/gc/test [144 started in total]
__ module/fcntl/test [142 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/fcntl/test/test_fcntl.py F.FFsFss
=================================== FAILURES ===================================
___________________________ AppTestFcntl.test_fcntl ____________________________
self = <CallInfo when='call' exception: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0>
func = <function <lambda> at 0x0000000139fe5448>, 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_fcntl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_fcntl'>}
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 0x00000001586ba0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_fcntl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_fcntl'>}
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 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_fcntl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_fcntl'>}
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_fcntl'>, '__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 0x00000001597dbf60>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_fcntl'>, '__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 0x00000001599f9ae0>
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 0x00000001599f9ae0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_fcntl'>, '__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_fcntl'>, '__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 0x00000001597dbf10>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_fcntl'>, '__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 0x00000001599f9aa0>
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 0x00000001599f9aa0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_fcntl'>, '__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_fcntl'>, '__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_fcntl'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fcntl'>
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_fcntl'>, space = StdObjSpace
target = <function test_fcntl at 0x0000000139fe5628>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>)
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 0x00000001597e0800>,)
w_func = <Function test_fcntl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>
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_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
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_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_fcntl, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", 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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
name = 'test_fcntl', qualname = 'test_fcntl'
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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
pycode = <code object test_fcntl, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1>
next_instr = 346
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02\x89\x00d\x01d\x00l\x03}\x03G\x00d\x02\x84\x00d\x03\x83\x02}\x...x05|\x01j\x1d\x83\x04\x01\x00t\x08t%|\x01j\x00|\x05|\x01j\x1ed\x1a\x83\x05\x01\x00|\x05\xa0&\xa1\x00\x01\x00d\x00S\x00'
next_instr = 346
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02\x89\x00d\x01d\x00l\x03}\x03G\x00d\x02\x84\x00d\x03\x83\x02}\x...x05|\x01j\x1d\x83\x04\x01\x00t\x08t%|\x01j\x00|\x05|\x01j\x1ed\x1a\x83\x05\x01\x00|\x05\xa0&\xa1\x00\x01\x00d\x00S\x00'
next_instr = 358
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
@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_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
oparg = 3, ignored = (358,), n_args = 3, w_self = None, n = 3
@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 fcntl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
dropvalues = 5, 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 fcntl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
dropvalues = 5, 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)
interpreter/function.py:176:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x000000013ad98870>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x0000000109e077c0>
w2 = W_IntObject(2), w3 = W_UnicodeObject('foo')
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_3(self, space, func, w1, w2, w3):
try:
w_result = self.fastfunc_3(space, w1, w2, w3)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space, [w1, w2, w3]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:1031:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x000000013ad98870>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
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.BuiltinCode3 object at 0x000000013ad98870>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x0000000109e077c0>
w2 = W_IntObject(2), w3 = W_UnicodeObject('foo')
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_3(self, space, func, w1, w2, w3):
try:
> w_result = self.fastfunc_3(space, w1, w2, w3)
interpreter/gateway.py:1026:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w0 = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x0000000109e077c0>
w1 = W_IntObject(2), w2 = W_UnicodeObject('foo')
def fastfunc_fcntl_3(space, w0, w1, w2):
> return func(space, w0, space.gateway_int_w(w1), w2)
<2752-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x0000000109e077c0>
op = 2L, w_arg = W_UnicodeObject('foo')
@unwrap_spec(op=int, w_arg=WrappedDefault(0))
def fcntl(space, w_fd, op, w_arg):
"""fcntl(fd, op, [arg])
Perform the requested operation on file descriptor fd. The operation
is defined by op and is operating system dependent. These constants are
available from the fcntl module. The argument arg is optional, and
defaults to 0; it may be an int or a string. If arg is given as a string,
the return value of fcntl is a string of that length, containing the
resulting value put in the arg buffer by the operating system. If the
arg given is an integer or if none is specified, the result value is an
integer corresponding to the return value of the fcntl call in the C code.
"""
fd = space.c_filedescriptor_w(w_fd)
op = rffi.cast(rffi.INT, op) # C long => C int
try:
arg = space.getarg_w('s#', w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
with rffi.scoped_str2charp(arg) as ll_arg:
while True:
> rv = fcntl_str(fd, op, ll_arg)
module/fcntl/interp_fcntl.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 2L, <* DEAD Array of Char {'nolength': True} >)
real_args = (13L, 2L, <* DEAD Array of Char {'nolength': True} >), to_free = ()
i = 2
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:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 13L, a1 = 2L, a2 = <* DEAD Array of Char {'nolength': True} >
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2203-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn fcntl>
args = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* DEAD Array of Char {'nolength': True} >
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 0x0000000158bf8a30>
argvalues = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
cfunc = <ctypes._FuncPtr object at 0x000000010a560c68>
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)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
cargs = [13L, 2L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000010a561070>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000010a561058>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000010a561070>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000010a561058>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000010a561070>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
___________________________ AppTestFcntl.test_lockf ____________________________
self = <CallInfo when='call' exception: expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } instead of LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
func = <function <lambda> at 0x000000013a7e2980>, 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_lockf'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_lockf'>}
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 0x00000001586ba0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_lockf'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_lockf'>}
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 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_lockf'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_lockf'>}
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_lockf'>, '__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 0x000000013a2d7e48>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_lockf'>, '__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 0x000000013b129960>
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 0x000000013b129960>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_lockf'>, '__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_lockf'>, '__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 0x000000013a2d7da8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_lockf'>, '__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 0x000000013b129920>
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 0x000000013b129920>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_lockf'>, '__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_lockf'>, '__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_lockf'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_lockf'>
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_lockf'>, space = StdObjSpace
target = <function test_lockf at 0x000000013a7e2b60>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>)
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 0x00000001597e0800>,)
w_func = <Function test_lockf>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>
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_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
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_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_lockf, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", 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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
name = 'test_lockf', qualname = 'test_lockf'
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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
e = TypeError('expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_typ...LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }',)
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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
pycode = <code object test_lockf, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03t\x03|\x00j\x04d\x02\x17\x00d\x03\x83\x02}\x04t\x05t\x06|...xa1\x01d\x01k\x02s\xabJ\x00\x82\x01|\x01\xa0\x07|\x04|\x01j\x08\xa1\x02\x01\x00|\x04\xa0\x16\xa1\x00\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03t\x03|\x00j\x04d\x02\x17\x00d\x03\x83\x02}\x04t\x05t\x06|...xa1\x01d\x01k\x02s\xabJ\x00\x82\x01|\x01\xa0\x07|\x04|\x01j\x08\xa1\x02\x01\x00|\x04\xa0\x16\xa1\x00\x01\x00d\x00S\x00'
next_instr = 126L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
@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_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
oparg = 2, ignored = (126L,), 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 = <BuiltinFunction lockf>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
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 = <BuiltinFunction lockf>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
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 = <BuiltinFunction lockf>
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x000000013b170b48>, W_IntObject(6)])
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 0x000000013b1713d0>
func = <BuiltinFunction lockf>
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x000000013b170b48>, W_IntObject(6)])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000013b1713d0>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x000000013b170b48>, W_IntObject(6)])
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 0x000000013b1713d0>
space = StdObjSpace
e = TypeError('expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_typ...LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }',)
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 0x000000013b1713d0>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x000000013b170b48>, W_IntObject(6)])
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_int_int_int_int object at 0x000000013b171590>
space = StdObjSpace
scope_w = [<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x000000013b170b48>, W_IntObject(6), W_IntObject(0), W_IntObject(0), W_IntObject(0)]
def _run(self, space, scope_w):
> return self.behavior(space, scope_w[0], space.gateway_int_w(scope_w[1]), space.gateway_int_w(scope_w[2]), space.gateway_int_w(scope_w[3]), space.gateway_int_w(scope_w[4]))
<2754-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x000000013b170b48>
op = 8L, length = 0, start = 0, whence = 0
@unwrap_spec(op=int, length=int, start=int, whence=int)
def lockf(space, w_fd, op, length=0, start=0, whence=0):
"""lockf (fd, operation, length=0, start=0, whence=0)
This is essentially a wrapper around the fcntl() locking calls. fd is the
file descriptor of the file to lock or unlock, and operation is one of the
following values:
LOCK_UN - unlock
LOCK_SH - acquire a shared lock
LOCK_EX - acquire an exclusive lock
When operation is LOCK_SH or LOCK_EX, it can also be bit-wise OR'd with
LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the
lock cannot be acquired, an IOError will be raised and the exception will
have an errno attribute set to EACCES or EAGAIN (depending on the
operating system -- for portability, check for either value).
length is the number of bytes to lock, with the default meaning to lock to
EOF. start is the byte offset, relative to whence, to that the lock
starts. whence is as with fileobj.seek(), specifically:
0 - relative to the start of the file (SEEK_SET)
1 - relative to the current buffer position (SEEK_CUR)
2 - relative to the end of the file (SEEK_END)"""
fd = space.c_filedescriptor_w(w_fd)
if op == LOCK_UN:
l_type = F_UNLCK
elif op & LOCK_SH:
l_type = F_RDLCK
elif op & LOCK_EX:
l_type = F_WRLCK
else:
raise oefmt(space.w_ValueError, "unrecognized lock operation")
op = [F_SETLKW, F_SETLK][int(bool(op & LOCK_NB))]
op = rffi.cast(rffi.INT, op) # C long => C int
with lltype.scoped_alloc(_flock.TO) as l:
rffi.setintfield(l, 'c_l_type', l_type)
rffi.setintfield(l, 'c_l_start', int(start))
rffi.setintfield(l, 'c_l_len', int(length))
rffi.setintfield(l, 'c_l_whence', int(whence))
while True:
> rv = fcntl_flock(fd, op, l)
module/fcntl/interp_fcntl.py:207:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
real_args = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
to_free = (), i = 2
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:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 14L, a1 = 8L
a2 = <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2204-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn fcntl>
args = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2
a = <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
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 0x0000000158bf8aa0>
argvalues = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
cfunc = <ctypes._FuncPtr object at 0x00000001488a3f88>
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)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
cargs = [14L, 8L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001488a3f58>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001488b07a0>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001488a3f58>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001488b07a0>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001488a3f58>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } instead of LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
___________________________ AppTestFcntl.test_ioctl ____________________________
self = <CallInfo when='call' exception: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0>
func = <function <lambda> at 0x000000013ae25e98>, 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_ioctl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ioctl'>}
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 0x00000001586ba0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ioctl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ioctl'>}
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 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ioctl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ioctl'>}
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_ioctl'>, '__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 0x000000010a2271c8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_ioctl'>, '__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 0x00000001099f16e0>
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 0x00000001099f16e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_ioctl'>, '__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_ioctl'>, '__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 0x000000010a227128>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_ioctl'>, '__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 0x00000001099f16a0>
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 0x00000001099f16a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_ioctl'>, '__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_ioctl'>, '__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_ioctl'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl'>
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_ioctl'>, space = StdObjSpace
target = <function test_ioctl at 0x0000000159f1a200>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>)
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 0x00000001597e0800>,)
w_func = <Function test_ioctl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>
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_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
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_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ioctl, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", 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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
name = 'test_ioctl', qualname = 'test_ioctl'
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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
pycode = <code object test_ioctl, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1>
next_instr = 180
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05\t\x00d\x01d\x02l...e0J\x00\x82\x01|\x03\xa0\x11|\x08\xa1\x01\x01\x00d\x00S\x00#\x00|\x03\xa0\x11|\x08\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 180
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05\t\x00d\x01d\x02l...e0J\x00\x82\x01|\x03\xa0\x11|\x08\xa1\x01\x01\x00d\x00S\x00#\x00|\x03\xa0\x11|\x08\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 220
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
@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_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
oparg = 4, ignored = (220,), n_args = 4, w_self = None, n = 4
@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 ioctl>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
dropvalues = 6, 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 ioctl>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
dropvalues = 6, 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)
interpreter/function.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000011b1a9718>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011b1a1328>
w4 = W_BoolObject(True)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_4(self, space, func, w1, w2, w3, w4):
from rpython.rlib.debug import check_annotation
try:
w_result = self.fastfunc_4(space, w1, w2, w3, w4)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space,
[w1, w2, w3, w4]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:1058:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000011b1a9718>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
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.BuiltinCode4 object at 0x000000011b1a9718>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011b1a1328>
w4 = W_BoolObject(True)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_4(self, space, func, w1, w2, w3, w4):
from rpython.rlib.debug import check_annotation
try:
> w_result = self.fastfunc_4(space, w1, w2, w3, w4)
interpreter/gateway.py:1052:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w0 = W_IntObject(13), w1 = W_IntObject(1074033783)
w2 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011b1a1328>
w3 = W_BoolObject(True)
def fastfunc_ioctl_4(space, w0, w1, w2, w3):
> return func(space, w0, w1, w2, space.gateway_int_w(w3))
<2843-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = W_IntObject(13), w_request = W_IntObject(1074033783)
w_arg = <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011b1a1328>
mutate_flag = 1
@unwrap_spec(mutate_flag=int, w_arg=WrappedDefault(0))
def ioctl(space, w_fd, w_request, w_arg, mutate_flag=-1):
"""ioctl(fd, op[, arg[, mutate_flag]])
Perform the operation op on file descriptor fd. The values used for op
are operating system dependent, and are available as constants in the
fcntl or termios library modules, using the same names as used in the
relevant C header files.
The argument arg is optional, and defaults to 0; it may be an int or a
buffer containing character data (most likely a string or an array).
If the argument is a mutable buffer (such as an array) and if the
mutate_flag argument (which is only allowed in this case) is true then the
buffer is (in effect) passed to the operating system and changes made by
the OS will be reflected in the contents of the buffer after the call has
returned. The return value is the integer returned by the ioctl system
call.
If the argument is a mutable buffer and the mutable_flag argument is not
passed or is false, the behavior is as if a string had been passed. This
behavior will change in future releases of Python.
If the argument is an immutable buffer (most likely a string) then a copy
of the buffer is passed to the operating system and the return value is a
string of the same length containing whatever the operating system put in
the buffer. The length of the arg buffer in this case is not allowed to
exceed 1024 bytes.
If the arg given is an integer or if none is specified, the result value is
an integer corresponding to the return value of the ioctl call in the C
code."""
# removed the largish docstring because it is not in sync with the
# documentation any more (even in CPython's docstring is out of date)
# XXX this function's interface is a mess.
# We try to emulate the behavior of Python >= 2.5 w.r.t. mutate_flag
IOCTL_BUFSZ = 1024 # like cpython
fd = space.c_filedescriptor_w(w_fd)
op = space.bigint_w(w_request).uintmask() # CPython uses PyLong_AsUnsignedLongMask
op = rffi.cast(rffi.UINT, op)
try:
view, rwbuffer = space.acquire_writebuf(w_arg)
except OperationError as e:
if not (e.match(space, space.w_TypeError) or
e.match(space, space.w_BufferError)):
raise
else:
with view:
arg = rwbuffer.as_str()
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
> rv = ioctl_str(fd, op, buf.raw)
module/fcntl/interp_fcntl.py:271:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x123362610>>)
real_args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x123362610>>)
to_free = (), i = 2
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:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 13L, a1 = 1074033783L
a2 = <* <C object Array of Char {'nolength': True} at 0x123362610>>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2206-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x123362610>>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* <C object Array of Char {'nolength': True} at 0x123362610>>
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 0x0000000158bf8b80>
argvalues = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x123362610>>)
cfunc = <ctypes._FuncPtr object at 0x000000011ad8b9e8>
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)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x123362610>>)
cargs = [13L, 1074033783L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000011ad8b8f8>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000011adb1b38>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000011ad8b8f8>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000011adb1b38>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000011ad8b8f8>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
______________ AppTestFcntl.test_ioctl_signed_unsigned_code_param ______________
self = <CallInfo when='call' exception: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0>
func = <function <lambda> at 0x0000000159616a70>, 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_ioctl_signed_unsigned_code_para...l__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
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 0x00000001586ba0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_para...l__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
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 0x0000000118396ea0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_para...l__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>}
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_ioctl_signed_unsigned_code_param'>, '__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 0x0000000159d13d30>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...code_param'>, '__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 0x000000010a8ab220>
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 0x000000010a8ab220>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...code_param'>, '__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_ioctl_signed_unsigned_code_param'>, '__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 0x0000000159d13c68>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...code_param'>, '__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 0x000000010a8ab1e0>
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 0x000000010a8ab1e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...code_param'>, '__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_ioctl_signed_unsigned_code_param'>, '__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_ioctl_signed_unsigned_code_param'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
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_ioctl_signed_unsigned_code_param'>
space = StdObjSpace
target = <function test_ioctl_signed_unsigned_code_param at 0x0000000159616bd8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>)
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 0x00000001597e0800>,)
w_func = <Function test_ioctl_signed_unsigned_code_param>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>
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_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
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_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001597e0800>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ioctl_signed_unsigned_code_param, file "[/Users/matti/build-...arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", 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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
name = 'test_ioctl_signed_unsigned_code_param'
qualname = 'test_ioctl_signed_unsigned_code_param'
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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
pycode = <code object test_ioctl_signed_unsigned_code_param, file "[/Users/matti/build-...arm64/own-macos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1>
next_instr = 82
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05|\x03\xa0\x05\xa1...x07\xa1\x01\x01\x00d\x00S\x00#\x00|\x02\xa0\n|\x06\xa1\x01\x01\x00|\x02\xa0\n|\x07\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 82
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05|\x03\xa0\x05\xa1...x07\xa1\x01\x01\x00d\x00S\x00#\x00|\x02\xa0\n|\x06\xa1\x01\x01\x00|\x02\xa0\n|\x07\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 142
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001399970c0>
@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_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
oparg = 3, ignored = (142,), n_args = 3, w_self = None, n = 3
@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 ioctl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
dropvalues = 5, 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 ioctl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
dropvalues = 5, 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 = <BuiltinFunction ioctl>
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000011b1a9718>
func = <BuiltinFunction ioctl>
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000011b1a9718>
func = <BuiltinFunction ioctl>, w_obj = None
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
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.BuiltinCode4 object at 0x000000011b1a9718>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
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.BuiltinCode4 object at 0x000000011b1a9718>
func = <BuiltinFunction ioctl>, w_obj = None
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
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_int object at 0x000000011b1a9868>
space = StdObjSpace
scope_w = [W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00'), W_IntObject(-1)]
def _run(self, space, scope_w):
> return self.behavior(space, scope_w[0], scope_w[1], scope_w[2], space.gateway_int_w(scope_w[3]))
<2842-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = W_IntObject(14), w_request = W_IntObject(2148037735)
w_arg = W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00'), mutate_flag = -1
@unwrap_spec(mutate_flag=int, w_arg=WrappedDefault(0))
def ioctl(space, w_fd, w_request, w_arg, mutate_flag=-1):
"""ioctl(fd, op[, arg[, mutate_flag]])
Perform the operation op on file descriptor fd. The values used for op
are operating system dependent, and are available as constants in the
fcntl or termios library modules, using the same names as used in the
relevant C header files.
The argument arg is optional, and defaults to 0; it may be an int or a
buffer containing character data (most likely a string or an array).
If the argument is a mutable buffer (such as an array) and if the
mutate_flag argument (which is only allowed in this case) is true then the
buffer is (in effect) passed to the operating system and changes made by
the OS will be reflected in the contents of the buffer after the call has
returned. The return value is the integer returned by the ioctl system
call.
If the argument is a mutable buffer and the mutable_flag argument is not
passed or is false, the behavior is as if a string had been passed. This
behavior will change in future releases of Python.
If the argument is an immutable buffer (most likely a string) then a copy
of the buffer is passed to the operating system and the return value is a
string of the same length containing whatever the operating system put in
the buffer. The length of the arg buffer in this case is not allowed to
exceed 1024 bytes.
If the arg given is an integer or if none is specified, the result value is
an integer corresponding to the return value of the ioctl call in the C
code."""
# removed the largish docstring because it is not in sync with the
# documentation any more (even in CPython's docstring is out of date)
# XXX this function's interface is a mess.
# We try to emulate the behavior of Python >= 2.5 w.r.t. mutate_flag
IOCTL_BUFSZ = 1024 # like cpython
fd = space.c_filedescriptor_w(w_fd)
op = space.bigint_w(w_request).uintmask() # CPython uses PyLong_AsUnsignedLongMask
op = rffi.cast(rffi.UINT, op)
try:
view, rwbuffer = space.acquire_writebuf(w_arg)
except OperationError as e:
if not (e.match(space, space.w_TypeError) or
e.match(space, space.w_BufferError)):
raise
else:
with view:
arg = rwbuffer.as_str()
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
rv = ioctl_str(fd, op, buf.raw)
if rv < 0:
_raise_error_always(space, "ioctl")
arg = rffi.charpsize2str(buf.raw, len(arg))
if mutate_flag != 0:
rwbuffer.setslice(0, arg)
return space.newint(rv)
return space.newbytes(arg)
finally:
lltype.free(ll_arg, flavor='raw')
if mutate_flag != -1:
raise oefmt(space.w_TypeError,
"ioctl requires a file or file descriptor, an integer and "
"optionally an integer or buffer argument")
try:
arg = space.getarg_w('s#', w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
> rv = ioctl_str(fd, op, buf.raw)
module/fcntl/interp_fcntl.py:299:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x123196210>>)
real_args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x123196210>>)
to_free = (), i = 2
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:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 14L, a1 = 2148037735L
a2 = <* <C object Array of Char {'nolength': True} at 0x123196210>>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2206-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x123196210>>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* <C object Array of Char {'nolength': True} at 0x123196210>>
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 0x0000000158bf8b80>
argvalues = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x123196210>>)
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)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x123196210>>)
cargs = [14L, 2148037735L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013adeb070>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013adeb430>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013adeb070>
def __init__(self, value=None):
if not hasattr(self, '_buffer'):
self._buffer = ffiarray(1, autofree=True)
if value is not None:
> self.contents = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013adeb430>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000013adeb070>
def setcontents(self, value):
if not isinstance(value, self._type_):
raise TypeError("expected %s instead of %s" % (
> self._type_.__name__, type(value).__name__))
E TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py:106: TypeError
=========================== short test summary info ============================
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_fcntl
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_lockf
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_ioctl
FAIL module/fcntl/test/test_fcntl.py::AppTestFcntl::()::test_ioctl_signed_unsigned_code_param
================ 4 failed, 1 passed, 3 skipped in 24.23 seconds ================
++ 04:20:09 starting module/imp/test [145 started in total]
__ module/cpyext/test/test_typeobject.py [143 done in total, somefailed=True] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 95 items
module/cpyext/test/test_typeobject.py ...................s............F.........................................s.....s..............
=================================== FAILURES ===================================
_____________________ AppTestTypeObject.test_tp_descr_set ______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x00000001324d7d30>, 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_tp_descr_set'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_tp_descr_set'>}
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 0x00000001200ea0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001583d9a60>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_tp_descr_set'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_tp_descr_set'>}
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 0x00000001583d9a60>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_tp_descr_set'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_tp_descr_set'>}
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_tp_descr_set'>, '__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 0x0000000151118a98>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._descr_set'>, '__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 0x0000000131b5e060>
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 0x0000000131b5e060>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._descr_set'>, '__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_tp_descr_set'>, '__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 0x00000001511189f8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._descr_set'>, '__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 0x0000000131b5e020>
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 0x0000000131b5e020>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i..._descr_set'>, '__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_tp_descr_set'>, '__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_tp_descr_set'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_tp_descr_set'>
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_tp_descr_set'>, space = StdObjSpace
target = <function test_tp_descr_set at 0x0000000113167628>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013217ee20>)
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 0x000000013217ee20>,)
w_func = <Function test_tp_descr_set>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013217ee20>
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_tp_descr_set>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013217ee20>,)
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_tp_descr_set>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013217ee20>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_tp_descr_set, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", 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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1> at line 2
name = 'test_tp_descr_set', qualname = 'test_tp_descr_set'
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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", 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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1> at line 2
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", 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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1> at line 2
pycode = <code object test_tp_descr_set, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000011114d478>
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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01d\x03\xa1\x01d\x04u\x00s\x10J\x00\x82\x01G\x00d\x05\x84\x00d\x0...\x04t\x03d\n\x84\x00|\x03|\x04\x83\x03}\x05|\x01\xa0\x01|\x05\xa1\x01d\x07u\x00s7J\x00\x82\x01d\x00S\x00\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000011114d478>
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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1> at line 2
co_code = '|\x00\xa0\x00d\x01d\x02g\x01\xa1\x02}\x01|\x01\xa0\x01d\x03\xa1\x01d\x04u\x00s\x10J\x00\x82\x01G\x00d\x05\x84\x00d\x0...\x04t\x03d\n\x84\x00|\x03|\x04\x83\x03}\x05|\x01\xa0\x01|\x05\xa1\x01d\x07u\x00s7J\x00\x82\x01d\x00S\x00\x01d\x00S\x00'
next_instr = 12L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000011114d478>
@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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", line 1> at line 2
oparg = 2, ignored = (12L,), 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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", 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_tp_descr...arm64/build/pypy/module/cpyext/test/test_typeobject.py:548]", 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.... Py_INCREF(Py_True);\n return Py_True;\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 0x0000000131f22598>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... Py_INCREF(Py_True);\n return Py_True;\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 0x0000000131f22598>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... Py_INCREF(Py_True);\n return Py_True;\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 0x0000000131f22598>
space = StdObjSpace
e = CompileError(DistutilsExecError("command 'cc' terminated by signal 10",),)
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 0x0000000131f22598>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... Py_INCREF(Py_True);\n return Py_True;\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 0x0000000131f22aa0>
space = StdObjSpace
scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... Py_IN... return Py_True;\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]))
<2703-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... Py_INCREF(Py_True);\n return Py_True;\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:415:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000151880528>
modname = 'foo'
functions = [(u'tp_descr_set', u'METH_O', u'\n if (args->ob_type->tp_descr_set == NULL) {\n Py_I... return NULL;\n\n Py_INCREF(Py_True);\n return Py_True;\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 0x0000000151880528>
name = 'foo'
init = 'PyObject *mod = PyModule_Create(&moduledef);\n \nreturn mod;'
body = u'\n static PyObject* foo_tp_descr_set(PyObject *self, PyObject *args)\n {\n \n if...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 0x0000000151880528>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-py3.11-447/foo-5/source_0.c')]
source_strings = [u'\n \n #include <Python.h>\n\n \n static PyObject* foo_tp_descr_set(PyObject *self, PyObject *args)\...\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('/tmp/buildbot-arm64/usession-py3.11-447/foo-5/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-py3.11-447/foo-5/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-447'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], 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('/tmp/buildbot-arm64/usession-py3.11-447/foo-5/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-py3.11-447/foo-5/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-447'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
libraries = [], 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.unixccompiler.UnixCCompiler instance at 0x0000000131b15e20>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-py3.11-447'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/m.../build/pypy/module/cpyext/parse'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c')]
debug = 0, extra_preargs = [], 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):
"""Compile one or more source files.
'sources' must be a list of filenames, most likely C/C++
files, but in reality anything that can be handled by a
particular compiler and compiler class (eg. MSVCCompiler can
handle resource files in 'sources'). Return a list of object
filenames, one per source filename in 'sources'. Depending on
the implementation, not all source files will necessarily be
compiled, but all corresponding object filenames will be
returned.
If 'output_dir' is given, object files will be put under it, while
retaining their original path component. That is, "foo/bar.c"
normally compiles to "foo/bar.o" (for a Unix implementation); if
'output_dir' is "build", then it would compile to
"build/foo/bar.o".
'macros', if given, must be a list of macro definitions. A macro
definition is either a (name, value) 2-tuple or a (name,) 1-tuple.
The former defines a macro; if the value is None, the macro is
defined without an explicit value. The 1-tuple case undefines a
macro. Later definitions/redefinitions/ undefinitions take
precedence.
'include_dirs', if given, must be a list of strings, the
directories to add to the default include file search path for this
compilation only.
'debug' is a boolean; if true, the compiler will be instructed to
output debug symbols in (or alongside) the object file(s).
'extra_preargs' and 'extra_postargs' are implementation- dependent.
On platforms that have the notion of a command-line (e.g. Unix,
DOS/Windows), they are most likely lists of strings: extra
command-line arguments to prepand/append to the compiler command
line. On other platforms, consult the implementation class
documentation. In any event, they are intended as an escape hatch
for those occasions when the abstract compiler framework doesn't
cut the mustard.
'depends', if given, is a list of filenames that all targets
depend on. If a source file is older than any file in
depends, then the source file will be recompiled. This
supports dependency tracking, but only at a coarse
granularity.
Raises CompileError on failure.
"""
# A concrete compiler class can either override this method
# entirely or implement _compile().
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
for obj in objects:
try:
src, ext = build[obj]
except KeyError:
continue
> self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/ccompiler.py:574:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000131b15e20>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-py3.11-447', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpy.../build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c', '-c']
extra_postargs = []
pp_opts = ['-I/tmp/buildbot-arm64/usession-py3.11-447', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpy...-arm64/build/pypy/module/cpyext/parse', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/translator/c']
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
> raise CompileError, msg
E CompileError: command 'cc' terminated by signal 10
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/distutils/unixccompiler.py:139: CompileError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_typeobject.py::AppTestTypeObject::()::test_tp_descr_set
=============== 1 failed, 91 passed, 3 skipped in 319.13 seconds ===============
++ 04:20:31 starting module/itertools/test [146 started in total]
__ module/gc/test [144 done in total, somefailed=True] ________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 ...F....
module/gc/test/test_ztranslation.py .
=================================== FAILURES ===================================
__________________ AppTestReferents.test_get_rpy_memory_usage __________________
self = <CallInfo when='call' exception: type object 'W_IntObject' has no attribute '__basicsize__'>
func = <function <lambda> at 0x00000001492b13d0>, 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_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
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 0x000000012820a0c8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000000015899ea60>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
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 0x000000015899ea60>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_rpy_memory_usage'>}
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_get_rpy_memory_usage'>, '__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 0x0000000138263178>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__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 0x0000000108fb2520>
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 0x0000000108fb2520>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__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_get_rpy_memory_usage'>, '__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 0x0000000138262bb0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__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 0x0000000108fb24e0>
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 0x0000000108fb24e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__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_get_rpy_memory_usage'>, '__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_get_rpy_memory_usage'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_rpy_memory_usage'>
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_get_rpy_memory_usage'>, space = StdObjSpace
target = <function test_get_rpy_memory_usage at 0x00000001492b1448>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001098d50c0>)
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 0x00000001098d50c0>,)
w_func = <Function test_get_rpy_memory_usage>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001098d50c0>
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_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001098d50c0>,)
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_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001098d50c0>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_get_rpy_memory_usage, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", 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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
name = 'test_get_rpy_memory_usage', qualname = 'test_get_rpy_memory_usage'
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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",)
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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
pycode = <code object test_get_rpy_memory_usage, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001181634b0>
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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x01\xa0\x01d\x02\xa1\x01}\x02t\x02|\x02\x83\x01\x01\x00d\x03|\x02\x04\x00\x03\x00k\x01o\x16d\x04k\x01n\x02\x02\x00\x01\x00s\x1bJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001181634b0>
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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x01\xa0\x01d\x02\xa1\x01}\x02t\x02|\x02\x83\x01\x01\x00d\x03|\x02\x04\x00\x03\x00k\x01o\x16d\x04k\x01n\x02\x02\x00\x01\x00s\x1bJ\x00\x82\x01d\x00S\x00'
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00000001181634b0>
@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_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
oparg = 1, ignored = (16L,), 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 get_rpy_memory_usage>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
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 get_rpy_memory_usage>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
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 0x000000012aa72480>
space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>
w1 = W_IntObject(12345)
@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 0x000000012aa72480>
space = StdObjSpace
e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",)
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 0x000000012aa72480>
space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>
w1 = W_IntObject(12345)
@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_obj = W_IntObject(12345)
def get_rpy_memory_usage(space, w_obj):
"""Return the memory usage of just the given object or GcRef.
This does not include the internal structures of the object."""
gcref = unwrap(space, w_obj)
> size = rgc.get_rpy_memory_usage(gcref)
module/gc/referents.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gcref = _GcRef(W_IntObject(12345))
@not_rpython
def get_rpy_memory_usage(gcref):
# approximate implementation using CPython's type info
Class = type(gcref._x)
> size = Class.__basicsize__
E AttributeError: type object 'W_IntObject' has no attribute '__basicsize__'
../rpython/rlib/rgc.py:851: AttributeError
=========================== short test summary info ============================
FAIL module/gc/test/test_referents.py::AppTestReferents::()::test_get_rpy_memory_usage
=============== 1 failed, 28 passed, 1 xfailed in 29.03 seconds ================
++ 04:20:32 starting module/marshal/test [147 started in total]
__ module/marshal/test [145 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 51 items
module/marshal/test/apptest_marshal.py ...............................................
module/marshal/test/test_marshal.py .
module/marshal/test/test_marshalimpl.py ...
========================== 51 passed in 33.74 seconds ==========================
++ 04:21:10 starting module/math/test [148 started in total]
__ module/itertools/test [146 done in total, somefailed=False] ________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 92 items
module/itertools/test/apptest_itertools.py ....
module/itertools/test/test_itertools.py .......................................................................................
module/itertools/test/test_ztranslation.py .
========================== 92 passed in 61.51 seconds ==========================
++ 04:21:37 starting module/micronumpy/test [149 started in total]
__ module/micronumpy/test [147 done in total, somefailed=False] _______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.00 seconds =========================
++ 04:21:37 starting module/mmap/test [150 started in total]
__ module/mmap/test [148 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 46 items
module/mmap/test/test_mmap.py .....................s............ss....s.....
==================== 42 passed, 4 skipped in 20.66 seconds =====================
++ 04:22:01 starting module/operator/test [151 started in total]
__ module/imp/test [149 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 123 items
module/imp/test/test_app.py .......................
module/imp/test/test_import.py ..........................s....................................s..........s.......s.................
=================== 119 passed, 4 skipped in 122.31 seconds ====================
++ 04:22:12 starting module/posix/test [152 started in total]
__ module/math/test [150 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 63.20 seconds ====================
++ 04:22:16 starting module/pwd/test [153 started in total]
__ module/operator/test [151 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 25.24 seconds ==========================
++ 04:22:29 starting module/pyexpat/test [154 started in total]
__ module/pwd/test [152 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/pwd/test/test_pwd.py ....
module/pwd/test/test_ztranslation.py .
========================== 5 passed in 26.55 seconds ===========================
++ 04:22:44 starting module/pypyjit/test [155 started in total]
__ module/pyexpat/test [153 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
module/pyexpat/test/apptest_pyexpat.py ...
module/pyexpat/test/test_build.py .
module/pyexpat/test/test_parser.py ...s.............
==================== 20 passed, 1 skipped in 26.83 seconds =====================
++ 04:22:57 starting module/select/test [156 started in total]
__ module/posix/test [154 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 162 items / 2 skipped
module/posix/test/apptest_posix.py ...F
module/posix/test/test_interp_posix.py ....
module/posix/test/test_posix2.py ................................s............................s...............ss......s....ss.........s..sF..F.............ssss........
module/posix/test/test_scandir.py ....................
=================================== FAILURES ===================================
__________________________ test_all_pathconf_defined ___________________________
def test_all_pathconf_defined():
import sys
import posix
try:
fd = sys.stdin.fileno()
except ValueError:
# translated test run with a fake sys.stdin with no fileno
fd = 1
for name in posix.pathconf_names:
> posix.fpathconf(fd, name) # does not crash
E (application-level) OSError: [Errno 22] Invalid argument
module/posix/test/apptest_posix.py:66: OSError
______________________ AppTestPosix.test_darwin_constants ______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a02f168>
def test_darwin_constants(self):
darwin_constants =['_COPYFILE_DATA']
for name in darwin_constants:
> getattr(self.posix, name)
E (application-level) AttributeError: module 'posix' has no attribute '_COPYFILE_DATA'
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/posix/test/test_posix2.py:1627]:4: AttributeError
_____________________ AppTestPosix.test_get_terminal_size ______________________
self = <CallInfo when='call' exception: unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'>
func = <function <lambda> at 0x00000001099aba60>, 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_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_terminal_size'>}
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 0x00000001388d7de0>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001181203a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_terminal_size'>}
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 0x00000001181203a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_terminal_size'>}
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_get_terminal_size'>, '__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 0x0000000148b1ac28>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__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 0x000000013a07be60>
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 0x000000013a07be60>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__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_get_terminal_size'>, '__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 0x0000000148b1abb0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__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 0x000000013a07be20>
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 0x000000013a07be20>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__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_get_terminal_size'>, '__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_get_terminal_size'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_terminal_size'>
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_get_terminal_size'>, space = StdObjSpace
target = <function test_get_terminal_size at 0x00000001099abad8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a02f168>)
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 0x000000013a02f168>,)
w_func = <Function test_get_terminal_size>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a02f168>
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_get_terminal_size>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a02f168>,)
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_get_terminal_size>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000013a02f168>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_get_terminal_size, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", 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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
name = 'test_get_terminal_size', qualname = 'test_get_terminal_size'
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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
e = TypeError("unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'",)
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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
pycode = <code object test_get_terminal_size, file "[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000013a645a60>
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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
co_code = '|\x00j\x00}\x01d\x01d\x02d\x03d\x04g\x04D\x00]&}\x02\t\x00|\x01j\x01|\x02\x8e\x00\\\x02}\x03}\x04n\x0e#\x00t\x02t\x03...2s)J\x00\x82\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000013a645a60>
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_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
co_code = '|\x00j\x00}\x01d\x01d\x02d\x03d\x04g\x04D\x00]&}\x02\t\x00|\x01j\x01|\x02\x8e\x00\\\x02}\x03}\x04n\x0e#\x00t\x02t\x03...2s)J\x00\x82\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00'
next_instr = 32L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000013a645a60>
@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)
interpreter/pyopcode.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...cos-arm64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
has_kwarg = 0, next_instr = 32L
def CALL_FUNCTION_EX(self, has_kwarg, next_instr):
w_kwargs = None
if has_kwarg:
w_kwargs = self.popvalue()
w_args = self.popvalue()
w_function = self.popvalue()
args = self.argument_factory(
[], None, None, w_star=w_args, w_starstar=w_kwargs, w_function=w_function)
if self.get_is_being_profiled() and function.is_builtin_code(w_function):
w_result = self.space.call_args_and_c_profile(self, w_function,
args)
else:
> w_result = self.space.call_args(w_function, args)
interpreter/pyopcode.py:1441:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = <BuiltinFunction get_terminal_size>
args = Arguments([])
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 = <BuiltinFunction get_terminal_size>, args = Arguments([])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x000000014ad20b10>
func = <BuiltinFunction get_terminal_size>, args = Arguments([])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x000000014ad20b10>
func = <BuiltinFunction get_terminal_size>, w_obj = None, args = Arguments([])
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.BuiltinCode1 object at 0x000000014ad20b10>
space = StdObjSpace
e = TypeError("unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'",)
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 0x000000014ad20b10>
func = <BuiltinFunction get_terminal_size>, w_obj = None, args = Arguments([])
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 object at 0x000000014ad20bb8>
space = StdObjSpace, scope_w = [None]
def _run(self, space, scope_w):
> return self.behavior(space, scope_w[0])
<363-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = None
def get_terminal_size(space, w_fd=None):
try:
> w_columns, w_lines = _get_terminal_size(space, w_fd)
module/posix/interp_posix.py:2901:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = None
def _get_terminal_size(space, w_fd=None):
if w_fd is None:
fd = rfile.RFile(rfile.c_stdout(), close2=(None, None)).fileno()
else:
if not space.isinstance_w(w_fd, space.w_int):
raise oefmt(space.w_TypeError,
"an integer is required, got %T", w_fd)
else:
fd = space.c_int_w(w_fd)
if _WIN32:
if fd == 0:
handle_id = rwin32.STD_INPUT_HANDLE
elif fd == 1:
handle_id = rwin32.STD_OUTPUT_HANDLE
elif fd == 2:
handle_id = rwin32.STD_ERROR_HANDLE
else:
raise oefmt(space.w_ValueError, "bad file descriptor")
handle = rwin32.GetStdHandle(handle_id)
if handle == rwin32.NULL_HANDLE:
raise oefmt(space.w_OSError, "handle cannot be retrieved")
elif handle == rwin32.INVALID_HANDLE_VALUE:
raise rwin32.lastSavedWindowsError()
with lltype.scoped_alloc(rwin32.CONSOLE_SCREEN_BUFFER_INFO) as buffer_info:
success = rwin32.GetConsoleScreenBufferInfo(handle, buffer_info)
if not success:
raise rwin32.lastSavedWindowsError()
w_columns = space.newint(r_int(buffer_info.c_srWindow.c_Right) - r_int(buffer_info.c_srWindow.c_Left) + 1)
w_lines = space.newint(r_int(buffer_info.c_srWindow.c_Bottom) - r_int(buffer_info.c_srWindow.c_Top) + 1)
else:
with lltype.scoped_alloc(rposix.WINSIZE) as winsize:
> failed = rposix.c_ioctl_voidp(fd, rposix.TIOCGWINSZ, winsize)
module/posix/interp_posix.py:2891:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (1, 1074295912, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
real_args = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
to_free = (), i = 2
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:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 1L, a1 = 1074295912L
a2 = <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<68-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2
a = <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>
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 0x00000001482fc870>
argvalues = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
cfunc = <ctypes._FuncPtr object at 0x000000013a907148>
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)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
cargs = [1L, 1074295912L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel } object at 0x000000013a907088>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = c_void_p(None)
value = <_ctypes.pointer.LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel } object at 0x000000013a907088>
def __init__(self, value=DEFAULT_VALUE):
if not hasattr(self, '_buffer'):
self._buffer = self._ffiarray(1, autofree=True)
if value is not DEFAULT_VALUE:
> self.value = value
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/primitive.py:424:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = c_void_p(None)
value = <_ctypes.pointer.LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel } object at 0x000000013a907088>
def _setvalue(self, value):
if isinstance(value, str):
array = _rawffi.Array('c')(len(value)+1, value)
self._objects = CArgObject(value, array)
value = array.buffer
elif value is None:
value = 0
> self._buffer[0] = value
E TypeError: unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'
../../../../oss/pypy-arm64-buildbot/lib_pypy/_ctypes/primitive.py:253: TypeError
=========================== short test summary info ============================
FAIL module/posix/test/apptest_posix.py::test_all_pathconf_defined
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_darwin_constants
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_get_terminal_size
============== 3 failed, 146 passed, 15 skipped in 63.99 seconds ===============
++ 04:23:18 starting module/signal/test [157 started in total]
__ module/pypyjit/test [155 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 37.27 seconds =====================
++ 04:23:22 starting module/struct/test [158 started in total]
__ module/struct/test [156 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 35.20 seconds ==========================
++ 04:24:00 starting module/sys/test [159 started in total]
__ module/select/test [157 done in total, somefailed=True] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 .FFF.F
module/select/test/test_select.py ............F...............
module/select/test/test_select_signal.py .
module/select/test/test_ztranslation.py .
=================================== FAILURES ===================================
_______________________ AppTestKqueue.test_create_event ________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001491d1670>
def test_create_event(self):
import select
import sys
from operator import lt, le, gt, ge
fd = sys.stderr.fileno()
ev = select.kevent(fd)
other = select.kevent(1000)
assert ev.ident == fd
assert ev.filter == select.KQ_FILTER_READ
assert ev.flags == select.KQ_EV_ADD
assert ev.fflags == 0
assert ev.data == 0
assert ev.udata == 0
assert ev == ev
assert ev != other
assert ev < other
assert other >= ev
> assert cmp(ev, None) != 0
E (application-level) NameError: name 'cmp' is not defined
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/select/test/test_kqueue.py:24]:19: NameError
________________________ AppTestKqueue.test_queue_event ________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001491d1670>
def test_queue_event(self):
import errno
import select
> import socket
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/select/test/test_kqueue.py:90]:4:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Wrapper module for _socket, providing some additional facilities
# implemented in Python.
"""\
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
IntEnum constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Integer constants:
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
"""
import _socket
from _socket import *
import os, sys, io, selectors
from enum import IntEnum, IntFlag
try:
import errno
except ImportError:
errno = None
EBADF = getattr(errno, 'EBADF', 9)
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
__all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
"has_dualstack_ipv6", "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
# nicer string representations.
# Note that _socket only knows about the integer values. The public interface
# in this module understands the enums and translates them back from integers
# where needed (e.g. .family property of a socket object).
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
IntEnum._convert_(
'SocketKind',
__name__,
lambda C: C.isupper() and C.startswith('SOCK_'))
IntFlag._convert_(
'MsgFlag',
__name__,
lambda C: C.isupper() and C.startswith('MSG_'))
IntFlag._convert_(
'AddressInfo',
__name__,
lambda C: C.isupper() and C.startswith('AI_'))
_LOCALHOST = '127.0.0.1'
_LOCALHOST_V6 = '::1'
def _intenum_converter(value, enum_klass):
"""Convert a numeric family value to an IntEnum member.
If it's not a known member, return the numeric value itself.
"""
try:
return enum_klass(value)
except ValueError:
return value
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
errorTab[6] = "Specified event object handle is invalid."
errorTab[8] = "Insufficient memory available."
errorTab[87] = "One or more parameters are invalid."
errorTab[995] = "Overlapped operation aborted."
errorTab[996] = "Overlapped I/O event object not in signaled state."
errorTab[997] = "Overlapped operation will complete later."
errorTab[10004] = "The operation was interrupted."
errorTab[10009] = "A bad file handle was passed."
errorTab[10013] = "Permission denied."
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."
errorTab[10039] = "Destination address required."
errorTab[10040] = "Message too long."
errorTab[10041] = "Protocol wrong type for socket."
errorTab[10042] = "Bad protocol option."
errorTab[10043] = "Protocol not supported."
errorTab[10044] = "Socket type not supported."
errorTab[10045] = "Operation not supported."
errorTab[10046] = "Protocol family not supported."
errorTab[10047] = "Address family not supported by protocol family."
errorTab[10048] = "The network address is in use."
errorTab[10049] = "Cannot assign requested address."
errorTab[10050] = "Network is down."
errorTab[10051] = "Network is unreachable."
errorTab[10052] = "Network dropped connection on reset."
errorTab[10053] = "Software caused connection abort."
errorTab[10054] = "The connection has been reset."
errorTab[10055] = "No buffer space available."
errorTab[10056] = "Socket is already connected."
errorTab[10057] = "Socket is not connected."
errorTab[10058] = "The network has been shut down."
errorTab[10059] = "Too many references."
errorTab[10060] = "The operation timed out."
errorTab[10061] = "Connection refused."
errorTab[10062] = "Cannot translate name."
errorTab[10063] = "The name is too long."
errorTab[10064] = "The host is down."
errorTab[10065] = "The host is unreachable."
errorTab[10066] = "Directory not empty."
errorTab[10067] = "Too many processes."
errorTab[10068] = "User quota exceeded."
errorTab[10069] = "Disk quota exceeded."
errorTab[10070] = "Stale file handle reference."
errorTab[10071] = "Item is remote."
errorTab[10091] = "Network subsystem is unavailable."
errorTab[10092] = "Winsock.dll version out of range."
errorTab[10093] = "Successful WSAStartup not yet performed."
errorTab[10101] = "Graceful shutdown in progress."
errorTab[10102] = "No more results from WSALookupServiceNext."
errorTab[10103] = "Call has been canceled."
errorTab[10104] = "Procedure call table is invalid."
errorTab[10105] = "Service provider is invalid."
errorTab[10106] = "Service provider failed to initialize."
errorTab[10107] = "System call failure."
errorTab[10108] = "Service not found."
errorTab[10109] = "Class type not found."
errorTab[10110] = "No more results from WSALookupServiceNext."
errorTab[10111] = "Call was canceled."
errorTab[10112] = "Database query was refused."
errorTab[11001] = "Host not found."
errorTab[11002] = "Nonauthoritative host not found."
errorTab[11003] = "This is a nonrecoverable error."
errorTab[11004] = "Valid name, no data record requested type."
errorTab[11005] = "QoS receivers."
errorTab[11006] = "QoS senders."
errorTab[11007] = "No QoS senders."
errorTab[11008] = "QoS no receivers."
errorTab[11009] = "QoS request confirmed."
errorTab[11010] = "QoS admission error."
errorTab[11011] = "QoS policy failure."
errorTab[11012] = "QoS bad style."
errorTab[11013] = "QoS bad object."
errorTab[11014] = "QoS traffic control error."
errorTab[11015] = "QoS generic error."
errorTab[11016] = "QoS service type error."
errorTab[11017] = "QoS flowspec error."
errorTab[11018] = "Invalid QoS provider buffer."
errorTab[11019] = "Invalid QoS filter style."
errorTab[11020] = "Invalid QoS filter style."
errorTab[11021] = "Incorrect QoS filter count."
errorTab[11022] = "Invalid QoS object length."
errorTab[11023] = "Incorrect QoS flow count."
errorTab[11024] = "Unrecognized QoS object."
errorTab[11025] = "Invalid QoS policy object."
errorTab[11026] = "Invalid QoS flow descriptor."
errorTab[11027] = "Invalid QoS provider-specific flowspec."
errorTab[11028] = "Invalid QoS provider-specific filterspec."
errorTab[11029] = "Invalid QoS shape discard mode object."
errorTab[11030] = "Invalid QoS shaping rate object."
errorTab[11031] = "Reserved policy QoS element type."
__all__.append("errorTab")
class _GiveupOnSendfile(Exception): pass
class socket(_socket.socket):
"""A subclass of _socket.socket adding the makefile() method."""
__slots__ = ["__weakref__", "_io_refs", "_closed"]
def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
# For user code address family and type values are IntEnum members, but
# for the underlying _socket.socket they're just integers. The
# constructor of _socket.socket converts the given argument to an
# integer automatically.
if fileno is None:
if family == -1:
family = AF_INET
if type == -1:
type = SOCK_STREAM
if proto == -1:
proto = 0
_socket.socket.__init__(self, family, type, proto, fileno)
self._io_refs = 0
self._closed = False
def __enter__(self):
return self
def __exit__(self, *args):
if not self._closed:
self.close()
def __repr__(self):
"""Wrap __repr__() to reveal the real class name and socket
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__qualname__,
" [closed]" if closed else "",
self.fileno(),
self.family,
self.type,
self.proto)
if not closed:
# getsockname and getpeername may not be available on WASI.
try:
laddr = self.getsockname()
if laddr:
s += ", laddr=%s" % str(laddr)
except (error, AttributeError):
pass
try:
raddr = self.getpeername()
if raddr:
s += ", raddr=%s" % str(raddr)
except (error, AttributeError):
pass
s += '>'
return s
def __getstate__(self):
raise TypeError(f"cannot pickle {self.__class__.__name__!r} object")
def dup(self):
"""dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
"""
fd = dup(self.fileno())
sock = self.__class__(self.family, self.type, self.proto, fileno=fd)
sock.settimeout(self.gettimeout())
return sock
def accept(self):
"""accept() -> (socket object, address info)
Wait for an incoming connection. Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
"""
fd, addr = self._accept()
sock = socket(self.family, self.type, self.proto, fileno=fd)
# Issue #7995: if no default timeout is set and the listening
# socket had a (non-zero) timeout, force the new socket in blocking
# mode to override platform-specific socket flags inheritance.
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True)
return sock, addr
def makefile(self, mode="r", buffering=None, *,
encoding=None, errors=None, newline=None):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w' and 'b'.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}:
raise ValueError("invalid mode %r (only r, w, b allowed)" % (mode,))
writing = "w" in mode
reading = "r" in mode or not writing
assert reading or writing
binary = "b" in mode
rawmode = ""
if reading:
rawmode += "r"
if writing:
rawmode += "w"
raw = SocketIO(self, rawmode)
self._io_refs += 1
if buffering is None:
buffering = -1
if buffering < 0:
buffering = io.DEFAULT_BUFFER_SIZE
if buffering == 0:
if not binary:
raise ValueError("unbuffered streams must be binary")
return raw
if reading and writing:
buffer = io.BufferedRWPair(raw, raw, buffering)
elif reading:
buffer = io.BufferedReader(raw, buffering)
else:
assert writing
buffer = io.BufferedWriter(raw, buffering)
if binary:
return buffer
encoding = io.text_encoding(encoding)
text = io.TextIOWrapper(buffer, encoding, errors, newline)
text.mode = mode
return text
if hasattr(os, 'sendfile'):
def _sendfile_use_sendfile(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
sockno = self.fileno()
try:
fileno = file.fileno()
except (AttributeError, io.UnsupportedOperation) as err:
raise _GiveupOnSendfile(err) # not a regular file
try:
fsize = os.fstat(fileno).st_size
except OSError as err:
raise _GiveupOnSendfile(err) # not a regular file
if not fsize:
return 0 # empty file
# Truncate to 1GiB to avoid OverflowError, see bpo-38319.
blocksize = min(count or fsize, 2 ** 30)
timeout = self.gettimeout()
if timeout == 0:
raise ValueError("non-blocking sockets are not supported")
# poll/select have the advantage of not requiring any
# extra file descriptor, contrarily to epoll/kqueue
# (also, they require a single syscall).
if hasattr(selectors, 'PollSelector'):
selector = selectors.PollSelector()
else:
selector = selectors.SelectSelector()
selector.register(sockno, selectors.EVENT_WRITE)
total_sent = 0
# localize variable access to minimize overhead
selector_select = selector.select
os_sendfile = os.sendfile
try:
while True:
if timeout and not selector_select(timeout):
raise TimeoutError('timed out')
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
try:
sent = os_sendfile(sockno, fileno, offset, blocksize)
except BlockingIOError:
if not timeout:
# Block until the socket is ready to send some
# data; avoids hogging CPU resources.
selector_select()
continue
except OSError as err:
if total_sent == 0:
# We can get here for different reasons, the main
# one being 'file' is not a regular mmap(2)-like
# file, in which case we'll fall back on using
# plain send().
raise _GiveupOnSendfile(err)
raise err from None
else:
if sent == 0:
break # EOF
offset += sent
total_sent += sent
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset)
else:
def _sendfile_use_sendfile(self, file, offset=0, count=None):
raise _GiveupOnSendfile(
"os.sendfile() not available on this platform")
def _sendfile_use_send(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
if self.gettimeout() == 0:
raise ValueError("non-blocking sockets are not supported")
if offset:
file.seek(offset)
blocksize = min(count, 8192) if count else 8192
total_sent = 0
# localize variable access to minimize overhead
file_read = file.read
sock_send = self.send
try:
while True:
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
data = memoryview(file_read(blocksize))
if not data:
break # EOF
while True:
try:
sent = sock_send(data)
except BlockingIOError:
continue
else:
total_sent += sent
if sent < len(data):
data = data[sent:]
else:
break
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset + total_sent)
def _check_sendfile_params(self, file, offset, count):
if 'b' not in getattr(file, 'mode', 'b'):
raise ValueError("file should be opened in binary mode")
if not self.type & SOCK_STREAM:
raise ValueError("only SOCK_STREAM type sockets are supported")
if count is not None:
if not isinstance(count, int):
raise TypeError(
"count must be a positive integer (got {!r})".format(count))
if count <= 0:
raise ValueError(
"count must be a positive integer (got {!r})".format(count))
def sendfile(self, file, offset=0, count=None):
"""sendfile(file[, offset[, count]]) -> sent
Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
"""
try:
return self._sendfile_use_sendfile(file, offset, count)
except _GiveupOnSendfile:
return self._sendfile_use_send(file, offset, count)
def _decref_socketios(self):
if self._io_refs > 0:
self._io_refs -= 1
if self._closed:
self.close()
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
_ss.close(self)
def close(self):
# This function should not reference any globals. See issue #808164.
self._closed = True
if self._io_refs <= 0:
self._real_close()
def detach(self):
"""detach() -> file descriptor
Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes. The file descriptor is returned.
"""
self._closed = True
return super().detach()
@property
def family(self):
"""Read-only access to the address family for this socket.
"""
return _intenum_converter(super().family, AddressFamily)
@property
def type(self):
"""Read-only access to the socket type.
"""
return _intenum_converter(super().type, SocketKind)
if os.name == 'nt':
def get_inheritable(self):
return os.get_handle_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_handle_inheritable(self.fileno(), inheritable)
else:
def get_inheritable(self):
return os.get_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_inheritable(self.fileno(), inheritable)
get_inheritable.__doc__ = "Get the inheritable flag of the socket"
set_inheritable.__doc__ = "Set the inheritable flag of the socket"
def fromfd(fd, family, type, proto=0):
""" fromfd(fd, family, type[, proto]) -> socket object
Create a socket object from a duplicate of the given file
descriptor. The remaining arguments are the same as for socket().
"""
nfd = dup(fd)
return socket(family, type, proto, nfd)
if hasattr(_socket.socket, "sendmsg"):
> import array
E (application-level) ModuleNotFoundError: No module named 'array'
../lib-python/3/socket.py:550: ModuleNotFoundError
___________________________ AppTestKqueue.test_pair ____________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001491d1670>
def test_pair(self):
import select
> import socket
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/select/test/test_kqueue.py:175]:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Wrapper module for _socket, providing some additional facilities
# implemented in Python.
"""\
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
IntEnum constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Integer constants:
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
"""
import _socket
from _socket import *
import os, sys, io, selectors
from enum import IntEnum, IntFlag
try:
import errno
except ImportError:
errno = None
EBADF = getattr(errno, 'EBADF', 9)
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
__all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
"has_dualstack_ipv6", "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
# nicer string representations.
# Note that _socket only knows about the integer values. The public interface
# in this module understands the enums and translates them back from integers
# where needed (e.g. .family property of a socket object).
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
IntEnum._convert_(
'SocketKind',
__name__,
lambda C: C.isupper() and C.startswith('SOCK_'))
IntFlag._convert_(
'MsgFlag',
__name__,
lambda C: C.isupper() and C.startswith('MSG_'))
IntFlag._convert_(
'AddressInfo',
__name__,
lambda C: C.isupper() and C.startswith('AI_'))
_LOCALHOST = '127.0.0.1'
_LOCALHOST_V6 = '::1'
def _intenum_converter(value, enum_klass):
"""Convert a numeric family value to an IntEnum member.
If it's not a known member, return the numeric value itself.
"""
try:
return enum_klass(value)
except ValueError:
return value
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
errorTab[6] = "Specified event object handle is invalid."
errorTab[8] = "Insufficient memory available."
errorTab[87] = "One or more parameters are invalid."
errorTab[995] = "Overlapped operation aborted."
errorTab[996] = "Overlapped I/O event object not in signaled state."
errorTab[997] = "Overlapped operation will complete later."
errorTab[10004] = "The operation was interrupted."
errorTab[10009] = "A bad file handle was passed."
errorTab[10013] = "Permission denied."
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."
errorTab[10039] = "Destination address required."
errorTab[10040] = "Message too long."
errorTab[10041] = "Protocol wrong type for socket."
errorTab[10042] = "Bad protocol option."
errorTab[10043] = "Protocol not supported."
errorTab[10044] = "Socket type not supported."
errorTab[10045] = "Operation not supported."
errorTab[10046] = "Protocol family not supported."
errorTab[10047] = "Address family not supported by protocol family."
errorTab[10048] = "The network address is in use."
errorTab[10049] = "Cannot assign requested address."
errorTab[10050] = "Network is down."
errorTab[10051] = "Network is unreachable."
errorTab[10052] = "Network dropped connection on reset."
errorTab[10053] = "Software caused connection abort."
errorTab[10054] = "The connection has been reset."
errorTab[10055] = "No buffer space available."
errorTab[10056] = "Socket is already connected."
errorTab[10057] = "Socket is not connected."
errorTab[10058] = "The network has been shut down."
errorTab[10059] = "Too many references."
errorTab[10060] = "The operation timed out."
errorTab[10061] = "Connection refused."
errorTab[10062] = "Cannot translate name."
errorTab[10063] = "The name is too long."
errorTab[10064] = "The host is down."
errorTab[10065] = "The host is unreachable."
errorTab[10066] = "Directory not empty."
errorTab[10067] = "Too many processes."
errorTab[10068] = "User quota exceeded."
errorTab[10069] = "Disk quota exceeded."
errorTab[10070] = "Stale file handle reference."
errorTab[10071] = "Item is remote."
errorTab[10091] = "Network subsystem is unavailable."
errorTab[10092] = "Winsock.dll version out of range."
errorTab[10093] = "Successful WSAStartup not yet performed."
errorTab[10101] = "Graceful shutdown in progress."
errorTab[10102] = "No more results from WSALookupServiceNext."
errorTab[10103] = "Call has been canceled."
errorTab[10104] = "Procedure call table is invalid."
errorTab[10105] = "Service provider is invalid."
errorTab[10106] = "Service provider failed to initialize."
errorTab[10107] = "System call failure."
errorTab[10108] = "Service not found."
errorTab[10109] = "Class type not found."
errorTab[10110] = "No more results from WSALookupServiceNext."
errorTab[10111] = "Call was canceled."
errorTab[10112] = "Database query was refused."
errorTab[11001] = "Host not found."
errorTab[11002] = "Nonauthoritative host not found."
errorTab[11003] = "This is a nonrecoverable error."
errorTab[11004] = "Valid name, no data record requested type."
errorTab[11005] = "QoS receivers."
errorTab[11006] = "QoS senders."
errorTab[11007] = "No QoS senders."
errorTab[11008] = "QoS no receivers."
errorTab[11009] = "QoS request confirmed."
errorTab[11010] = "QoS admission error."
errorTab[11011] = "QoS policy failure."
errorTab[11012] = "QoS bad style."
errorTab[11013] = "QoS bad object."
errorTab[11014] = "QoS traffic control error."
errorTab[11015] = "QoS generic error."
errorTab[11016] = "QoS service type error."
errorTab[11017] = "QoS flowspec error."
errorTab[11018] = "Invalid QoS provider buffer."
errorTab[11019] = "Invalid QoS filter style."
errorTab[11020] = "Invalid QoS filter style."
errorTab[11021] = "Incorrect QoS filter count."
errorTab[11022] = "Invalid QoS object length."
errorTab[11023] = "Incorrect QoS flow count."
errorTab[11024] = "Unrecognized QoS object."
errorTab[11025] = "Invalid QoS policy object."
errorTab[11026] = "Invalid QoS flow descriptor."
errorTab[11027] = "Invalid QoS provider-specific flowspec."
errorTab[11028] = "Invalid QoS provider-specific filterspec."
errorTab[11029] = "Invalid QoS shape discard mode object."
errorTab[11030] = "Invalid QoS shaping rate object."
errorTab[11031] = "Reserved policy QoS element type."
__all__.append("errorTab")
class _GiveupOnSendfile(Exception): pass
class socket(_socket.socket):
"""A subclass of _socket.socket adding the makefile() method."""
__slots__ = ["__weakref__", "_io_refs", "_closed"]
def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
# For user code address family and type values are IntEnum members, but
# for the underlying _socket.socket they're just integers. The
# constructor of _socket.socket converts the given argument to an
# integer automatically.
if fileno is None:
if family == -1:
family = AF_INET
if type == -1:
type = SOCK_STREAM
if proto == -1:
proto = 0
_socket.socket.__init__(self, family, type, proto, fileno)
self._io_refs = 0
self._closed = False
def __enter__(self):
return self
def __exit__(self, *args):
if not self._closed:
self.close()
def __repr__(self):
"""Wrap __repr__() to reveal the real class name and socket
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__qualname__,
" [closed]" if closed else "",
self.fileno(),
self.family,
self.type,
self.proto)
if not closed:
# getsockname and getpeername may not be available on WASI.
try:
laddr = self.getsockname()
if laddr:
s += ", laddr=%s" % str(laddr)
except (error, AttributeError):
pass
try:
raddr = self.getpeername()
if raddr:
s += ", raddr=%s" % str(raddr)
except (error, AttributeError):
pass
s += '>'
return s
def __getstate__(self):
raise TypeError(f"cannot pickle {self.__class__.__name__!r} object")
def dup(self):
"""dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
"""
fd = dup(self.fileno())
sock = self.__class__(self.family, self.type, self.proto, fileno=fd)
sock.settimeout(self.gettimeout())
return sock
def accept(self):
"""accept() -> (socket object, address info)
Wait for an incoming connection. Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
"""
fd, addr = self._accept()
sock = socket(self.family, self.type, self.proto, fileno=fd)
# Issue #7995: if no default timeout is set and the listening
# socket had a (non-zero) timeout, force the new socket in blocking
# mode to override platform-specific socket flags inheritance.
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True)
return sock, addr
def makefile(self, mode="r", buffering=None, *,
encoding=None, errors=None, newline=None):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w' and 'b'.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}:
raise ValueError("invalid mode %r (only r, w, b allowed)" % (mode,))
writing = "w" in mode
reading = "r" in mode or not writing
assert reading or writing
binary = "b" in mode
rawmode = ""
if reading:
rawmode += "r"
if writing:
rawmode += "w"
raw = SocketIO(self, rawmode)
self._io_refs += 1
if buffering is None:
buffering = -1
if buffering < 0:
buffering = io.DEFAULT_BUFFER_SIZE
if buffering == 0:
if not binary:
raise ValueError("unbuffered streams must be binary")
return raw
if reading and writing:
buffer = io.BufferedRWPair(raw, raw, buffering)
elif reading:
buffer = io.BufferedReader(raw, buffering)
else:
assert writing
buffer = io.BufferedWriter(raw, buffering)
if binary:
return buffer
encoding = io.text_encoding(encoding)
text = io.TextIOWrapper(buffer, encoding, errors, newline)
text.mode = mode
return text
if hasattr(os, 'sendfile'):
def _sendfile_use_sendfile(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
sockno = self.fileno()
try:
fileno = file.fileno()
except (AttributeError, io.UnsupportedOperation) as err:
raise _GiveupOnSendfile(err) # not a regular file
try:
fsize = os.fstat(fileno).st_size
except OSError as err:
raise _GiveupOnSendfile(err) # not a regular file
if not fsize:
return 0 # empty file
# Truncate to 1GiB to avoid OverflowError, see bpo-38319.
blocksize = min(count or fsize, 2 ** 30)
timeout = self.gettimeout()
if timeout == 0:
raise ValueError("non-blocking sockets are not supported")
# poll/select have the advantage of not requiring any
# extra file descriptor, contrarily to epoll/kqueue
# (also, they require a single syscall).
if hasattr(selectors, 'PollSelector'):
selector = selectors.PollSelector()
else:
selector = selectors.SelectSelector()
selector.register(sockno, selectors.EVENT_WRITE)
total_sent = 0
# localize variable access to minimize overhead
selector_select = selector.select
os_sendfile = os.sendfile
try:
while True:
if timeout and not selector_select(timeout):
raise TimeoutError('timed out')
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
try:
sent = os_sendfile(sockno, fileno, offset, blocksize)
except BlockingIOError:
if not timeout:
# Block until the socket is ready to send some
# data; avoids hogging CPU resources.
selector_select()
continue
except OSError as err:
if total_sent == 0:
# We can get here for different reasons, the main
# one being 'file' is not a regular mmap(2)-like
# file, in which case we'll fall back on using
# plain send().
raise _GiveupOnSendfile(err)
raise err from None
else:
if sent == 0:
break # EOF
offset += sent
total_sent += sent
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset)
else:
def _sendfile_use_sendfile(self, file, offset=0, count=None):
raise _GiveupOnSendfile(
"os.sendfile() not available on this platform")
def _sendfile_use_send(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
if self.gettimeout() == 0:
raise ValueError("non-blocking sockets are not supported")
if offset:
file.seek(offset)
blocksize = min(count, 8192) if count else 8192
total_sent = 0
# localize variable access to minimize overhead
file_read = file.read
sock_send = self.send
try:
while True:
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
data = memoryview(file_read(blocksize))
if not data:
break # EOF
while True:
try:
sent = sock_send(data)
except BlockingIOError:
continue
else:
total_sent += sent
if sent < len(data):
data = data[sent:]
else:
break
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset + total_sent)
def _check_sendfile_params(self, file, offset, count):
if 'b' not in getattr(file, 'mode', 'b'):
raise ValueError("file should be opened in binary mode")
if not self.type & SOCK_STREAM:
raise ValueError("only SOCK_STREAM type sockets are supported")
if count is not None:
if not isinstance(count, int):
raise TypeError(
"count must be a positive integer (got {!r})".format(count))
if count <= 0:
raise ValueError(
"count must be a positive integer (got {!r})".format(count))
def sendfile(self, file, offset=0, count=None):
"""sendfile(file[, offset[, count]]) -> sent
Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
"""
try:
return self._sendfile_use_sendfile(file, offset, count)
except _GiveupOnSendfile:
return self._sendfile_use_send(file, offset, count)
def _decref_socketios(self):
if self._io_refs > 0:
self._io_refs -= 1
if self._closed:
self.close()
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
_ss.close(self)
def close(self):
# This function should not reference any globals. See issue #808164.
self._closed = True
if self._io_refs <= 0:
self._real_close()
def detach(self):
"""detach() -> file descriptor
Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes. The file descriptor is returned.
"""
self._closed = True
return super().detach()
@property
def family(self):
"""Read-only access to the address family for this socket.
"""
return _intenum_converter(super().family, AddressFamily)
@property
def type(self):
"""Read-only access to the socket type.
"""
return _intenum_converter(super().type, SocketKind)
if os.name == 'nt':
def get_inheritable(self):
return os.get_handle_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_handle_inheritable(self.fileno(), inheritable)
else:
def get_inheritable(self):
return os.get_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_inheritable(self.fileno(), inheritable)
get_inheritable.__doc__ = "Get the inheritable flag of the socket"
set_inheritable.__doc__ = "Set the inheritable flag of the socket"
def fromfd(fd, family, type, proto=0):
""" fromfd(fd, family, type[, proto]) -> socket object
Create a socket object from a duplicate of the given file
descriptor. The remaining arguments are the same as for socket().
"""
nfd = dup(fd)
return socket(family, type, proto, nfd)
if hasattr(_socket.socket, "sendmsg"):
> import array
E (application-level) ModuleNotFoundError: No module named 'array'
../lib-python/3/socket.py:550: ModuleNotFoundError
________________________ AppTestKqueue.test_issue30058 _________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001491d1670>
def test_issue30058(self):
import select
> import socket
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/select/test/test_kqueue.py:202]:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Wrapper module for _socket, providing some additional facilities
# implemented in Python.
"""\
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
IntEnum constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Integer constants:
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
"""
import _socket
from _socket import *
import os, sys, io, selectors
from enum import IntEnum, IntFlag
try:
import errno
except ImportError:
errno = None
EBADF = getattr(errno, 'EBADF', 9)
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
__all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
"has_dualstack_ipv6", "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
# nicer string representations.
# Note that _socket only knows about the integer values. The public interface
# in this module understands the enums and translates them back from integers
# where needed (e.g. .family property of a socket object).
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
IntEnum._convert_(
'SocketKind',
__name__,
lambda C: C.isupper() and C.startswith('SOCK_'))
IntFlag._convert_(
'MsgFlag',
__name__,
lambda C: C.isupper() and C.startswith('MSG_'))
IntFlag._convert_(
'AddressInfo',
__name__,
lambda C: C.isupper() and C.startswith('AI_'))
_LOCALHOST = '127.0.0.1'
_LOCALHOST_V6 = '::1'
def _intenum_converter(value, enum_klass):
"""Convert a numeric family value to an IntEnum member.
If it's not a known member, return the numeric value itself.
"""
try:
return enum_klass(value)
except ValueError:
return value
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
errorTab[6] = "Specified event object handle is invalid."
errorTab[8] = "Insufficient memory available."
errorTab[87] = "One or more parameters are invalid."
errorTab[995] = "Overlapped operation aborted."
errorTab[996] = "Overlapped I/O event object not in signaled state."
errorTab[997] = "Overlapped operation will complete later."
errorTab[10004] = "The operation was interrupted."
errorTab[10009] = "A bad file handle was passed."
errorTab[10013] = "Permission denied."
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."
errorTab[10039] = "Destination address required."
errorTab[10040] = "Message too long."
errorTab[10041] = "Protocol wrong type for socket."
errorTab[10042] = "Bad protocol option."
errorTab[10043] = "Protocol not supported."
errorTab[10044] = "Socket type not supported."
errorTab[10045] = "Operation not supported."
errorTab[10046] = "Protocol family not supported."
errorTab[10047] = "Address family not supported by protocol family."
errorTab[10048] = "The network address is in use."
errorTab[10049] = "Cannot assign requested address."
errorTab[10050] = "Network is down."
errorTab[10051] = "Network is unreachable."
errorTab[10052] = "Network dropped connection on reset."
errorTab[10053] = "Software caused connection abort."
errorTab[10054] = "The connection has been reset."
errorTab[10055] = "No buffer space available."
errorTab[10056] = "Socket is already connected."
errorTab[10057] = "Socket is not connected."
errorTab[10058] = "The network has been shut down."
errorTab[10059] = "Too many references."
errorTab[10060] = "The operation timed out."
errorTab[10061] = "Connection refused."
errorTab[10062] = "Cannot translate name."
errorTab[10063] = "The name is too long."
errorTab[10064] = "The host is down."
errorTab[10065] = "The host is unreachable."
errorTab[10066] = "Directory not empty."
errorTab[10067] = "Too many processes."
errorTab[10068] = "User quota exceeded."
errorTab[10069] = "Disk quota exceeded."
errorTab[10070] = "Stale file handle reference."
errorTab[10071] = "Item is remote."
errorTab[10091] = "Network subsystem is unavailable."
errorTab[10092] = "Winsock.dll version out of range."
errorTab[10093] = "Successful WSAStartup not yet performed."
errorTab[10101] = "Graceful shutdown in progress."
errorTab[10102] = "No more results from WSALookupServiceNext."
errorTab[10103] = "Call has been canceled."
errorTab[10104] = "Procedure call table is invalid."
errorTab[10105] = "Service provider is invalid."
errorTab[10106] = "Service provider failed to initialize."
errorTab[10107] = "System call failure."
errorTab[10108] = "Service not found."
errorTab[10109] = "Class type not found."
errorTab[10110] = "No more results from WSALookupServiceNext."
errorTab[10111] = "Call was canceled."
errorTab[10112] = "Database query was refused."
errorTab[11001] = "Host not found."
errorTab[11002] = "Nonauthoritative host not found."
errorTab[11003] = "This is a nonrecoverable error."
errorTab[11004] = "Valid name, no data record requested type."
errorTab[11005] = "QoS receivers."
errorTab[11006] = "QoS senders."
errorTab[11007] = "No QoS senders."
errorTab[11008] = "QoS no receivers."
errorTab[11009] = "QoS request confirmed."
errorTab[11010] = "QoS admission error."
errorTab[11011] = "QoS policy failure."
errorTab[11012] = "QoS bad style."
errorTab[11013] = "QoS bad object."
errorTab[11014] = "QoS traffic control error."
errorTab[11015] = "QoS generic error."
errorTab[11016] = "QoS service type error."
errorTab[11017] = "QoS flowspec error."
errorTab[11018] = "Invalid QoS provider buffer."
errorTab[11019] = "Invalid QoS filter style."
errorTab[11020] = "Invalid QoS filter style."
errorTab[11021] = "Incorrect QoS filter count."
errorTab[11022] = "Invalid QoS object length."
errorTab[11023] = "Incorrect QoS flow count."
errorTab[11024] = "Unrecognized QoS object."
errorTab[11025] = "Invalid QoS policy object."
errorTab[11026] = "Invalid QoS flow descriptor."
errorTab[11027] = "Invalid QoS provider-specific flowspec."
errorTab[11028] = "Invalid QoS provider-specific filterspec."
errorTab[11029] = "Invalid QoS shape discard mode object."
errorTab[11030] = "Invalid QoS shaping rate object."
errorTab[11031] = "Reserved policy QoS element type."
__all__.append("errorTab")
class _GiveupOnSendfile(Exception): pass
class socket(_socket.socket):
"""A subclass of _socket.socket adding the makefile() method."""
__slots__ = ["__weakref__", "_io_refs", "_closed"]
def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
# For user code address family and type values are IntEnum members, but
# for the underlying _socket.socket they're just integers. The
# constructor of _socket.socket converts the given argument to an
# integer automatically.
if fileno is None:
if family == -1:
family = AF_INET
if type == -1:
type = SOCK_STREAM
if proto == -1:
proto = 0
_socket.socket.__init__(self, family, type, proto, fileno)
self._io_refs = 0
self._closed = False
def __enter__(self):
return self
def __exit__(self, *args):
if not self._closed:
self.close()
def __repr__(self):
"""Wrap __repr__() to reveal the real class name and socket
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__qualname__,
" [closed]" if closed else "",
self.fileno(),
self.family,
self.type,
self.proto)
if not closed:
# getsockname and getpeername may not be available on WASI.
try:
laddr = self.getsockname()
if laddr:
s += ", laddr=%s" % str(laddr)
except (error, AttributeError):
pass
try:
raddr = self.getpeername()
if raddr:
s += ", raddr=%s" % str(raddr)
except (error, AttributeError):
pass
s += '>'
return s
def __getstate__(self):
raise TypeError(f"cannot pickle {self.__class__.__name__!r} object")
def dup(self):
"""dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
"""
fd = dup(self.fileno())
sock = self.__class__(self.family, self.type, self.proto, fileno=fd)
sock.settimeout(self.gettimeout())
return sock
def accept(self):
"""accept() -> (socket object, address info)
Wait for an incoming connection. Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
"""
fd, addr = self._accept()
sock = socket(self.family, self.type, self.proto, fileno=fd)
# Issue #7995: if no default timeout is set and the listening
# socket had a (non-zero) timeout, force the new socket in blocking
# mode to override platform-specific socket flags inheritance.
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True)
return sock, addr
def makefile(self, mode="r", buffering=None, *,
encoding=None, errors=None, newline=None):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w' and 'b'.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}:
raise ValueError("invalid mode %r (only r, w, b allowed)" % (mode,))
writing = "w" in mode
reading = "r" in mode or not writing
assert reading or writing
binary = "b" in mode
rawmode = ""
if reading:
rawmode += "r"
if writing:
rawmode += "w"
raw = SocketIO(self, rawmode)
self._io_refs += 1
if buffering is None:
buffering = -1
if buffering < 0:
buffering = io.DEFAULT_BUFFER_SIZE
if buffering == 0:
if not binary:
raise ValueError("unbuffered streams must be binary")
return raw
if reading and writing:
buffer = io.BufferedRWPair(raw, raw, buffering)
elif reading:
buffer = io.BufferedReader(raw, buffering)
else:
assert writing
buffer = io.BufferedWriter(raw, buffering)
if binary:
return buffer
encoding = io.text_encoding(encoding)
text = io.TextIOWrapper(buffer, encoding, errors, newline)
text.mode = mode
return text
if hasattr(os, 'sendfile'):
def _sendfile_use_sendfile(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
sockno = self.fileno()
try:
fileno = file.fileno()
except (AttributeError, io.UnsupportedOperation) as err:
raise _GiveupOnSendfile(err) # not a regular file
try:
fsize = os.fstat(fileno).st_size
except OSError as err:
raise _GiveupOnSendfile(err) # not a regular file
if not fsize:
return 0 # empty file
# Truncate to 1GiB to avoid OverflowError, see bpo-38319.
blocksize = min(count or fsize, 2 ** 30)
timeout = self.gettimeout()
if timeout == 0:
raise ValueError("non-blocking sockets are not supported")
# poll/select have the advantage of not requiring any
# extra file descriptor, contrarily to epoll/kqueue
# (also, they require a single syscall).
if hasattr(selectors, 'PollSelector'):
selector = selectors.PollSelector()
else:
selector = selectors.SelectSelector()
selector.register(sockno, selectors.EVENT_WRITE)
total_sent = 0
# localize variable access to minimize overhead
selector_select = selector.select
os_sendfile = os.sendfile
try:
while True:
if timeout and not selector_select(timeout):
raise TimeoutError('timed out')
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
try:
sent = os_sendfile(sockno, fileno, offset, blocksize)
except BlockingIOError:
if not timeout:
# Block until the socket is ready to send some
# data; avoids hogging CPU resources.
selector_select()
continue
except OSError as err:
if total_sent == 0:
# We can get here for different reasons, the main
# one being 'file' is not a regular mmap(2)-like
# file, in which case we'll fall back on using
# plain send().
raise _GiveupOnSendfile(err)
raise err from None
else:
if sent == 0:
break # EOF
offset += sent
total_sent += sent
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset)
else:
def _sendfile_use_sendfile(self, file, offset=0, count=None):
raise _GiveupOnSendfile(
"os.sendfile() not available on this platform")
def _sendfile_use_send(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
if self.gettimeout() == 0:
raise ValueError("non-blocking sockets are not supported")
if offset:
file.seek(offset)
blocksize = min(count, 8192) if count else 8192
total_sent = 0
# localize variable access to minimize overhead
file_read = file.read
sock_send = self.send
try:
while True:
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
data = memoryview(file_read(blocksize))
if not data:
break # EOF
while True:
try:
sent = sock_send(data)
except BlockingIOError:
continue
else:
total_sent += sent
if sent < len(data):
data = data[sent:]
else:
break
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset + total_sent)
def _check_sendfile_params(self, file, offset, count):
if 'b' not in getattr(file, 'mode', 'b'):
raise ValueError("file should be opened in binary mode")
if not self.type & SOCK_STREAM:
raise ValueError("only SOCK_STREAM type sockets are supported")
if count is not None:
if not isinstance(count, int):
raise TypeError(
"count must be a positive integer (got {!r})".format(count))
if count <= 0:
raise ValueError(
"count must be a positive integer (got {!r})".format(count))
def sendfile(self, file, offset=0, count=None):
"""sendfile(file[, offset[, count]]) -> sent
Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
"""
try:
return self._sendfile_use_sendfile(file, offset, count)
except _GiveupOnSendfile:
return self._sendfile_use_send(file, offset, count)
def _decref_socketios(self):
if self._io_refs > 0:
self._io_refs -= 1
if self._closed:
self.close()
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
_ss.close(self)
def close(self):
# This function should not reference any globals. See issue #808164.
self._closed = True
if self._io_refs <= 0:
self._real_close()
def detach(self):
"""detach() -> file descriptor
Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes. The file descriptor is returned.
"""
self._closed = True
return super().detach()
@property
def family(self):
"""Read-only access to the address family for this socket.
"""
return _intenum_converter(super().family, AddressFamily)
@property
def type(self):
"""Read-only access to the socket type.
"""
return _intenum_converter(super().type, SocketKind)
if os.name == 'nt':
def get_inheritable(self):
return os.get_handle_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_handle_inheritable(self.fileno(), inheritable)
else:
def get_inheritable(self):
return os.get_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_inheritable(self.fileno(), inheritable)
get_inheritable.__doc__ = "Get the inheritable flag of the socket"
set_inheritable.__doc__ = "Set the inheritable flag of the socket"
def fromfd(fd, family, type, proto=0):
""" fromfd(fd, family, type[, proto]) -> socket object
Create a socket object from a duplicate of the given file
descriptor. The remaining arguments are the same as for socket().
"""
nfd = dup(fd)
return socket(family, type, proto, nfd)
if hasattr(_socket.socket, "sendmsg"):
> import array
E (application-level) ModuleNotFoundError: No module named 'array'
../lib-python/3/socket.py:550: ModuleNotFoundError
_______________________ AppTestSelectWithPipes.test_poll _______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001493e8c28>
def test_poll(self):
import select
if not hasattr(select, 'poll'):
skip("no select.poll() on this platform")
readend, writeend = self.getpair()
try:
class A(object):
def fileno(self):
return readend.fileno()
poll = select.poll()
poll.register(A())
res = poll.poll(10) # timeout in ms
assert res == []
res = poll.poll(1.1) # check floats
assert res == []
writeend.send(b"foo!")
# can't easily test actual blocking, is done in lib-python tests
res = poll.poll()
> assert res == [(readend.fileno(), 1)]
E (application-level) AssertionError
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/select/test/test_select.py:274]:21: AssertionError
=========================== short test summary info ============================
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_create_event
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_queue_event
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_pair
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_issue30058
FAIL module/select/test/test_select.py::AppTestSelectWithPipes::()::test_poll
=============== 5 failed, 31 passed, 10 skipped in 66.00 seconds ===============
++ 04:24:10 starting module/termios/test [160 started in total]
__ module/signal/test [158 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
module/signal/test/apptest_signal.py .
module/signal/test/test_signal.py ..........................
========================== 27 passed in 57.31 seconds ==========================
++ 04:24:16 starting module/test_lib_pypy [161 started in total]
__ module/sys/test [159 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 97 items
module/sys/test/apptest_audit.py .........
module/sys/test/apptest_initpath.py .
module/sys/test/apptest_sys.py .
module/sys/test/test_encoding.py ..
module/sys/test/test_initpath.py ..........
module/sys/test/test_sysmodule.py ..........................................s...............s........
module/sys/test/test_version.py .......
==================== 95 passed, 2 skipped in 34.18 seconds =====================
++ 04:24:38 starting module/thread/test [162 started in total]
__ module/test_lib_pypy [160 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 52.31 seconds ====================
++ 04:25:15 starting module/time/test [163 started in total]
__ module/termios/test [161 done in total, somefailed=True] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/termios/test/test_termios.py F..FFFFF..
=================================== FAILURES ===================================
_____________________________ TestTermios.test_one _____________________________
self = <test_termios.TestTermios object at 0x0000000121b79718>
def test_one(self):
child = self.spawn(['--withmod-termios'])
child.expect("Python ")
child.expect('>>> ')
child.sendline('import termios')
child.expect('>>> ')
child.sendline('termios.tcgetattr(0)')
# output of the first time is ignored: it contains the compilation
# of more C stuff relating to errno
child.expect('>>> ')
child.sendline('print("attr=", termios.tcgetattr(0))')
> child.expect('attr= (\[.*?\[.*?\]\])')
module/termios/test/test_termios.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x000000014acfe9f8>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x0000000121b781e0>
E command: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios']
E buffer (last 100 chars): ''
E before (last 100 chars): '1@o\x1b[1@s\x1b[1@.\x1b[1@t\x1b[1@c\x1b[1@g\x1b[1@e\x1b[1@t\x1b[1@a\x1b[1@t\x1b[1@t\x1b[1@r\x1b[1@(\x1b[1@0\x1b[1@)\x1b[1@)\x1b[41D\n\r\x1b[?2004l\x1b[?1l\x1b>'
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 51347
E child_fd: 15
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x000000016045cd40>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('attr= (\\[.*?\\[.*?\\]\\])')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', ['/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios']) {}
PyPy 7.3.24-alpha0 in StdObjSpace on top of Python 2.7.18 (startuptime: 7.03 secs)
[?2004h[?1h=[?25l[1A
>>>> [?12l[?25himport termios
[1@i[1@m[1@p[1@o[1@r[1@t[1@ [1@t[1@e[1@r[1@m[1@i[1@o[1@s[19D
[?2004l[?1l>[?2004h[?1h=[?25l[1A
>>>> [?12l[?25htermios.tcgetattr(0)
[1@t[1@e[1@r[1@m[1@i[1@o[1@s[1@.[1@t[1@c[1@g[1@e[1@t[1@a[1@t[1@t[1@r[1@([1@0[1@)[25D
[?2004l[?1l>[11010, 0, 3, 0, 0, 64, [b'K', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\xcb', b'\x05', b'\x00', b' ', b'\x00', b'\x00', b'\x00', b'\x00', b'\x04', 255, 255, b'\x7f', b'\x17']]
[?2004h[?1h=[?25l[1A
>>>> [?12l[?25hprint("attr=", termios.tcgetattr(0))
[1@p[1@r[1@i[1@n[1@t[1@([1@"[1@a[1@t[1@t[1@r[1@=[1@"[1@,[1@ [1@t[1@e[1@r[1@m[1@i[1@o[1@s[1@.[1@t[1@c[1@g[1@e[1@t[1@a[1@t[1@t[1@r[1@([1@0[1@)[1@)[41D
[?2004l[?1l>
________________________ TestTermios.test_ioctl_termios ________________________
self = <test_termios.TestTermios object at 0x00000001416fb8a0>
def test_ioctl_termios(self):
source = py.code.Source(r"""
import termios
import fcntl
lgt = len(fcntl.ioctl(2, termios.TIOCGWINSZ, b'\000'*8))
assert lgt == 8
print('ok!')
""")
f = udir.join("test_ioctl_termios.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:99:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x00000001416fb980>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x00000001416fb408>
E command: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_ioctl_termios.py']
E buffer (last 100 chars): ''
E before (last 100 chars): "types_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0\r\n"
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 52851
E child_fd: 18
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x000000016045cd40>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', ['/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_ioctl_termios.py']) {}
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py", line 218, in <module>
sys.exit(main_(sys.argv))
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py", line 189, in main_
verbose=interactiveconfig.verbose):
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 108, in run_toplevel
f()
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py", line 173, in doit
main.run_file(filename, space=space)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 74, in run_file
run_string(istring, filename, space)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 62, in run_string
_run_eval_string(source, filename, space, False)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 50, in _run_eval_string
retval = pycode.exec_code(space, w_globals, w_globals)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/eval.py", line 33, in exec_code
return frame.run()
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 256, in run
return self.execute_frame()
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 353, in execute_frame
raise self._convert_unexpected_exception(e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 844, in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 349, in execute_frame
executioncontext)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyopcode.py", line 68, in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyopcode.py", line 74, in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyopcode.py", line 313, in dispatch_bytecode
self.CALL_METHOD(oparg, next_instr)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/objspace/std/callmethod.py", line 93, in CALL_METHOD
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/baseobjspace.py", line 1264, in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/function.py", line 203, in funccall_valuestack
return self.call_args(args)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/function.py", line 81, in call_args
w_res = self.getcode().funcrun(self, args)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 869, in funcrun
return BuiltinCode.funcrun_obj(self, func, None, args)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 884, in funcrun_obj
self.handle_exception(space, e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 908, in handle_exception
raise error.get_converted_unexpected_exception(space, e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 878, in funcrun_obj
w_result = activation._run(space, scope_w)
File "<2344-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>", line 3, in _run
return self.behavior(space, scope_w[0], scope_w[1], scope_w[2], space.gateway_int_w(scope_w[3]))
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/fcntl/interp_fcntl.py", line 299, in ioctl
rv = ioctl_str(fd, op, buf.raw)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py", line 321, in wrapper
res = call_external_function(*real_args)
File "<2169-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>", line 13, in call_external_function
res = funcptr(a0, a1, a2)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/lltype.py", line 1384, in __call__
return callb(*args)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1342, in __call__
return self.trampoline(*argvalues)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1370, in invoke_via_ctypes
cvalue = cfunc.extraargs[i - natural_arity](cvalue)
File "/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py", line 73, in __init__
self.contents = value
File "/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/_ctypes/pointer.py", line 106, in setcontents
self._type_.__name__, type(value).__name__))
TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
___________________________ TestTermios.test_icanon ____________________________
self = <test_termios.TestTermios object at 0x000000014aa8bef8>
def test_icanon(self):
source = py.code.Source("""
import termios
import fcntl
f = termios.tcgetattr(2)
f[3] |= termios.ICANON
termios.tcsetattr(2, termios.TCSANOW, f)
f = termios.tcgetattr(2)
assert len([i for i in f[-1] if isinstance(i, int)]) == 0
assert isinstance(f[-1][termios.VMIN], bytes)
assert isinstance(f[-1][termios.VTIME], bytes)
print('ok!')
""")
f = udir.join("test_icanon.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x000000014aa8be50>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x000000014aa8ba60>
E command: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_icanon.py']
E buffer (last 100 chars): ''
E before (last 100 chars): ' 4381816968\r\npython(53264,0x1f372a2c0) malloc: *** set a breakpoint in malloc_error_break to debug\r\n'
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 53264
E child_fd: 19
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x000000016045cd40>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', ['/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_icanon.py']) {}
python(53264,0x1f372a2c0) malloc: Heap corruption detected, free list is damaged at 0x6000000ab250
*** Incorrect guard value: 4381816968
python(53264,0x1f372a2c0) malloc: *** set a breakpoint in malloc_error_break to debug
__________________________ TestTermios.test_no_icanon __________________________
self = <test_termios.TestTermios object at 0x0000000121dbd018>
def test_no_icanon(self):
source = py.code.Source("""
import termios
import fcntl
f = termios.tcgetattr(2)
f[3] &= ~termios.ICANON
termios.tcsetattr(2, termios.TCSANOW, f)
f = termios.tcgetattr(2)
assert len([i for i in f[-1] if isinstance(i, int)]) == 2
assert isinstance(f[-1][termios.VMIN], int)
assert isinstance(f[-1][termios.VTIME], int)
print('ok!')
""")
f = udir.join("test_no_icanon.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x0000000121dbcf70>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x0000000121dbcbb8>
E command: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_no_icanon.py']
E buffer (last 100 chars): ''
E before (last 100 chars): ' 4365570336\r\npython(53564,0x1f372a2c0) malloc: *** set a breakpoint in malloc_error_break to debug\r\n'
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 53564
E child_fd: 20
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x000000016045cd40>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', ['/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_no_icanon.py']) {}
python(53564,0x1f372a2c0) malloc: Heap corruption detected, free list is damaged at 0x600000b785d0
*** Incorrect guard value: 4365570336
python(53564,0x1f372a2c0) malloc: *** set a breakpoint in malloc_error_break to debug
___________________________ TestTermios.test_winsize ___________________________
self = <test_termios.TestTermios object at 0x000000014b4d4560>
def test_winsize(self):
source = py.code.Source("""
import termios
termios.tcsetwinsize(2, (50, 200))
size = termios.tcgetwinsize(2)
assert size == (50, 200)
print('ok!')
""")
f = udir.join("test_ioctl_termios.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:148:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x000000014b4d44b8>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x000000014b4d4100>
E command: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', '/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_ioctl_termios.py']
E buffer (last 100 chars): ''
E before (last 100 chars): "erand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'\r\n"
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 53875
E child_fd: 21
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x000000016045cd40>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python', ['/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-arm64/usession-py3.11-474/test_ioctl_termios.py']) {}
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py", line 218, in <module>
sys.exit(main_(sys.argv))
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py", line 189, in main_
verbose=interactiveconfig.verbose):
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 108, in run_toplevel
f()
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/bin/pyinteractive.py", line 173, in doit
main.run_file(filename, space=space)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 74, in run_file
run_string(istring, filename, space)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 62, in run_string
_run_eval_string(source, filename, space, False)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/main.py", line 50, in _run_eval_string
retval = pycode.exec_code(space, w_globals, w_globals)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/eval.py", line 33, in exec_code
return frame.run()
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 256, in run
return self.execute_frame()
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 353, in execute_frame
raise self._convert_unexpected_exception(e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 844, in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyframe.py", line 349, in execute_frame
executioncontext)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyopcode.py", line 68, in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyopcode.py", line 74, in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/pyopcode.py", line 313, in dispatch_bytecode
self.CALL_METHOD(oparg, next_instr)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/objspace/std/callmethod.py", line 93, in CALL_METHOD
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/baseobjspace.py", line 1264, in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/function.py", line 168, in funccall_valuestack
return code.fastcall_2(self.space, self, f_1, f_0)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 1006, in fastcall_2
self.handle_exception(space, e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 908, in handle_exception
raise error.get_converted_unexpected_exception(space, e)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/gateway.py", line 1001, in fastcall_2
w_result = self.fastfunc_2(space, w1, w2)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/termios/interp_termios.py", line 120, in tcsetwinsize
failed = rposix.c_ioctl_voidp(fd, rposix.TIOCGWINSZ, winsize)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py", line 321, in wrapper
res = call_external_function(*real_args)
File "<59-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/rffi.py:217>", line 13, in call_external_function
res = funcptr(a0, a1, a2)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/lltype.py", line 1384, in __call__
return callb(*args)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1342, in __call__
return self.trampoline(*argvalues)
File "/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1370, in invoke_via_ctypes
cvalue = cfunc.extraargs[i - natural_arity](cvalue)
File "/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/_ctypes/primitive.py", line 424, in __init__
self.value = value
File "/Users/matti/oss/pypy-arm64-buildbot/lib_pypy/_ctypes/primitive.py", line 253, in _setvalue
self._buffer[0] = value
TypeError: unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'
__________________________ AppTestTermios.test_values __________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000141299cc8>
def test_values(self):
import termios
d = {}
for name in dir(termios):
val = getattr(termios, name)
if name.isupper() and type(val) is int:
d[name] = val
> assert sorted(d.items()) == sorted(self.orig_module_dict.items())
E (application-level) AssertionError
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/termios/test/test_termios.py:162]:8: AssertionError
=========================== short test summary info ============================
FAIL module/termios/test/test_termios.py::TestTermios::()::test_one
FAIL module/termios/test/test_termios.py::TestTermios::()::test_ioctl_termios
FAIL module/termios/test/test_termios.py::TestTermios::()::test_icanon
FAIL module/termios/test/test_termios.py::TestTermios::()::test_no_icanon
FAIL module/termios/test/test_termios.py::TestTermios::()::test_winsize
FAIL module/termios/test/test_termios.py::AppTestTermios::()::test_values
===================== 6 failed, 4 passed in 106.55 seconds =====================
++ 04:25:59 starting module/token/test [164 started in total]
__ module/token/test [162 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/token/test/apptest_token.py ........
=========================== 8 passed in 7.33 seconds ===========================
++ 04:26:08 starting module/unicodedata/test [165 started in total]
__ module/time/test [163 done in total, somefailed=True] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
module/time/test/apptest_time.py ........................F................
module/time/test/test_timeutils.py .
module/time/test/test_ztranslation.py .
=================================== FAILURES ===================================
____________________________ test_strftime_nonascii ____________________________
@pytest.mark.skipif(sys.platform=="win32", reason='fails on win32')
def test_strftime_nonascii():
import time
import _locale
prev_loc = _locale.setlocale(_locale.LC_TIME)
try:
_locale.setlocale(_locale.LC_TIME, "fr_CH")
except _locale.Error:
skip("unsupported locale LC_TIME=fr_CH")
try:
s = time.strftime('%B.', time.localtime(192039127))
# I am unsure, but I think that this fails because decoding of
# the result isn't done in the fr_CH locale. There is no code
# to grab the LC_TIME locale specifically, which is the one
# used by strftime().
> assert s == "f\xe9vrier."
E (application-level) AssertionError: assert 'février.' == 'février.'
module/time/test/apptest_time.py:522: AssertionError
=========================== short test summary info ============================
FAIL module/time/test/apptest_time.py::test_strftime_nonascii
===================== 1 failed, 42 passed in 54.00 seconds =====================
++ 04:26:14 starting module/zipimport/test [166 started in total]
__ module/zipimport/test [164 done in total, somefailed=False] ________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/zipimport/test/apptest_zipimport.py .
=========================== 1 passed in 7.49 seconds ===========================
++ 04:26:22 starting module/zlib/test [167 started in total]
__ module/unicodedata/test [165 done in total, somefailed=False] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 16.94 seconds ==========================
++ 04:26:28 starting objspace/fake/test [168 started in total]
__ module/zlib/test [166 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
module/zlib/test/test_zlib.py ......................................
========================== 38 passed in 18.40 seconds ==========================
++ 04:26:42 starting objspace/std/test [169 started in total]
__ objspace/fake/test [167 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 17.15 seconds ==========================
++ 04:26:48 starting objspace/test [170 started in total]
__ objspace/test [168 done in total, somefailed=False] ________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
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 15.45 seconds =====================
++ 04:27:06 starting sandbox/test [171 started in total]
__ sandbox/test [169 done in total, somefailed=False] _________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
sandbox/test/test_pypy_interact.py .
========================== 1 passed in 17.12 seconds ===========================
++ 04:27:26 starting tool/bench/test [172 started in total]
__ tool/bench/test [170 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items / 1 skipped
tool/bench/test/test_pypyresult.py ...
===================== 3 passed, 1 skipped in 0.50 seconds ======================
++ 04:27:27 starting tool/memusage/test [173 started in total]
__ tool/memusage/test [171 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
tool/memusage/test/test_log2gnumeric.py .....
=========================== 5 passed in 0.38 seconds ===========================
++ 04:27:28 starting tool/pytest/fake_pytest/test [174 started in total]
__ module/thread/test [172 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 56 items
module/thread/test/test_fork.py s...
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 .....................
module/thread/test/test_thread.py ...............
==================== 55 passed, 1 skipped in 168.56 seconds ====================
++ 04:27:32 starting tool/pytest/test [175 started in total]
__ tool/pytest/fake_pytest/test [173 done in total, somefailed=False] _________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
tool/pytest/fake_pytest/test/apptest_fake_pytest.py .
=========================== 1 passed in 7.55 seconds ===========================
++ 04:27:37 starting tool/release/test [176 started in total]
__ tool/release/test [174 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
tool/release/test/test_package.py ....s
tool/release/test/test_smartstrip.py FFs
=================================== FAILURES ===================================
________________________ TestSmarStrip.test_info_symbol ________________________
self = <pypy.tool.release.test.test_smartstrip.TestSmarStrip object at 0x0000000108f19210>
exe = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-134/test_info_symbol0/myprog')
def test_info_symbol(self, exe):
info = info_symbol(exe, "foo")
> assert info == "foo in section .text"
E assert '/bin/sh: gdb...and not found' == 'foo in section .text'
E - /bin/sh: gdb: command not found
E + foo in section .text
tool/release/test/test_smartstrip.py:32: AssertionError
___________________________ TestSmarStrip.test_strip ___________________________
self = <pypy.tool.release.test.test_smartstrip.TestSmarStrip object at 0x0000000152479c90>
exe = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-134/test_strip0/myprog')
def test_strip(self, exe):
smartstrip(exe, keep_debug=False)
info = info_symbol(exe, "foo")
> assert info.startswith("No symbol table is loaded")
E assert <bound method str.startswith of '/bin/sh: gdb: command not found'>('No symbol table is loaded')
E + where <bound method str.startswith of '/bin/sh: gdb: command not found'> = '/bin/sh: gdb: command not found'.startswith
tool/release/test/test_smartstrip.py:37: AssertionError
=========================== short test summary info ============================
FAIL tool/release/test/test_smartstrip.py::TestSmarStrip::()::test_info_symbol
FAIL tool/release/test/test_smartstrip.py::TestSmarStrip::()::test_strip
================ 2 failed, 4 passed, 2 skipped in 21.30 seconds ================
++ 04:28:01 starting tool/test [177 started in total]
__ tool/test [175 done in total, somefailed=False] ____________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
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 9.91 seconds ===========================
__ tool/pytest/test [176 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/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 109.10 seconds ====================
__ objspace/std/test [177 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-arm64/own-macos-arm64/build/pytest.pyc
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2507 items
objspace/std/test/apptest_boolobject.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 .............................................................................................................................................................
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 .......................................................................s..........................................
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 ...................................................F...........
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 .................................................................................................................................................................................................................................................
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 ...............
=================================== FAILURES ===================================
__________________ AppTestFloatFormatting.test_locale_german ___________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000030b3defe0>
def test_locale_german(self):
import locale, sys
for name in ['de_DE', 'de_DE.utf8']:
try:
locale.setlocale(locale.LC_NUMERIC, name)
break
except locale.Error:
pass
else:
skip("no german locale")
x = 1234.567890
try:
if sys.platform != "darwin":
assert locale.format('%g', x, grouping=True) == '1.234,57'
assert format(x, 'n') == '1.234,57'
assert format(12345678901234, 'n') == '12.345.678.901.234'
else:
# No thousands separator on German in MacOS since 10.4
> assert locale.format('%g', x, grouping=True) == '1234,57'
E (application-level) AssertionError
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/objspace/std/test/test_newformat.py:410]:19: AssertionError
=========================== short test summary info ============================
FAIL objspace/std/test/test_newformat.py::AppTestFloatFormatting::()::test_locale_german
============= 1 failed, 2475 passed, 31 skipped in 210.74 seconds ==============
program finished with exit code 1
elapsedTime=3593.809714