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.15 50492 22
SSH_CONNECTION=10.0.0.15 50492 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/_ast/test
-- module/_cffi_backend/test
-- module/_codecs/test
-- module/_continuation/test
-- module/_cppyy/test
-- module/_csv/test
-- module/_demo/test
-- module/_file/test
-- 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/_pypyjson/test
-- module/_random/test
-- module/_rawffi/alt/test
-- module/_rawffi/test
-- module/_sha/test
-- module/_socket/test
-- module/_sre/test
-- module/_vmprof/test
-- module/_warnings/test
-- module/_weakref/test
-- module/_winreg/test
-- module/array/test
-- module/binascii/test
-- module/bz2/test
-- module/cStringIO/test
-- module/cmath/test
-- module/cpyext/test/test_abstract.py
-- module/cpyext/test/test_api.py
-- module/cpyext/test/test_arraymodule.py
-- module/cpyext/test/test_boolobject.py
-- module/cpyext/test/test_borrow.py
-- module/cpyext/test/test_bufferobject.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_cpyext.py
-- module/cpyext/test/test_datetime.py
-- module/cpyext/test/test_dictobject.py
-- module/cpyext/test/test_eval.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_intobject.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_ndarrayobject.py
-- module/cpyext/test/test_number.py
-- module/cpyext/test/test_object.py
-- module/cpyext/test/test_pycobject.py
-- module/cpyext/test/test_pyerrors.py
-- module/cpyext/test/test_pyfile.py
-- module/cpyext/test/test_pysignals.py
-- module/cpyext/test/test_pystate.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/parser/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/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/test
-- tool/release/test
-- tool/test
-- total: 133 to run
++ 01:00:15 starting config/test [1 started in total]
++ 01:00:15 starting interpreter/astcompiler/test [2 started in total]
++ 01:00:15 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 157 items / 1 skipped
config/test/test_pypyoption.py .............................................................................................................................................................
==================== 157 passed, 1 skipped in 10.86 seconds ====================
++ 01:00:27 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.py
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 119 items
interpreter/pyparser/test/test_automata.py ...
interpreter/pyparser/test/test_future.py .....................................
interpreter/pyparser/test/test_gendfa.py .
interpreter/pyparser/test/test_metaparser.py ...............
interpreter/pyparser/test/test_parser.py .............
interpreter/pyparser/test/test_parsestring.py .........
interpreter/pyparser/test/test_pyparse.py ....................................
interpreter/pyparser/test/test_pytokenizer.py .....
========================= 119 passed in 22.18 seconds ==========================
++ 01:00:39 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.py
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 447 items
interpreter/astcompiler/test/apptest_misc.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 .......................
========================= 447 passed in 30.76 seconds ==========================
++ 01:00:48 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 305 items
module/__builtin__/test/apptest_compile.py ........
module/__builtin__/test/test_abstractinst.py ............
module/__builtin__/test/test_apply.py ...
module/__builtin__/test/test_builtin.py ..............................................s.....................
module/__builtin__/test/test_classobj.py ...........................................................
module/__builtin__/test/test_descriptor.py ..........................
module/__builtin__/test/test_filter.py ...........
module/__builtin__/test/test_functional.py .................................................
module/__builtin__/test/test_minmax.py ..........................
module/__builtin__/test/test_range.py ........................
module/__builtin__/test/test_rawinput.py ...
module/__builtin__/test/test_reduce.py ....
module/__builtin__/test/test_vars.py ...
module/__builtin__/test/test_zip.py .........
==================== 304 passed, 1 skipped in 15.28 seconds ====================
++ 01:00:56 starting module/_ast/test [7 started in total]
__ module/__pypy__/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 68 items
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
module/__pypy__/test/test_special.py ............s
module/__pypy__/test/test_time.py ...
==================== 65 passed, 3 skipped in 14.26 seconds =====================
++ 01:01:05 starting module/_cffi_backend/test [8 started in total]
__ module/_ast/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 36 items
module/_ast/test/test_ast.py ....................................
========================== 36 passed in 8.54 seconds ===========================
++ 01:01:06 starting module/_codecs/test [9 started in total]
__ module/_codecs/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 65 items
module/_codecs/test/test_codecs.py ................................................................
module/_codecs/test/test_ztranslation.py .
========================== 65 passed in 16.34 seconds ==========================
++ 01:01:24 starting module/_continuation/test [10 started in total]
__ module/_continuation/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 120 items
module/_continuation/test/test_generator.py ssss
module/_continuation/test/test_greenlet.py s.ssssss.sssssssssssssss.sss
module/_continuation/test/test_stacklet.py sssssssssssssss.sssssssssssssssssssssssE
module/_continuation/test/test_translated.py sssssssssssssssssssssssssssss
module/_continuation/test/test_zpickle.py ssssssssssssssssssss
==================================== 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 0x00000001395fe638>, 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...s, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
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 0x000000013008a138>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000118b18860>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...s, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
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 0x0000000118b18860>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...s, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': <AppTestMethod 'test_vmprof'>}
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': <AppTestMethod 'test_vmprof'>, '__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 0x000000013960d100>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...est_vmprof'>, '__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 0x00000001395c9fa0>
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 0x00000001395c9fa0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...est_vmprof'>, '__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': <AppTestMethod 'test_vmprof'>, '__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 = <AppTestMethod 'test_vmprof'>
def pytest_runtest_teardown(item, nextitem):
> item.session._setupstate.teardown_exact(item, nextitem)
../_pytest/runner.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000118ce2db0>
item = <AppTestMethod 'test_sampling_inside_callback'>
nextitem = <AppTestMethod 'test_vmprof'>
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 0x0000000118ce2db0>
needed_collectors = [<Session 'build'>, <PyPyModule 'pypy/module/_continuation/test/test_translated.py'>, <AppClassCollector 'AppTestWrapper'>, <AppClassInstance '()'>, <AppTestMethod 'test_vmprof'>]
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 0x0000000118ce2db0>
def _pop_and_teardown(self):
colitem = self.stack.pop()
> self._teardown_with_finalization(colitem)
../_pytest/runner.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000118ce2db0>
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 0x0000000118ce2db0>
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 0x0000000118ce2db0>
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 0x00000001395fcb10>
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, 116 skipped, 1 error in 11.44 seconds ================
++ 01:01:36 starting module/_cppyy/test [11 started in total]
__ module/_cffi_backend/test [9 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 466 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 ....................
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 0x000000012965c288>
def test_call_function_9(self):
import _all_test_c
> _all_test_c.test_call_function_9()
[/tmp/buildbot-arm64/usession-main-5274/test_c/_test_c.py:224]:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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: assert -66666666 == 42
E + where -66666666 = <cdata 'int(*)(int, ...)' 0x10088bd38>(1, <cdata 'int' 42>)
E + where <cdata 'int' 42> = cast(<ctype 'int'>, 42)
/tmp/buildbot-arm64/usession-main-5274/test_c/_all_test_c.py:1195: AssertionError
=========================== short test summary info ============================
FAIL module/_cffi_backend/test/test_c.py::AppTestC::()::test_call_function_9
============== 1 failed, 328 passed, 137 skipped in 55.24 seconds ==============
++ 01:02:04 starting module/_csv/test [12 started in total]
__ module/_csv/test [10 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/_csv/test/test_dialect.py .........
module/_csv/test/test_reader.py .........
module/_csv/test/test_writer.py ....
module/_csv/test/test_ztranslation.py .
========================== 23 passed in 7.81 seconds ===========================
++ 01:02:12 starting module/_demo/test [13 started in total]
__ module/_demo/test [11 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 4.17 seconds ===========================
++ 01:02:18 starting module/_file/test [14 started in total]
__ interpreter/test [12 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.py
rootdir: /Users/matti/build-worker-arm64/own-macos-arm64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 772 items
interpreter/test/apptest_class.py ...............
interpreter/test/apptest_exec.py ............................
interpreter/test/apptest_function.py ........................s..............................
interpreter/test/apptest_generator.py ..................................
interpreter/test/apptest_nestedscope.py .............
interpreter/test/apptest_pyframe.py .............................
interpreter/test/apptest_raise.py .....................
interpreter/test/test_app_main.py ....ssssssssssssssssssssssssss.sssssss.............F...F..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_descrtypecheck.py ..
interpreter/test/test_error.py ..........
interpreter/test/test_exceptcomp.py ...........
interpreter/test/test_exec.py .
interpreter/test/test_executioncontext.py ................
interpreter/test/test_extmodules.py .
interpreter/test/test_function.py ..........
interpreter/test/test_gateway.py ........................................ss............
interpreter/test/test_generator.py .
interpreter/test/test_interpreter.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 .....F
interpreter/test/test_zzpickle_and_slow.py ...............s...................
=================================== FAILURES ===================================
_______ TestNonInteractive.test_putenv_fires_interactive_within_process ________
self = <pypy.interpreter.test.test_app_main.TestNonInteractive instance at 0x00000001291abea0>
@py.test.mark.skipif('sys.platform=="win32"', reason="windows, sendata, and quoting problems")
def test_putenv_fires_interactive_within_process(self):
try:
import __pypy__
except ImportError:
py.test.skip("This can be only tested on PyPy with real_getenv")
# should be noninteractive when piped in
data = 'import os\nos.putenv("PYTHONINSPECT", "1")\n'
self.run('', senddata=data, expect_prompt=False)
# should go interactive with -c
data = data.replace('\n', ';')
> self.run("-c '%s'" % data, expect_prompt=True)
interpreter/test/test_app_main.py:796:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
interpreter/test/test_app_main.py:680: in run
data, status = self.run_with_status_code(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.test.test_app_main.TestNonInteractive instance at 0x00000001291abea0>
cmdline = '/Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -c \'import os;os.putenv("PYTHONINSPECT", "1");\''
senddata = '', expect_prompt = True, expect_banner = False, python_flags = ''
env = None
def run_with_status_code(self, cmdline, senddata='', expect_prompt=False,
expect_banner=False, python_flags='', env=None):
if os.name == 'nt':
if __pypy__ is None:
py.test.skip('app_main cannot run on non-pypy for windows')
cmdline = '%s %s "%s" %s %s' % (sys.executable, python_flags,
app_main, python_flags, cmdline)
print 'POPEN:', cmdline
process = subprocess.Popen(
cmdline,
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
shell=True, env=env,
universal_newlines=True
)
child_in, child_out_err = process.stdin, process.stdout
child_in.write(senddata)
child_in.close()
data = child_out_err.read()
child_out_err.close()
process.wait()
assert (banner in data) == expect_banner # no banner unless expected
> assert ('>>> ' in data) == expect_prompt # no prompt unless expected
E assert '>>> ' in '' == True
interpreter/test/test_app_main.py:676: AssertionError
----------------------------- Captured stdout call -----------------------------
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py"
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -c 'import os;os.putenv("PYTHONINSPECT", "1");'
___________________ TestNonInteractive.test_proper_sys_path ____________________
self = <pypy.interpreter.test.test_app_main.TestNonInteractive instance at 0x0000000139bef620>
tmpdir = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-750/test_proper_sys_path0')
def test_proper_sys_path(self, tmpdir):
data = self.run('-c "import _ctypes"', python_flags='-S')
if data.startswith('Traceback'):
py.test.skip("'python -S' cannot import extension modules: "
"see probably http://bugs.python.org/issue586680")
@contextmanager
def chdir_and_unset_pythonpath(new_cwd):
old_cwd = new_cwd.chdir()
old_pythonpath = os.getenv('PYTHONPATH')
os.unsetenv('PYTHONPATH')
try:
yield
finally:
old_cwd.chdir()
# Can't call putenv with a None argument.
if old_pythonpath is not None:
os.putenv('PYTHONPATH', old_pythonpath)
# if we are running in a virtualenv, messing with site.py will
# make runpy.py and pkgutil unavailable. They are needed to run
# app_main. Copy them into the tmpdir
runpy_dir = os.path.dirname(runpy.__file__)
import pkgutil
pkgutil_dir = os.path.dirname(pkgutil.__file__)
shutil.copy(os.path.join(runpy_dir, 'runpy.py'), str(tmpdir))
shutil.copy(os.path.join(pkgutil_dir, 'pkgutil.py'), str(tmpdir))
tmpdir.join('site.py').write('print "SHOULD NOT RUN"')
runme_py = tmpdir.join('runme.py')
runme_py.write('print "some text"')
cmdline = str(runme_py)
with chdir_and_unset_pythonpath(tmpdir):
data = self.run(cmdline, python_flags='-S')
> assert data == "some text\n"
E assert 'debug: Opera...d encodings\n' == 'some text\n'
E + some text
E - debug: OperationError:
E - debug: operror-type: ImportError
E - debug: operror-value: No module named encodings
interpreter/test/test_app_main.py:887: AssertionError
----------------------------- Captured stdout call -----------------------------
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python -S "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -S -c "import _ctypes"
POPEN: /Users/matti/build-worker-arm64/own-macos-arm64/build/virt_test/bin/python -S "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/interpreter/app_main.py" -S /private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-750/test_proper_sys_path0/runme.py
_________________________________ test_pytrace _________________________________
def test_pytrace():
output = run(sys.executable, pypypath, '-S',
stdin="__pytrace__ = 1\nx = 5\nx")
assert ('\t<module>: LOAD_CONST 0 (5)\n'
'\t<module>: STORE_NAME 0 (x)\n'
'\t<module>: LOAD_CONST 1 (None)\n'
'\t<module>: RETURN_VALUE 0 \n'
> '>>>> ') in output
E assert '\t<module>: LOAD_CONST 0 (5)\n\t<module>: STORE_NAME 0 (x)\n\t<module>: LOAD_CONST 1 (None)\n\t<module>: RETURN_VALUE 0 \n>>>> ' in '>>>> Tracing enabled\n>>>> >>>> 5\n>>>> '
interpreter/test/test_zpy.py:114: AssertionError
----------------------------- Captured stderr call -----------------------------
PyPy 7.3.24-alpha0 in StdObjSpace on top of Python 2.7.18 (startuptime: 3.52 secs)
=========================== short test summary info ============================
FAIL interpreter/test/test_app_main.py::TestNonInteractive::()::test_putenv_fires_interactive_within_process
FAIL interpreter/test/test_app_main.py::TestNonInteractive::()::test_proper_sys_path
FAIL interpreter/test/test_zpy.py::test_pytrace
============== 3 failed, 731 passed, 38 skipped in 141.21 seconds ==============
++ 01:02:52 starting module/_io/test [15 started in total]
__ module/_file/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 269 items
module/_file/test/test_file.py .....................s...sss......
module/_file/test/test_file_extra.py ..................................................................................................................................................................ss..............ss..............ss..............ss.....................
module/_file/test/test_large_file.py .s
=================== 256 passed, 13 skipped in 32.46 seconds ====================
++ 01:02:56 starting module/_jitlog/test [16 started in total]
__ module/_cppyy/test [14 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 67.16 seconds ====================
++ 01:02:56 starting module/_locale/test [17 started in total]
__ module/_jitlog/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 1 items
module/_jitlog/test/test__jitlog.py .
=========================== 1 passed in 3.83 seconds ===========================
++ 01:03:00 starting module/_lsprof/test [18 started in total]
__ module/_locale/test [16 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/_locale/test/test_locale.py ssssssssssssss
========================== 14 skipped in 2.94 seconds ==========================
++ 01:03:01 starting module/_md5/test [19 started in total]
__ module/_lsprof/test [17 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 5.33 seconds ===========================
++ 01:03:07 starting module/_minimal_curses/test [20 started in total]
__ module/_md5/test [18 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/_md5/test/test_md5.py .s....
===================== 5 passed, 1 skipped in 6.60 seconds ======================
++ 01:03:09 starting module/_multibytecodec/test [21 started in total]
__ module/_minimal_curses/test [19 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 sss...
===================== 3 passed, 3 skipped in 16.75 seconds =====================
++ 01:03:24 starting module/_multiprocessing/test [22 started in total]
__ module/_multibytecodec/test [20 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 51 items
module/_multibytecodec/test/test_app_codecs.py ...............F
module/_multibytecodec/test/test_app_incremental.py ............
module/_multibytecodec/test/test_app_stream.py .....
module/_multibytecodec/test/test_c_codecs.py ................s
module/_multibytecodec/test/test_translation.py .
=================================== FAILURES ===================================
______________________ AppTestCodecs.test_streaming_codec ______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000128cc8170>
def test_streaming_codec(self):
test_0 = u'\uc5fc\u76d0\u5869\u9e7d\u477c\u4e3d/\u3012'
test_1 = u'\u4ee4\u477c\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b'
test_2 = u' foo = "Quoted string ****\u4ee4\u477c" '
ereplace = {'errors': 'replace'}
exml = {'errors': 'xmlcharrefreplace'}
for codec in ("iso-2022-jp", "iso-2022-jp-ext", "iso-2022-jp-1",
"iso-2022-jp-2", "iso-2022-jp-3", "iso-2022-jp-2004",
"iso-2022-kr",
):
out_1 = test_1.encode(codec, **ereplace).decode(codec, **ereplace)
> assert out_1.endswith(u'\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b')
E (application-level) AssertionError: assert <bound method unicode.endswith of u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'>(u'\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b')
E + where <bound method unicode.endswith of u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'> = u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'.endswith
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_multibytecodec/test/test_app_codecs.py:119]:14: AssertionError
=========================== short test summary info ============================
FAIL module/_multibytecodec/test/test_app_codecs.py::AppTestCodecs::()::test_streaming_codec
=============== 1 failed, 49 passed, 1 skipped in 19.51 seconds ================
++ 01:03:29 starting module/_pypyjson/test [23 started in total]
__ module/_io/test [21 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 200 items
module/_io/test/apptest_bytesio.py ............
module/_io/test/apptest_io.py ................................
module/_io/test/apptest_stringio.py .........................
module/_io/test/apptest_textio.py ...........................
module/_io/test/test_bufferedio.py ..............................................................................
module/_io/test/test_fileio.py ......................
module/_io/test/test_interp_textio.py ....
========================= 200 passed in 36.90 seconds ==========================
++ 01:03:30 starting module/_random/test [24 started in total]
__ module/_pypyjson/test [22 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 42 items / 1 skipped
module/_pypyjson/test/test__pypyjson.py ..........................................
===================== 42 passed, 1 skipped in 4.97 seconds =====================
++ 01:03:35 starting module/_rawffi/alt/test [25 started in total]
__ module/_random/test [23 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/_random/test/test_random.py .............
module/_random/test/test_ztranslation.py .
========================== 14 passed in 8.10 seconds ===========================
++ 01:03:41 starting module/_rawffi/test [26 started in total]
__ module/_rawffi/alt/test [24 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 6.67 seconds =====================
++ 01:03:43 starting module/_sha/test [27 started in total]
__ module/_sha/test [25 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/_sha/test/test_sha.py .s....
===================== 5 passed, 1 skipped in 7.03 seconds ======================
++ 01:03:52 starting module/_socket/test [28 started in total]
__ module/_multiprocessing/test [26 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 24 items
module/_multiprocessing/test/test_connection.py ..sss......
module/_multiprocessing/test/test_interp_semaphore.py s
module/_multiprocessing/test/test_memory.py ..
module/_multiprocessing/test/test_semaphore.py Fssssss
module/_multiprocessing/test/test_win32.py ss
module/_multiprocessing/test/test_ztranslation.py .
=================================== FAILURES ===================================
____________________ AppTestSemaphore.test_semaphore_basic _____________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001415869c0>
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)
assert sem.kind == kind
assert sem.maxvalue == maxvalue
assert isinstance(sem.handle, (int, long))
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: assert True == False
E + where True = <bound method SemLock._is_zero of <SemLock object at 0x000000014128c9c0>>()
E + where <bound method SemLock._is_zero of <SemLock object at 0x000000014128c9c0>> = <SemLock object at 0x000000014128c9c0>._is_zero
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_multiprocessing/test/test_semaphore.py:30]:21: AssertionError
=========================== short test summary info ============================
FAIL module/_multiprocessing/test/test_semaphore.py::AppTestSemaphore::()::test_semaphore_basic
=============== 1 failed, 11 passed, 12 skipped in 33.99 seconds ===============
++ 01:04:02 starting module/_sre/test [29 started in total]
__ module/_rawffi/test [27 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 83 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 .
==================== 80 passed, 3 skipped in 28.88 seconds =====================
n: 2
Arg 0: 3
Arg 1: 15
++ 01:04:13 starting module/_vmprof/test [30 started in total]
__ module/_sre/test [28 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 139 items
module/_sre/test/test_app_sre.py ...................................................................................................................
module/_sre/test/test_sre_buf.py ........................
========================= 139 passed in 15.76 seconds ==========================
++ 01:04:20 starting module/_warnings/test [31 started in total]
__ module/_vmprof/test [29 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 7.77 seconds ======================
++ 01:04:22 starting module/_weakref/test [32 started in total]
__ module/_warnings/test [30 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 12 items
module/_warnings/test/apptest_warnings.py ...........
module/_warnings/test/test_warnings.py .
========================== 12 passed in 6.92 seconds ===========================
++ 01:04:28 starting module/_winreg/test [33 started in total]
__ module/_winreg/test [31 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.08 seconds ===========================
++ 01:04:29 starting module/array/test [34 started in total]
__ module/_weakref/test [32 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 42 items
module/_weakref/test/test_weakref.py ....................s.....................
===================== 41 passed, 1 skipped in 6.05 seconds =====================
++ 01:04:29 starting module/binascii/test [35 started in total]
__ module/binascii/test [33 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/binascii/test/test_binascii.py ..............
========================== 14 passed in 4.59 seconds ===========================
++ 01:04:34 starting module/bz2/test [36 started in total]
__ module/_socket/test [34 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 60 items
module/_socket/test/test_sock_app.py ..................s........................s....ss.........
module/_socket/test/test_ztranslation.py .
==================== 56 passed, 4 skipped in 57.16 seconds =====================
++ 01:04:50 starting module/cStringIO/test [37 started in total]
__ module/bz2/test [35 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 52 items
module/bz2/test/test_bz2_compdecomp.py ..s...........s...
module/bz2/test/test_bz2_file.py ..E...............................
module/bz2/test/test_large.py s
==================================== ERRORS ====================================
______________ ERROR at teardown of AppTestBZ2File.test_creation _______________
self = <CallInfo when='teardown' exception: assert not {4395851264L: <C object GcStruct rpy_string { hash, chars } at 0x10603...pes' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/ll2ctypes.pyc'>.ALLOCATED>
func = <function <lambda> at 0x0000000152040638>, 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_creation'>, 'nextitem': <AppTes...0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
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 0x00000001508fa100>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001403aa060>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTes...0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
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 0x00000001403aa060>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTes...0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_creation'>, 'nextitem': <AppTestMethod 'test_close'>}
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_creation'>, 'nextitem': <AppTestMethod 'test_close'>, '__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 0x00000001209ac868>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_close'>, '__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 0x0000000120e28de0>
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 0x0000000120e28de0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_close'>, '__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_creation'>, 'nextitem': <AppTestMethod 'test_close'>, '__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_creation'>, nextitem = <AppTestMethod 'test_close'>
def pytest_runtest_teardown(item, nextitem):
> item.session._setupstate.teardown_exact(item, nextitem)
../_pytest/runner.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000120033670>
item = <AppTestMethod 'test_creation'>, nextitem = <AppTestMethod 'test_close'>
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 0x0000000120033670>
needed_collectors = [<Session 'build'>, <PyPyModule 'pypy/module/bz2/test/test_bz2_file.py'>, <AppClassCollector 'AppTestBZ2File'>, <AppClassInstance '()'>, <AppTestMethod 'test_close'>]
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 0x0000000120033670>
def _pop_and_teardown(self):
colitem = self.stack.pop()
> self._teardown_with_finalization(colitem)
../_pytest/runner.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000120033670>
colitem = <AppTestMethod 'test_creation'>
def _teardown_with_finalization(self, colitem):
> self._callfinalizers(colitem)
../_pytest/runner.py:371:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x0000000120033670>
colitem = <AppTestMethod 'test_creation'>
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 0x0000000120033670>
colitem = <AppTestMethod 'test_creation'>
def _callfinalizers(self, colitem):
finalizers = self._finalizers.pop(colitem, None)
exc = None
while finalizers:
fin = finalizers.pop()
try:
> fin()
../_pytest/runner.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> self.addfinalizer(lambda: fin(self.obj))
../_pytest/python.py:716:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.bz2.test.test_bz2_file.AppTestBZ2File instance at 0x0000000120e28320>
fun = <bound method AppTestBZ2File.test_creation of <pypy.module.bz2.test.test_bz2_file.AppTestBZ2File instance at 0x0000000120e28320>>
def teardown_method(self, fun):
from rpython.rtyper.lltypesystem import ll2ctypes
import gc
tries = 20
# remove the GC strings from ll2ctypes
for key, value in ll2ctypes.ALLOCATED.items():
if value._TYPE._gckind == 'gc':
del ll2ctypes.ALLOCATED[key]
#
while tries and ll2ctypes.ALLOCATED:
gc.collect() # to make sure we disallocate buffers
self.space.getexecutioncontext()._run_finalizers_now()
tries -= 1
> assert not ll2ctypes.ALLOCATED
E assert not {4395851264L: <C object GcStruct rpy_string { hash, chars } at 0x106035e00>, 4396008960L: <C object GcStruct rpy_string { hash, chars } at 0x10605c600>, 4396165120L: <C object GcStruct rpy_string { hash, chars } at 0x106082800>}
E + where {4395851264L: <C object GcStruct rpy_string { hash, chars } at 0x106035e00>, 4396008960L: <C object GcStruct rpy_string { hash, chars } at 0x10605c600>, 4396165120L: <C object GcStruct rpy_string { hash, chars } at 0x106082800>} = {4395851264L: <C object GcStruct rpy_string { hash, chars } at 0x106035e00>, 4396008960L: <C object GcStruct rpy_string { hash, chars } at 0x10605c600>, 4396165120L: <C object GcStruct rpy_string { hash, chars } at 0x106082800>}
E + where {4395851264L: <C object GcStruct rpy_string { hash, chars } at 0x106035e00>, 4396008960L: <C object GcStruct rpy_string { hash, chars } at 0x10605c600>, 4396165120L: <C object GcStruct rpy_string { hash, chars } at 0x106082800>} = <module 'rpython.rtyper.lltypesystem.ll2ctypes' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/rtyper/lltypesystem/ll2ctypes.pyc'>.ALLOCATED
module/bz2/test/support.py:15: AssertionError
================ 49 passed, 3 skipped, 1 error in 18.32 seconds ================
++ 01:04:55 starting module/cmath/test [38 started in total]
__ module/array/test [36 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 49 items
module/array/test/test_array.py ..............E......................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 0x600002c8be40>:
<C object Arra...cos-arm64/build/pypy/module/array/interp_array.py", line 190, in setlen
rffi.CCHARP.TO, byte_size, flavor='raw')
}>
func = <function <lambda> at 0x0000000121d08f98>, 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 0x00000001208fa170>
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 0x0000000121d18ae8>
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 0x00000001286d58a0>
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 0x00000001286d58a0>
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 0x0000000110f377a0>
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 0x600002c8be40>:
E <C object Array of Char {'nolength': True} at 0x600002ca0ba0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8b80>:
E <C object Array of Char {'nolength': True} at 0x6000020b17a0>:
E <C object Array of Char {'nolength': True} at 0x600002c86190>:
E <C object Array of Char {'nolength': True} at 0x6000022b81c0>:
E <C object Array of Char {'nolength': True} at 0x600002ca4420>:
E <C object Array of Char {'nolength': True} at 0x600002ca4510>:
E <C object Array of Char {'nolength': True} at 0x600002c86b50>:
E <C object Array of Char {'nolength': True} at 0x60000229a200>:
E <C object Array of Char {'nolength': True} at 0x600002c97a80>:
E <C object Array of Char {'nolength': True} at 0x600002ca8030>:
E <C object Array of Char {'nolength': True} at 0x6000022a3180>:
E <C object Array of Char {'nolength': True} at 0x600002c93510>:
E <C object Array of Char {'nolength': True} at 0x600002ca8210>:
E <C object Array of Char {'nolength': True} at 0x600002ca8300>:
E <C object Array of Char {'nolength': True} at 0x600002ca4720>:
E <C object Array of Char {'nolength': True} at 0x600002c86d60>:
E <C object Array of Char {'nolength': True} at 0x600002c86eb0>:
E <C object Array of Char {'nolength': True} at 0x600002ca8480>:
E <C object Array of Char {'nolength': True} at 0x60000229aec0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc5a0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc4a0>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 1176, 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 996, 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 190, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x600002c978d0>:
E <C object Array of Char {'nolength': True} at 0x600002c97ed0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8ce0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8a80>:
E <C object Array of Char {'nolength': True} at 0x6000022b8fe0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8d20>:
E <C object Array of Char {'nolength': True} at 0x6000022b8d40>:
E <C object Array of Char {'nolength': True} at 0x6000022b8260>:
E <C object Array of Char {'nolength': True} at 0x6000022b9180>:
E <C object Array of Char {'nolength': True} at 0x6000022b8a00>:
E <C object Array of Char {'nolength': True} at 0x6000022b8940>:
E <C object Array of Char {'nolength': True} at 0x6000022b8de0>:
E <C object Array of Char {'nolength': True} at 0x6000022b92e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b81e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b91a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8fa0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2ac0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2d60>:
E <C object Array of Char {'nolength': True} at 0x6000020a4aa0>:
E <C object Array of Char {'nolength': True} at 0x600002ca0f30>:
E <C object Array of Char {'nolength': True} at 0x600002ca0ed0>:
E <C object Array of Char {'nolength': True} at 0x600002299b00>:
E <C object Array of Char {'nolength': True} at 0x60000229a100>:
E <C object Array of Char {'nolength': True} at 0x60000229a040>:
E <C object Array of Char {'nolength': True} at 0x6000022a4440>:
E <C object Array of Char {'nolength': True} at 0x6000022a9360>:
E <C object Array of Char {'nolength': True} at 0x6000022aaea0>:
E <C object Array of Char {'nolength': True} at 0x6000022aab60>:
E <C object Array of Char {'nolength': True} at 0x6000022ab020>:
E <C object Array of Char {'nolength': True} at 0x6000022a9c20>:
E <C object Array of Char {'nolength': True} at 0x6000022ab380>:
E <C object Array of Char {'nolength': True} at 0x6000022aad40>:
E <C object Array of Char {'nolength': True} at 0x6000022aae40>:
E <C object Array of Char {'nolength': True} at 0x6000022aaf80>:
E <C object Array of Char {'nolength': True} at 0x6000022aac20>:
E <C object Array of Char {'nolength': True} at 0x60000208b100>:
E <C object Array of Char {'nolength': True} at 0x6000022aace0>:
E <C object Array of Char {'nolength': True} at 0x6000022ac0e0>:
E <C object Array of Char {'nolength': True} at 0x60000208c4a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b01a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9080>:
E <C object Array of Char {'nolength': True} at 0x6000022b8b40>:
E <C object Array of Char {'nolength': True} at 0x6000020ad530>:
E <C object Array of Char {'nolength': True} at 0x6000020ad680>:
E <C object Array of Char {'nolength': True} at 0x6000022b9300>:
E <C object Array of Char {'nolength': True} at 0x6000022b91e0>:
E <C object Array of Char {'nolength': True} at 0x6000020a00a0>:
E <C object Array of Char {'nolength': True} at 0x6000020966b0>:
E <C object Array of Char {'nolength': True} at 0x60000229a480>:
E <C object Array of Char {'nolength': True} at 0x6000022b02a0>:
E <C object Array of Char {'nolength': True} at 0x600002096610>:
E <C object Array of Char {'nolength': True} at 0x600002094800>:
E <C object Array of Char {'nolength': True} at 0x600002299020>:
E <C object Array of Char {'nolength': True} at 0x6000022996e0>:
E <C object Array of Char {'nolength': True} at 0x60000229a620>:
E <C object Array of Char {'nolength': True} at 0x60000229a7c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab120>:
E <C object Array of Char {'nolength': True} at 0x6000022ab3e0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab140>:
E <C object Array of Char {'nolength': True} at 0x6000022ab3a0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab5c0>:
E <C object Array of Char {'nolength': True} at 0x6000022aa9a0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab200>:
E <C object Array of Char {'nolength': True} at 0x6000022ab400>:
E <C object Array of Char {'nolength': True} at 0x600002087b50>:
E <C object Array of Char {'nolength': True} at 0x6000022aa800>:
E <C object Array of Char {'nolength': True} at 0x6000020b0000>:
E <C object Array of Char {'nolength': True} at 0x6000022aab80>:
E <C object Array of Char {'nolength': True} at 0x6000020b1660>:
E <C object Array of Char {'nolength': True} at 0x6000020b1ed0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab680>:
E <C object Array of Char {'nolength': True} at 0x6000022aac00>:
E <C object Array of Char {'nolength': True} at 0x6000020b0540>:
E <C object Array of Char {'nolength': True} at 0x6000020b0d60>:
E <C object Array of Char {'nolength': True} at 0x6000022ab520>:
E <C object Array of Char {'nolength': True} at 0x6000022ab320>:
E <C object Array of Char {'nolength': True} at 0x6000020b3480>:
E <C object Array of Char {'nolength': True} at 0x6000020b0130>:
E <C object Array of Char {'nolength': True} at 0x6000022ab1a0>:
E <C object Array of Char {'nolength': True} at 0x6000022ac1c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ac640>:
E <C object Array of Char {'nolength': True} at 0x6000022b8dc0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8c40>:
E <C object Array of Char {'nolength': True} at 0x6000022b8320>:
E <C object Array of Char {'nolength': True} at 0x6000022b9140>:
E <C object Array of Char {'nolength': True} at 0x6000022a4460>:
E <C object Array of Char {'nolength': True} at 0x600002299dc0>:
E <C object Array of Char {'nolength': True} at 0x600002299840>:
E <C object Array of Char {'nolength': True} at 0x60000229a240>:
E <C object Array of Char {'nolength': True} at 0x6000020a83c0>:
E <C object Array of Char {'nolength': True} at 0x600002c86dc0>:
E <C object Array of Char {'nolength': True} at 0x600002c87360>:
E <C object Array of Char {'nolength': True} at 0x60000229a180>:
E <C object Array of Char {'nolength': True} at 0x60000229a0c0>:
E <C object Array of Char {'nolength': True} at 0x600002299620>:
E <C object Array of Char {'nolength': True} at 0x60000229a7e0>:
E <C object Array of Char {'nolength': True} at 0x60000229a920>:
E <C object Array of Char {'nolength': True} at 0x600002299f20>:
E <C object Array of Char {'nolength': True} at 0x60000229a780>:
E <C object Array of Char {'nolength': True} at 0x6000022b4380>:
E <C object Array of Char {'nolength': True} at 0x6000022b8ea0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9200>:
E <C object Array of Char {'nolength': True} at 0x6000022b9460>:
E <C object Array of Char {'nolength': True} at 0x6000022b8f40>:
E <C object Array of Char {'nolength': True} at 0x6000022b8d60>:
E <C object Array of Char {'nolength': True} at 0x6000022b8a20>:
E <C object Array of Char {'nolength': True} at 0x6000020acb40>:
E <C object Array of Char {'nolength': True} at 0x6000022b9100>:
E <C object Array of Char {'nolength': True} at 0x6000022b88e0>:
E <C object Array of Char {'nolength': True} at 0x6000020ad430>:
E <C object Array of Char {'nolength': True} at 0x6000022b9420>:
E <C object Array of Char {'nolength': True} at 0x6000022b96a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b84a0>:
E <C object Array of Char {'nolength': True} at 0x6000020af940>:
E <C object Array of Char {'nolength': True} at 0x6000020ac960>:
E <C object Array of Char {'nolength': True} at 0x6000022b9440>:
E <C object Array of Char {'nolength': True} at 0x6000022b9660>:
E <C object Array of Char {'nolength': True} at 0x600002095a20>:
E <C object Array of Char {'nolength': True} at 0x600002097f10>:
E <C object Array of Char {'nolength': True} at 0x6000022b86c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9260>:
E <C object Array of Char {'nolength': True} at 0x6000020aa460>:
E <C object Array of Char {'nolength': True} at 0x6000020add40>:
E <C object Array of Char {'nolength': True} at 0x6000022b9480>:
E <C object Array of Char {'nolength': True} at 0x6000022b9240>:
E <C object Array of Char {'nolength': True} at 0x6000022a33a0>:
E <C object Array of Char {'nolength': True} at 0x6000022a34a0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2d40>:
E <C object Array of Char {'nolength': True} at 0x6000022a3760>:
E <C object Array of Char {'nolength': True} at 0x6000022a2640>:
E <C object Array of Char {'nolength': True} at 0x6000022a29a0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3360>:
E <C object Array of Char {'nolength': True} at 0x6000022a2ee0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3580>:
E <C object Array of Char {'nolength': True} at 0x6000022a3320>:
E <C object Array of Char {'nolength': True} at 0x6000020afaf0>:
E <C object Array of Char {'nolength': True} at 0x6000022a1d40>:
E <C object Array of Char {'nolength': True} at 0x6000022a3300>:
E <C object Array of Char {'nolength': True} at 0x6000020ac2e0>:
E <C object Array of Char {'nolength': True} at 0x6000020a7810>:
E <C object Array of Char {'nolength': True} at 0x6000022a2980>:
E <C object Array of Char {'nolength': True} at 0x6000022a36c0>:
E <C object Array of Char {'nolength': True} at 0x6000020922a0>:
E <C object Array of Char {'nolength': True} at 0x6000020a73f0>:
E <C object Array of Char {'nolength': True} at 0x6000022a31c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a37c0>:
E <C object Array of Char {'nolength': True} at 0x6000020af540>:
E <C object Array of Char {'nolength': True} at 0x6000020aefe0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2a00>:
E <C object Array of Char {'nolength': True} at 0x6000022a3340>:
E <C object Array of Char {'nolength': True} at 0x6000022a3940>:
E <C object Array of Char {'nolength': True} at 0x6000022a3740>:
E <C object Array of Char {'nolength': True} at 0x6000022a3920>:
E <C object Array of Char {'nolength': True} at 0x6000022a2920>:
E <C object Array of Char {'nolength': True} at 0x6000022b04c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b41a0>:
E <C object Array of Char {'nolength': True} at 0x60000229a6e0>:
E <C object Array of Char {'nolength': True} at 0x600002299ac0>:
E <C object Array of Char {'nolength': True} at 0x6000022a35c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3460>:
E <C object Array of Char {'nolength': True} at 0x6000020ae250>:
E <C object Array of Char {'nolength': True} at 0x6000020ae060>:
E <C object Array of Char {'nolength': True} at 0x6000022a2e60>:
E <C object Array of Char {'nolength': True} at 0x60000229a000>:
E <C object Array of Char {'nolength': True} at 0x600002299480>:
E <C object Array of Char {'nolength': True} at 0x60000229a900>:
E <C object Array of Char {'nolength': True} at 0x60000229a8c0>:
E <C object Array of Char {'nolength': True} at 0x6000020b53b0>:
E <C object Array of Char {'nolength': True} at 0x6000020b5d00>:
E <C object Array of Char {'nolength': True} at 0x600002299d80>:
E <C object Array of Char {'nolength': True} at 0x60000229a600>:
E <C object Array of Char {'nolength': True} at 0x6000020ae6b0>:
E <C object Array of Char {'nolength': True} at 0x6000020acb50>:
E <C object Array of Char {'nolength': True} at 0x60000229a7a0>:
E <C object Array of Char {'nolength': True} at 0x600002299e80>:
E <C object Array of Char {'nolength': True} at 0x6000022a2860>:
E <C object Array of Char {'nolength': True} at 0x6000022b0480>:
E <C object Array of Char {'nolength': True} at 0x6000022b8a40>:
E <C object Array of Char {'nolength': True} at 0x6000022b96c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9700>:
E <C object Array of Char {'nolength': True} at 0x6000022b98a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9560>:
E <C object Array of Char {'nolength': True} at 0x6000022b9360>:
E <C object Array of Char {'nolength': True} at 0x6000022b9840>:
E <C object Array of Char {'nolength': True} at 0x6000022b9380>:
E <C object Array of Char {'nolength': True} at 0x6000020b97f0>:
E <C object Array of Char {'nolength': True} at 0x6000020b1fb0>:
E <C object Array of Char {'nolength': True} at 0x6000022a9d20>:
E <C object Array of Char {'nolength': True} at 0x6000022aada0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab2a0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab6c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab620>:
E <C object Array of Char {'nolength': True} at 0x6000020b4270>:
E <C object Array of Char {'nolength': True} at 0x6000020b4df0>:
E <C object Array of Char {'nolength': True} at 0x60000229a020>:
E <C object Array of Char {'nolength': True} at 0x60000229a4e0>:
E <C object Array of Char {'nolength': True} at 0x6000020b5870>:
E <C object Array of Char {'nolength': True} at 0x6000020b64b0>:
E <C object Array of Char {'nolength': True} at 0x60000229a440>:
E <C object Array of Char {'nolength': True} at 0x60000229a5c0>:
E <C object Array of Char {'nolength': True} at 0x6000020ace10>:
E <C object Array of Char {'nolength': True} at 0x6000020a9da0>:
E <C object Array of Char {'nolength': True} at 0x60000229a740>:
E <C object Array of Char {'nolength': True} at 0x60000229a800>:
E <C object Array of Char {'nolength': True} at 0x6000020b7250>:
E <C object Array of Char {'nolength': True} at 0x6000020b40c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b4080>:
E <C object Array of Char {'nolength': True} at 0x60000229a140>:
E <C object Array of Char {'nolength': True} at 0x6000020b6e40>:
E <C object Array of Char {'nolength': True} at 0x6000020b7810>:
E <C object Array of Char {'nolength': True} at 0x60000229a9c0>:
E <C object Array of Char {'nolength': True} at 0x60000229a360>:
E <C object Array of Char {'nolength': True} at 0x60000229a640>:
E <C object Array of Char {'nolength': True} at 0x60000229a680>:
E <C object Array of Char {'nolength': True} at 0x60000229a840>:
E <C object Array of Char {'nolength': True} at 0x60000229a300>:
E <C object Array of Char {'nolength': True} at 0x6000022aa960>:
E <C object Array of Char {'nolength': True} at 0x6000020b3fc0>:
E <C object Array of Char {'nolength': True} at 0x600002ca4780>:
E <C object Array of Char {'nolength': True} at 0x600002ca4570>:
E <C object Array of Char {'nolength': True} at 0x6000022ab3c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab160>:
E <C object Array of Char {'nolength': True} at 0x6000022ab720>:
E <C object Array of Char {'nolength': True} at 0x6000022a2b80>:
E <C object Array of Char {'nolength': True} at 0x6000022a3720>:
E <C object Array of Char {'nolength': True} at 0x6000022a3a60>:
E <C object Array of Char {'nolength': True} at 0x6000022a3c00>:
E <C object Array of Char {'nolength': True} at 0x6000020a8aa0>:
E <C object Array of Char {'nolength': True} at 0x6000020b44f0>:
E <C object Array of Char {'nolength': True} at 0x60000229a260>:
E <C object Array of Char {'nolength': True} at 0x60000229a660>:
E <C object Array of Char {'nolength': True} at 0x6000020b7c40>:
E <C object Array of Char {'nolength': True} at 0x6000020af890>:
E <C object Array of Char {'nolength': True} at 0x60000229ab60>:
E <C object Array of Char {'nolength': True} at 0x600002299a20>:
E <C object Array of Char {'nolength': True} at 0x600002087440>:
E <C object Array of Char {'nolength': True} at 0x6000020b57a0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3b00>:
E <C object Array of Char {'nolength': True} at 0x6000022a3480>:
E <C object Array of Char {'nolength': True} at 0x600002097150>:
E <C object Array of Char {'nolength': True} at 0x600002090b60>:
E <C object Array of Char {'nolength': True} at 0x6000022a31e0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3860>:
E <C object Array of Char {'nolength': True} at 0x6000022a42e0>:
E <C object Array of Char {'nolength': True} at 0x60000208d680>:
E <C object Array of Char {'nolength': True} at 0x600002ca0d80>:
E <C object Array of Char {'nolength': True} at 0x600002ca1380>:
E <C object Array of Char {'nolength': True} at 0x6000022a8480>:
E <C object Array of Char {'nolength': True} at 0x6000022aa880>:
E <C object Array of Char {'nolength': True} at 0x6000022aacc0>:
E <C object Array of Char {'nolength': True} at 0x6000022a9d60>:
E <C object Array of Char {'nolength': True} at 0x6000022ab780>:
E <C object Array of Char {'nolength': True} at 0x6000022ab100>:
E <C object Array of Char {'nolength': True} at 0x6000022ab940>:
E <C object Array of Char {'nolength': True} at 0x6000022ab7a0>:
E <C object Array of Char {'nolength': True} at 0x6000022a44c0>:
E <C object Array of Char {'nolength': True} at 0x60000229aa00>:
E <C object Array of Char {'nolength': True} at 0x60000229a320>:
E <C object Array of Char {'nolength': True} at 0x60000229a940>:
E <C object Array of Char {'nolength': True} at 0x60000229aaa0>:
E <C object Array of Char {'nolength': True} at 0x60000229ac80>:
E <C object Array of Char {'nolength': True} at 0x60000229a760>:
E <C object Array of Char {'nolength': True} at 0x60000229aa60>:
E <C object Array of Char {'nolength': True} at 0x600002089500>:
E <C object Array of Char {'nolength': True} at 0x600002c86f10>:
E <C object Array of Char {'nolength': True} at 0x600002c86c70>:
E <C object Array of Char {'nolength': True} at 0x60000229aae0>:
E <C object Array of Char {'nolength': True} at 0x60000229ac60>:
E <C object Array of Char {'nolength': True} at 0x60000229ae60>:
E <C object Array of Char {'nolength': True} at 0x60000229aa80>:
E <C object Array of Char {'nolength': True} at 0x60000229a500>:
E <C object Array of Char {'nolength': True} at 0x60000229ad40>:
E <C object Array of Char {'nolength': True} at 0x60000229af80>:
E <C object Array of Char {'nolength': True} at 0x60000229aca0>:
E <C object Array of Char {'nolength': True} at 0x60000229a3a0>:
E <C object Array of Char {'nolength': True} at 0x6000022999c0>:
E <C object Array of Char {'nolength': True} at 0x60000229ab20>:
E <C object Array of Char {'nolength': True} at 0x60000229ae00>:
E <C object Array of Char {'nolength': True} at 0x60000229ad60>:
E <C object Array of Char {'nolength': True} at 0x60000229ada0>:
E <C object Array of Char {'nolength': True} at 0x6000020b1ac0>:
E <C object Array of Char {'nolength': True} at 0x6000022aac40>:
E <C object Array of Char {'nolength': True} at 0x6000022ab180>:
E <C object Array of Char {'nolength': True} at 0x6000020b01b0>:
E <C object Array of Char {'nolength': True} at 0x60000229ab00>:
E <C object Array of Char {'nolength': True} at 0x60000229a9a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b42c0>:
E <C object Array of Char {'nolength': True} at 0x6000020a0c40>:
E <C object Array of Char {'nolength': True} at 0x600002098370>:
E <C object Array of Char {'nolength': True} at 0x6000022b42e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8ec0>:
E <C object Array of Char {'nolength': True} at 0x6000020b90f0>:
E <C object Array of Char {'nolength': True} at 0x6000020b9910>:
E <C object Array of Char {'nolength': True} at 0x6000022b97e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9160>:
E <C object Array of Char {'nolength': True} at 0x6000020b01d0>:
E <C object Array of Char {'nolength': True} at 0x6000020b1290>:
E <C object Array of Char {'nolength': True} at 0x6000022a9660>:
E <C object Array of Char {'nolength': True} at 0x6000022ab080>:
E <C object Array of Char {'nolength': True} at 0x6000020b5da0>:
E <C object Array of Char {'nolength': True} at 0x6000020b74c0>:
E <C object Array of Char {'nolength': True} at 0x6000022aad20>:
E <C object Array of Char {'nolength': True} at 0x6000022ab060>:
E <C object Array of Char {'nolength': True} at 0x6000020b3620>:
E <C object Array of Char {'nolength': True} at 0x6000020af860>:
E <C object Array of Char {'nolength': True} at 0x6000022ab4e0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab8c0>:
E <C object Array of Char {'nolength': True} at 0x6000020b1fe0>:
E <C object Array of Char {'nolength': True} at 0x6000020b0250>:
E <C object Array of Char {'nolength': True} at 0x6000022ab4c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab840>:
E <C object Array of Char {'nolength': True} at 0x6000020b5e70>:
E <C object Array of Char {'nolength': True} at 0x6000020b7780>:
E <C object Array of Char {'nolength': True} at 0x60000229ab40>:
E <C object Array of Char {'nolength': True} at 0x6000022b8040>:
E <C object Array of Char {'nolength': True} at 0x6000022b93a0>:
E <C object Array of Char {'nolength': True} at 0x6000020ba7b0>:
E <C object Array of Char {'nolength': True} at 0x600002c97db0>:
E <C object Array of Char {'nolength': True} at 0x600002ca8240>:
E <C object Array of Char {'nolength': True} at 0x6000022b9120>:
E <C object Array of Char {'nolength': True} at 0x6000022b9040>:
E <C object Array of Char {'nolength': True} at 0x6000022b98c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9a00>:
E <C object Array of Char {'nolength': True} at 0x6000022b8f80>:
E <C object Array of Char {'nolength': True} at 0x6000022b9600>:
E <C object Array of Char {'nolength': True} at 0x6000022b90c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9b60>:
E <C object Array of Char {'nolength': True} at 0x6000022b94a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9620>:
E <C object Array of Char {'nolength': True} at 0x6000022b8f00>:
E <C object Array of Char {'nolength': True} at 0x6000022b9c20>:
E <C object Array of Char {'nolength': True} at 0x6000022b9b00>:
E <C object Array of Char {'nolength': True} at 0x6000022b98e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9940>:
E <C object Array of Char {'nolength': True} at 0x60000229ac40>:
E <C object Array of Char {'nolength': True} at 0x6000020beab0>:
E <C object Array of Char {'nolength': True} at 0x600002ca8390>:
E <C object Array of Char {'nolength': True} at 0x600002ca8270>:
E <C object Array of Char {'nolength': True} at 0x6000022b9a40>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ae0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8640>:
E <C object Array of Char {'nolength': True} at 0x6000022b9400>:
E <C object Array of Char {'nolength': True} at 0x6000022ac500>:
E <C object Array of Char {'nolength': True} at 0x6000022a39e0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2fa0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2740>:
E <C object Array of Char {'nolength': True} at 0x6000022a39c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3600>:
E <C object Array of Char {'nolength': True} at 0x6000022a3660>:
E <C object Array of Char {'nolength': True} at 0x6000022a3b40>:
E <C object Array of Char {'nolength': True} at 0x6000022a3d80>:
E <C object Array of Char {'nolength': True} at 0x6000022a3960>:
E <C object Array of Char {'nolength': True} at 0x6000020c1f50>:
E <C object Array of Char {'nolength': True} at 0x6000022a3a20>:
E <C object Array of Char {'nolength': True} at 0x6000022a3ac0>:
E <C object Array of Char {'nolength': True} at 0x6000020c1450>:
E <C object Array of Char {'nolength': True} at 0x6000022a3ce0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3e60>:
E <C object Array of Char {'nolength': True} at 0x60000229f8e0>:
E <C object Array of Char {'nolength': True} at 0x6000020b76c0>:
E <C object Array of Char {'nolength': True} at 0x6000020a7080>:
E <C object Array of Char {'nolength': True} at 0x60000229ffc0>:
E <C object Array of Char {'nolength': True} at 0x600002294980>:
E <C object Array of Char {'nolength': True} at 0x6000020c2730>:
E <C object Array of Char {'nolength': True} at 0x6000020c2f70>:
E <C object Array of Char {'nolength': True} at 0x60000229ffe0>:
E <C object Array of Char {'nolength': True} at 0x60000229f160>:
E <C object Array of Char {'nolength': True} at 0x6000020c09d0>:
E <C object Array of Char {'nolength': True} at 0x6000020c14c0>:
E <C object Array of Char {'nolength': True} at 0x60000229c1a0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2c00>:
E <C object Array of Char {'nolength': True} at 0x6000022a3120>:
E <C object Array of Char {'nolength': True} at 0x6000022a3e80>:
E <C object Array of Char {'nolength': True} at 0x6000022a3a40>:
E <C object Array of Char {'nolength': True} at 0x60000229fe40>:
E <C object Array of Char {'nolength': True} at 0x6000022831c0>:
E <C object Array of Char {'nolength': True} at 0x600002281500>:
E <C object Array of Char {'nolength': True} at 0x6000022a3b20>:
E <C object Array of Char {'nolength': True} at 0x6000022a3f00>:
E <C object Array of Char {'nolength': True} at 0x6000022a3e00>:
E <C object Array of Char {'nolength': True} at 0x60000229f8c0>:
E <C object Array of Char {'nolength': True} at 0x600002094670>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ac0>:
E <C object Array of Char {'nolength': True} at 0x60000229ade0>:
E <C object Array of Char {'nolength': True} at 0x6000020bc880>:
E <C object Array of Char {'nolength': True} at 0x6000020bd630>:
E <C object Array of Char {'nolength': True} at 0x60000229a8a0>:
E <C object Array of Char {'nolength': True} at 0x60000229aba0>:
E <C object Array of Char {'nolength': True} at 0x6000020b45a0>:
E <C object Array of Char {'nolength': True} at 0x6000020ae470>:
E <C object Array of Char {'nolength': True} at 0x60000229abe0>:
E <C object Array of Char {'nolength': True} at 0x60000229ab80>:
E <C object Array of Char {'nolength': True} at 0x6000020bf160>:
E <C object Array of Char {'nolength': True} at 0x6000020bfa80>:
E <C object Array of Char {'nolength': True} at 0x60000229b060>:
E <C object Array of Char {'nolength': True} at 0x60000229a6a0>:
E <C object Array of Char {'nolength': True} at 0x600002299ca0>:
E <C object Array of Char {'nolength': True} at 0x60000229b0c0>:
E <C object Array of Char {'nolength': True} at 0x60000229aee0>:
E <C object Array of Char {'nolength': True} at 0x60000229b0a0>:
E <C object Array of Char {'nolength': True} at 0x60000229b260>:
E <C object Array of Char {'nolength': True} at 0x6000022b9020>:
E <C object Array of Char {'nolength': True} at 0x6000022830e0>:
E <C object Array of Char {'nolength': True} at 0x6000022a38e0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3d40>:
E <C object Array of Char {'nolength': True} at 0x6000022a3d60>:
E <C object Array of Char {'nolength': True} at 0x6000020c3c40>:
E <C object Array of Char {'nolength': True} at 0x60000229ff40>:
E <C object Array of Char {'nolength': True} at 0x60000229fd60>:
E <C object Array of Char {'nolength': True} at 0x6000020bc430>:
E <C object Array of Char {'nolength': True} at 0x6000020bd4b0>:
E <C object Array of Char {'nolength': True} at 0x600002281680>:
E <C object Array of Char {'nolength': True} at 0x6000022a39a0>:
E <C object Array of Char {'nolength': True} at 0x6000020c08f0>:
E <C object Array of Char {'nolength': True} at 0x6000020c0750>:
E <C object Array of Char {'nolength': True} at 0x6000022a3da0>:
E <C object Array of Char {'nolength': True} at 0x6000022a36a0>:
E <C object Array of Char {'nolength': True} at 0x6000020bce50>:
E <C object Array of Char {'nolength': True} at 0x6000020bde90>:
E <C object Array of Char {'nolength': True} at 0x6000022a3bc0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3ea0>:
E <C object Array of Char {'nolength': True} at 0x6000020bfea0>:
E <C object Array of Char {'nolength': True} at 0x6000020c02d0>:
E <C object Array of Char {'nolength': True} at 0x60000229e8a0>:
E <C object Array of Char {'nolength': True} at 0x60000229fa20>:
E <C object Array of Char {'nolength': True} at 0x6000020c2750>:
E <C object Array of Char {'nolength': True} at 0x60000209c310>:
E <C object Array of Char {'nolength': True} at 0x6000022a41c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab740>:
E <C object Array of Char {'nolength': True} at 0x6000022ab800>:
E <C object Array of Char {'nolength': True} at 0x6000022ab440>:
E <C object Array of Char {'nolength': True} at 0x6000022aba00>:
E <C object Array of Char {'nolength': True} at 0x6000022abc00>:
E <C object Array of Char {'nolength': True} at 0x6000022abce0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab7c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab860>:
E <C object Array of Char {'nolength': True} at 0x6000020bf9d0>:
E <C object Array of Char {'nolength': True} at 0x600002ca06c0>:
E <C object Array of Char {'nolength': True} at 0x600002ca1680>:
E <C object Array of Char {'nolength': True} at 0x60000229fa80>:
E <C object Array of Char {'nolength': True} at 0x60000229c0c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3e20>:
E <C object Array of Char {'nolength': True} at 0x6000022a32c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a3f80>:
E <C object Array of Char {'nolength': True} at 0x6000022ab240>:
E <C object Array of Char {'nolength': True} at 0x6000022ab9e0>:
E <C object Array of Char {'nolength': True} at 0x6000020b1a80>:
E <C object Array of Char {'nolength': True} at 0x6000020b3e70>:
E <C object Array of Char {'nolength': True} at 0x60000229afe0>:
E <C object Array of Char {'nolength': True} at 0x60000229a380>:
E <C object Array of Char {'nolength': True} at 0x6000020c0ea0>:
E <C object Array of Char {'nolength': True} at 0x6000020c2cf0>:
E <C object Array of Char {'nolength': True} at 0x6000022aa900>:
E <C object Array of Char {'nolength': True} at 0x6000022abbe0>:
E <C object Array of Char {'nolength': True} at 0x6000020b0340>:
E <C object Array of Char {'nolength': True} at 0x6000020b8230>:
E <C object Array of Char {'nolength': True} at 0x6000022b93e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9c00>:
E <C object Array of Char {'nolength': True} at 0x6000022b9c40>:
E <C object Array of Char {'nolength': True} at 0x6000022b9d80>:
E <C object Array of Char {'nolength': True} at 0x6000022b8600>:
E <C object Array of Char {'nolength': True} at 0x6000022b9cc0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9aa0>:
E <C object Array of Char {'nolength': True} at 0x6000020bc720>:
E <C object Array of Char {'nolength': True} at 0x600002ca8090>:
E <C object Array of Char {'nolength': True} at 0x600002ca8b40>:
E <C object Array of Char {'nolength': True} at 0x6000022b90e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b94c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b99e0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9dc0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9fa0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9e20>:
E <C object Array of Char {'nolength': True} at 0x6000022b9740>:
E <C object Array of Char {'nolength': True} at 0x6000020ba500>:
E <C object Array of Char {'nolength': True} at 0x6000020bb7c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b95a0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9f40>:
E <C object Array of Char {'nolength': True} at 0x6000020921e0>:
E <C object Array of Char {'nolength': True} at 0x6000020b9420>:
E <C object Array of Char {'nolength': True} at 0x6000022b9fc0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8b00>:
E <C object Array of Char {'nolength': True} at 0x6000020ad550>:
E <C object Array of Char {'nolength': True} at 0x6000020c2130>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ba0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ee0>:
E <C object Array of Char {'nolength': True} at 0x6000020c4440>:
E <C object Array of Char {'nolength': True} at 0x6000020c4bc0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9fe0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ea0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8f60>:
E <C object Array of Char {'nolength': True} at 0x6000020c4190>:
E <C object Array of Char {'nolength': True} at 0x600002ca8660>:
E <C object Array of Char {'nolength': True} at 0x600002ca8c60>:
E <C object Array of Char {'nolength': True} at 0x6000022b9680>:
E <C object Array of Char {'nolength': True} at 0x6000022ab640>:
E <C object Array of Char {'nolength': True} at 0x6000022aac80>:
E <C object Array of Char {'nolength': True} at 0x6000022abb20>:
E <C object Array of Char {'nolength': True} at 0x6000022abec0>:
E <C object Array of Char {'nolength': True} at 0x6000022abaa0>:
E <C object Array of Char {'nolength': True} at 0x6000022ab540>:
E <C object Array of Char {'nolength': True} at 0x6000022abba0>:
E <C object Array of Char {'nolength': True} at 0x6000022abf60>:
E <C object Array of Char {'nolength': True} at 0x60000229f120>:
E <C object Array of Char {'nolength': True} at 0x6000022aa260>:
E <C object Array of Char {'nolength': True} at 0x6000022ab360>:
E <C object Array of Char {'nolength': True} at 0x6000022abf80>:
E <C object Array of Char {'nolength': True} at 0x6000022abc40>:
E <C object Array of Char {'nolength': True} at 0x6000022ab760>:
E <C object Array of Char {'nolength': True} at 0x6000022aba60>:
E <C object Array of Char {'nolength': True} at 0x6000020c7e00>:
E <C object Array of Char {'nolength': True} at 0x600002c8c4e0>:
E <C object Array of Char {'nolength': True} at 0x600002ca1740>:
E <C object Array of Char {'nolength': True} at 0x6000022a22c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a2600>:
E <C object Array of Char {'nolength': True} at 0x60000229e820>:
E <C object Array of Char {'nolength': True} at 0x6000022a3c40>:
E <C object Array of Char {'nolength': True} at 0x6000022a3ca0>:
E <C object Array of Char {'nolength': True} at 0x600002294940>:
E <C object Array of Char {'nolength': True} at 0x6000022bc120>:
E <C object Array of Char {'nolength': True} at 0x6000020be280>:
E <C object Array of Char {'nolength': True} at 0x6000020b7dd0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc360>:
E <C object Array of Char {'nolength': True} at 0x6000022bc500>:
E <C object Array of Char {'nolength': True} at 0x6000020c6b90>:
E <C object Array of Char {'nolength': True} at 0x6000020c78b0>:
E <C object Array of Char {'nolength': True} at 0x6000022a4300>:
E <C object Array of Char {'nolength': True} at 0x6000022a4720>:
E <C object Array of Char {'nolength': True} at 0x6000020a68d0>:
E <C object Array of Char {'nolength': True} at 0x60000209c320>:
E <C object Array of Char {'nolength': True} at 0x6000022bc100>:
E <C object Array of Char {'nolength': True} at 0x6000022bc2e0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc1e0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc4c0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc6c0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc0e0>:
E <C object Array of Char {'nolength': True} at 0x60000229a580>:
E <C object Array of Char {'nolength': True} at 0x6000020c8d90>:
E <C object Array of Char {'nolength': True} at 0x600002c87090>:
E <C object Array of Char {'nolength': True} at 0x600002c9c330>:
E <C object Array of Char {'nolength': True} at 0x6000022a4280>:
E <C object Array of Char {'nolength': True} at 0x60000229adc0>:
E <C object Array of Char {'nolength': True} at 0x60000229b0e0>:
E <C object Array of Char {'nolength': True} at 0x60000229b140>:
E <C object Array of Char {'nolength': True} at 0x60000229b3a0>:
E <C object Array of Char {'nolength': True} at 0x60000229a6c0>:
E <C object Array of Char {'nolength': True} at 0x60000229ac20>:
E <C object Array of Char {'nolength': True} at 0x6000020c9e60>:
E <C object Array of Char {'nolength': True} at 0x6000020ca620>:
E <C object Array of Char {'nolength': True} at 0x60000229ac00>:
E <C object Array of Char {'nolength': True} at 0x600002299e20>:
E <C object Array of Char {'nolength': True} at 0x6000020ca020>:
E <C object Array of Char {'nolength': True} at 0x6000020ca8d0>:
E <C object Array of Char {'nolength': True} at 0x60000229af60>:
E <C object Array of Char {'nolength': True} at 0x60000229acc0>:
E <C object Array of Char {'nolength': True} at 0x6000020cacc0>:
E <C object Array of Char {'nolength': True} at 0x6000020cb5e0>:
E <C object Array of Char {'nolength': True} at 0x60000229b2a0>:
E <C object Array of Char {'nolength': True} at 0x60000229b120>:
E <C object Array of Char {'nolength': True} at 0x6000020c87d0>:
E <C object Array of Char {'nolength': True} at 0x6000020c93f0>:
E <C object Array of Char {'nolength': True} at 0x60000229a700>:
E <C object Array of Char {'nolength': True} at 0x60000229ae40>:
E <C object Array of Char {'nolength': True} at 0x60000229b040>:
E <C object Array of Char {'nolength': True} at 0x6000020beb80>:
E <C object Array of Char {'nolength': True} at 0x600002c871b0>:
E <C object Array of Char {'nolength': True} at 0x600002c87780>:
E <C object Array of Char {'nolength': True} at 0x60000229a1c0>:
E <C object Array of Char {'nolength': True} at 0x60000229b300>:
E <C object Array of Char {'nolength': True} at 0x60000229b2c0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ec0>:
E <C object Array of Char {'nolength': True} at 0x6000022b9de0>:
E <C object Array of Char {'nolength': True} at 0x6000022b95c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ba0a0>:
E <C object Array of Char {'nolength': True} at 0x6000022ba1c0>:
E <C object Array of Char {'nolength': True} at 0x6000022ba000>:
E <C object Array of Char {'nolength': True} at 0x6000022b4440>:
E <C object Array of Char {'nolength': True} at 0x6000022b9880>:
E <C object Array of Char {'nolength': True} at 0x6000022b9f80>:
E <C object Array of Char {'nolength': True} at 0x6000022ba140>:
E <C object Array of Char {'nolength': True} at 0x6000022b9960>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ce0>:
E <C object Array of Char {'nolength': True} at 0x6000022b44a0>:
E <C object Array of Char {'nolength': True} at 0x6000020a05d0>:
E <C object Array of Char {'nolength': True} at 0x600002ca87e0>:
E <C object Array of Char {'nolength': True} at 0x600002ca8ab0>:
E <C object Array of Char {'nolength': True} at 0x6000022ba200>:
E <C object Array of Char {'nolength': True} at 0x6000022ba240>:
E <C object Array of Char {'nolength': True} at 0x6000022b9820>:
E <C object Array of Char {'nolength': True} at 0x6000022ba040>:
E <C object Array of Char {'nolength': True} at 0x6000022b9640>:
E <C object Array of Char {'nolength': True} at 0x6000022ba120>:
E <C object Array of Char {'nolength': True} at 0x6000022b9ca0>:
E <C object Array of Char {'nolength': True} at 0x6000022b8a60>:
E <C object Array of Char {'nolength': True} at 0x60000229a560>:
E <C object Array of Char {'nolength': True} at 0x60000229ae80>:
E <C object Array of Char {'nolength': True} at 0x60000229b400>:
E <C object Array of Char {'nolength': True} at 0x60000229b160>:
E <C object Array of Char {'nolength': True} at 0x60000229b2e0>:
E <C object Array of Char {'nolength': True} at 0x60000229b540>:
E <C object Array of Char {'nolength': True} at 0x6000020b7170>:
E <C object Array of Char {'nolength': True} at 0x60000229af40>:
E <C object Array of Char {'nolength': True} at 0x6000022b9e40>:
E <C object Array of Char {'nolength': True} at 0x6000020cf790>:
E <C object Array of Char {'nolength': True} at 0x60000229b360>:
E <C object Array of Char {'nolength': True} at 0x60000229b440>:
E <C object Array of Char {'nolength': True} at 0x60000229b6a0>:
E <C object Array of Char {'nolength': True} at 0x6000020ca040>:
E <C object Array of Char {'nolength': True} at 0x60000209c6d0>:
E <C object Array of Char {'nolength': True} at 0x6000022b4420>:
E <C object Array of Char {'nolength': True} at 0x60000229af20>:
E <C object Array of Char {'nolength': True} at 0x6000020ca2c0>:
E <C object Array of Char {'nolength': True} at 0x6000020cb4a0>:
E <C object Array of Char {'nolength': True} at 0x600002299a00>:
E <C object Array of Char {'nolength': True} at 0x60000229b1e0>:
E <C object Array of Char {'nolength': True} at 0x6000020c93c0>:
E <C object Array of Char {'nolength': True} at 0x6000020ca8a0>:
E <C object Array of Char {'nolength': True} at 0x60000229b6c0>:
E <C object Array of Char {'nolength': True} at 0x60000229b760>:
E <C object Array of Char {'nolength': True} at 0x60000229b280>:
E <C object Array of Char {'nolength': True} at 0x60000229b5c0>:
E <C object Array of Char {'nolength': True} at 0x6000022a41e0>:
E <C object Array of Char {'nolength': True} at 0x6000022a4780>:
E <C object Array of Char {'nolength': True} at 0x6000022aba80>:
E <C object Array of Char {'nolength': True} at 0x6000022bc720>:
E <C object Array of Char {'nolength': True} at 0x6000022bc480>:
E <C object Array of Char {'nolength': True} at 0x6000020bede0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc7a0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc080>:
E <C object Array of Char {'nolength': True} at 0x6000020c8170>:
E <C object Array of Char {'nolength': True} at 0x6000022bc3c0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc6e0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc300>:
E <C object Array of Char {'nolength': True} at 0x6000020cafc0>:
E <C object Array of Char {'nolength': True} at 0x6000020cbf80>:
E <C object Array of Char {'nolength': True} at 0x6000022bc680>:
E <C object Array of Char {'nolength': True} at 0x6000022bc640>:
E <C object Array of Char {'nolength': True} at 0x6000020bef80>:
E <C object Array of Char {'nolength': True} at 0x6000020c4680>:
E <C object Array of Char {'nolength': True} at 0x6000022bc320>:
E <C object Array of Char {'nolength': True} at 0x6000022bc5c0>:
E <C object Array of Char {'nolength': True} at 0x6000020c90a0>:
E <C object Array of Char {'nolength': True} at 0x6000020caef0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc940>:
E <C object Array of Char {'nolength': True} at 0x6000022bc8a0>:
E <C object Array of Char {'nolength': True} at 0x6000020d5280>:
E <C object Array of Char {'nolength': True} at 0x6000020d5a00>:
E <C object Array of Char {'nolength': True} at 0x6000022bc400>:
E <C object Array of Char {'nolength': True} at 0x6000022bca40>:
E <C object Array of Char {'nolength': True} at 0x6000020d41f0>:
E <C object Array of Char {'nolength': True} at 0x6000020d4a10>:
E <C object Array of Char {'nolength': True} at 0x6000022bc140>:
E <C object Array of Char {'nolength': True} at 0x6000022bc5e0>:
E <C object Array of Char {'nolength': True} at 0x6000020d6f90>:
E <C object Array of Char {'nolength': True} at 0x6000020d7750>:
E <C object Array of Char {'nolength': True} at 0x6000022bc600>:
E <C object Array of Char {'nolength': True} at 0x6000022bc4e0>:
E <C object Array of Char {'nolength': True} at 0x6000020c5760>:
E <C object Array of Char {'nolength': True} at 0x6000020b8660>:
E <C object Array of Char {'nolength': True} at 0x6000022ab340>:
E <C object Array of Char {'nolength': True} at 0x60000229afc0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc7c0>:
E <C object Array of Char {'nolength': True} at 0x6000020b9680>:
E <C object Array of Char {'nolength': True} at 0x6000022bc920>:
E <C object Array of Char {'nolength': True} at 0x6000022bc520>:
E <C object Array of Char {'nolength': True} at 0x6000022bc780>:
E <C object Array of Char {'nolength': True} at 0x6000022bcba0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc440>:
E <C object Array of Char {'nolength': True} at 0x6000022bc040>:
E <C object Array of Char {'nolength': True} at 0x6000022bca80>:
E <C object Array of Char {'nolength': True} at 0x6000022bc7e0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc540>:
E <C object Array of Char {'nolength': True} at 0x6000022bc3e0>:
E <C object Array of Char {'nolength': True} at 0x6000022bcd00>:
E <C object Array of Char {'nolength': True} at 0x6000022bc9a0>:
E <C object Array of Char {'nolength': True} at 0x6000022bcb60>:
E <C object Array of Char {'nolength': True} at 0x6000022bca20>:
E <C object Array of Char {'nolength': True} at 0x6000022bcca0>:
E <C object Array of Char {'nolength': True} at 0x6000022bcec0>:
E <C object Array of Char {'nolength': True} at 0x6000022bc0c0>:
E <C object Array of Char {'nolength': True} at 0x6000022bcc00>:
E <C object Array of Char {'nolength': True} at 0x6000022ab6a0>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 371, 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 996, 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 190, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x600002088460>:
E <C object Array of Char {'nolength': True} at 0x6000020ae520>:
E <C object Array of Char {'nolength': True} at 0x6000020af180>:
E <C object Array of Char {'nolength': True} at 0x6000020aeb90>:
E <C object Array of Char {'nolength': True} at 0x600002093a30>:
E <C object Array of Char {'nolength': True} at 0x6000020b1240>:
E <C object Array of Char {'nolength': True} at 0x6000020b0050>:
E <C object Array of Char {'nolength': True} at 0x6000020b2fc0>:
E <C object Array of Char {'nolength': True} at 0x6000020aef50>:
E <C object Array of Char {'nolength': True} at 0x6000020aebd0>:
E <C object Array of Char {'nolength': True} at 0x600002095ce0>:
E <C object Array of Char {'nolength': True} at 0x6000020a8130>:
E <C object Array of Char {'nolength': True} at 0x6000020a4550>:
E <C object Array of Char {'nolength': True} at 0x6000020ac020>:
E <C object Array of Char {'nolength': True} at 0x600002093b30>:
E <C object Array of Char {'nolength': True} at 0x6000020ac8f0>:
E <C object Array of Char {'nolength': True} at 0x6000020b5bb0>:
E <C object Array of Char {'nolength': True} at 0x6000020b4350>:
E <C object Array of Char {'nolength': True} at 0x6000020b4ea0>:
E <C object Array of Char {'nolength': True} at 0x6000020b7f10>:
E <C object Array of Char {'nolength': True} at 0x600002095a90>:
E <C object Array of Char {'nolength': True} at 0x6000020b13b0>:
E <C object Array of Char {'nolength': True} at 0x6000020b1f00>:
E <C object Array of Char {'nolength': True} at 0x6000020b5220>:
E <C object Array of Char {'nolength': True} at 0x6000020ae790>:
E <C object Array of Char {'nolength': True} at 0x6000020b6c40>:
E <C object Array of Char {'nolength': True} at 0x6000020b6800>:
E <C object Array of Char {'nolength': True} at 0x6000020b5020>:
E <C object Array of Char {'nolength': True} at 0x6000020a9600>:
E <C object Array of Char {'nolength': True} at 0x6000020b7710>:
E <C object Array of Char {'nolength': True} at 0x600002086bb0>:
E <C object Array of Char {'nolength': True} at 0x6000020a4eb0>:
E <C object Array of Char {'nolength': True} at 0x6000020b12c0>:
E <C object Array of Char {'nolength': True} at 0x6000020a00b0>:
E <C object Array of Char {'nolength': True} at 0x6000020b8c70>:
E <C object Array of Char {'nolength': True} at 0x6000020b0490>:
E <C object Array of Char {'nolength': True} at 0x6000020b48f0>:
E <C object Array of Char {'nolength': True} at 0x6000020b2f30>:
E <C object Array of Char {'nolength': True} at 0x6000020b1550>:
E <C object Array of Char {'nolength': True} at 0x6000020b4610>:
E <C object Array of Char {'nolength': True} at 0x6000020c1b40>:
E <C object Array of Char {'nolength': True} at 0x6000020b65e0>:
E <C object Array of Char {'nolength': True} at 0x6000020c21b0>:
E <C object Array of Char {'nolength': True} at 0x6000020c0400>:
E <C object Array of Char {'nolength': True} at 0x6000020c2a70>:
E <C object Array of Char {'nolength': True} at 0x6000020bc470>:
E <C object Array of Char {'nolength': True} at 0x6000020bfc00>:
E <C object Array of Char {'nolength': True} at 0x6000020bec20>:
E <C object Array of Char {'nolength': True} at 0x6000020c3020>:
E <C object Array of Char {'nolength': True} at 0x6000020bfb10>:
E <C object Array of Char {'nolength': True} at 0x6000020b7e50>:
E <C object Array of Char {'nolength': True} at 0x6000020bc420>:
E <C object Array of Char {'nolength': True} at 0x6000020bf7b0>:
E <C object Array of Char {'nolength': True} at 0x6000020c1e80>:
E <C object Array of Char {'nolength': True} at 0x6000020bc850>:
E <C object Array of Char {'nolength': True} at 0x6000020b3940>:
E <C object Array of Char {'nolength': True} at 0x6000020b0720>:
E <C object Array of Char {'nolength': True} at 0x6000020c0340>:
E <C object Array of Char {'nolength': True} at 0x6000020b5fb0>:
E <C object Array of Char {'nolength': True} at 0x6000020bbc70>:
E <C object Array of Char {'nolength': True} at 0x6000020b9b90>:
E <C object Array of Char {'nolength': True} at 0x60000208a280>:
E <C object Array of Char {'nolength': True} at 0x6000020bbcb0>:
E <C object Array of Char {'nolength': True} at 0x6000020c41f0>:
E <C object Array of Char {'nolength': True} at 0x6000020bfcd0>:
E <C object Array of Char {'nolength': True} at 0x6000020c6540>:
E <C object Array of Char {'nolength': True} at 0x60000208e2d0>:
E <C object Array of Char {'nolength': True} at 0x6000020c5580>:
E <C object Array of Char {'nolength': True} at 0x6000020c9990>:
E <C object Array of Char {'nolength': True} at 0x6000020c9ad0>:
E <C object Array of Char {'nolength': True} at 0x6000020ca820>:
E <C object Array of Char {'nolength': True} at 0x6000020c8320>:
E <C object Array of Char {'nolength': True} at 0x6000020bec50>:
E <C object Array of Char {'nolength': True} at 0x6000020c95c0>:
E <C object Array of Char {'nolength': True} at 0x6000020c97c0>:
E <C object Array of Char {'nolength': True} at 0x6000020c88a0>:
E <C object Array of Char {'nolength': True} at 0x6000020c30b0>:
E <C object Array of Char {'nolength': True} at 0x6000020ca2f0>:
E <C object Array of Char {'nolength': True} at 0x6000020c2e70>:
E <C object Array of Char {'nolength': True} at 0x6000020c83c0>:
E <C object Array of Char {'nolength': True} at 0x6000020d4e70>:
E <C object Array of Char {'nolength': True} at 0x6000020d7850>:
E <C object Array of Char {'nolength': True} at 0x6000020d6ad0>:
E <C object Array of Char {'nolength': True} at 0x6000020c4ae0>:
E ...
E File "/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/array/interp_array.py", line 579, 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 1138, 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 190, 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 0x600002c8be40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128b7ca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c978d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a99018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c97ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a99088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a99e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a99ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a99f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a87328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a87360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a87440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a87478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a791a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a791d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a792b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b92e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a792f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b81e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a68c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b91a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a68c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a68d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca0ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a5d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a5d9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a48fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a4aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a48fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca0f30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a3c058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca0ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a3d280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a3d2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a3d398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a3d3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a4440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a32aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a9360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a32ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aaea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a32bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aab60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a33e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a33ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a9c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a33f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128a104b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aad40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001289e1da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aae40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001289e1e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aaf80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001289e1ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aac20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001289a6448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128845cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002088460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128845d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000208b100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001287d11a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aace0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001287d11d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ac0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128790720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000208c4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128790758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b01a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128790790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001287917c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128782950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ae520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128782988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ad530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001287829c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ad680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001287829f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128782a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b91e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128782a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020af180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001305752b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a00a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001305752f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020966b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000130575328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001305556a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b02a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001305556e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020aeb90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000130555718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002096610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000130555750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002094800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001287098d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001299967c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022996e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129996800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001299968e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129996918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012147c8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012147c8e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012143ecd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012143ed08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012143ede8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b17a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e2058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002093a30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e2090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aa9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e20c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e2100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e2138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002087b50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e2170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aa800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213e3ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d04f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aab80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d1248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d1280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d12b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d12f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d1328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aac00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d1360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213d1210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213c4f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213c4f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213c4fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213c4fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b2fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213c5018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b3480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001213c5050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0130>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012987b638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012987b670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ac1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012987b6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ac640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129821da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129821de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012963e5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131624640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131624720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a4460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131624758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001315a9590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001315a9600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001315a9750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012151a758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a83c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012151bad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000120a1da60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c87360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000120ae4b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001283ff638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111375a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111375bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111375d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111375d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011139d4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011139d4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b4380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111404790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013099fd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013099ff30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013099ff68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001305262f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000130526330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128665948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b81c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001282c2838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020aef50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001281cede8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020acb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001281a8838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001281a8870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b88e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000128113248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ad430>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128a058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128ade8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b96a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128ae58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b84a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020aebd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020af940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ac960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002095ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012128bfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002095a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131444d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002097f10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131444d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b86c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131444de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131444e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a8130>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131444ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020aa460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013145d088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020add40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013145d0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013145d0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013145d130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a33a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013145d210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a34a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001314c9d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001314c9de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001314c9e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001314effa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a29a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926e020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926e100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a4550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926e170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926f750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926f788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926f7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020afaf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012926f830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a1d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f8f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f99b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ac020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f99f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ac2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f9a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a7810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f9a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f9a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a36c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f9ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002093b30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001292f9b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020922a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401ca480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a73f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401ca4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a31c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401ca598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a37c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401ca608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ac8f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401ca678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020af540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401ca6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020aefe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401f1520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401f1558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401f1590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001401f1670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001293d9718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001293d97f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001293d9868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b04c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012941f440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b41a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001293063d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a6e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001293064b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5bb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129306528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129306560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a35c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129307c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a8288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ae250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a82c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ae060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a8f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a9a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b4350>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a9a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a9a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a9ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a9b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316a9b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b4ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316bb6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b53b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316bb6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316bb718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316bb750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316bb788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7f10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316bb7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ae6b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131664678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020acb50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316646b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001316646e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131664720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013168cdb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b0480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129204a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111857a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b96c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111857ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111857bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b98a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111857be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111875360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002095a90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118753d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111875408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111875440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011188edb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b97f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011188ede8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011188fa28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a9d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118aeb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b13b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118aeb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aada0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118aebb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118aebf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118aec28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118c2870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118c28a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b4270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118c28e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b4df0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118c2918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118c2950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121594448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121594480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215944b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b64b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215944f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121594528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121594560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ae790>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121594598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ace10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215a23d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a9da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215a2410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215a2448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215a2480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b6c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215a24b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215a24f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b40c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b41a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b4080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b41e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b4218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b6800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b4250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b6e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b4288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b42c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215b42f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215be598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215be5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215be608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215d2100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215d2138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca4420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215d2170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215d3670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aa960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215e60c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b3fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215e6100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca4780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001215e7670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca4570>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160e020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160e058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160e138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160e170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160f600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160f638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160f718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160f750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a9600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012160f788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a8aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b44f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7710>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020af890>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ab60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a24e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a367c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002086bb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a36800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002087440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a36838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b57a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a36870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a368a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129a69d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a4eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ac0170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002097150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ac01a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002090b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ac01e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a31e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ac0218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca4510>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ac0250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129add4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a42e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129addda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000208d680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129addde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca0d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129af0de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca1380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129af0e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a8480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131920368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aa880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131920448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aacc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131920480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a9d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131921788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001319217c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001319218a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001319218d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001319330f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a44c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131933130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aa00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131933210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131933248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131942950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131942988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ac80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131942a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86b50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131942aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131943cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131952528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002089500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131952560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86f10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001319537f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86c70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197a1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197a218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ac60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197a2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ae60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197a330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aa80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197b910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197b948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ad40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197ba28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229af80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013197ba60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013198f0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013198f0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022999c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012166fb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ab20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012167c758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ae00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012167c838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ad60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012167c870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ada0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012167c950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121692ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b12c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121692f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121692f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aac40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001319d9590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a04678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b01b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a046b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ab00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a05398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a05e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b42c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a2d0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a00b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a2d130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a0c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a2d168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002098370>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a2d1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b42e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a2d1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3ed78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b8c70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3edb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b90f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3ede8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b9910>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3ee20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b97e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3ee58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3ee90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0490>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a3eec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b01d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4eaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1290>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4ead8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a9660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4eb10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4eb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b48f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4eb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4ebb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b74c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a4ebf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aad20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a651a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a651d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b2f30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a65210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b3620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a65248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020af860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a65280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a89130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a89168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a891a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131a891d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b4610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5e70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ab40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131ab2f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c97a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131abf1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000131abf280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b93a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118da918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ba7b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001118da950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c97db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111954250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119542c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119550c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119551a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b98c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119551d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119552b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111968790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111968870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b90c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119688a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111968988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b94a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197c218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197c250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197c330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197d788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b98e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197d868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197d8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011197d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ac40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011198cdb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020beab0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011198cde8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8390>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000011198da28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119b2368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119b23a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119b2480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001119b24b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a4db08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ac500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a4db40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a39e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a4dc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a4dc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014000b9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a39c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014000ba28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014004e0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014004e100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014004e1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000014004e218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000140062a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000140062a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c1b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000140062aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c1f50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000140062ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000140085980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b22f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c1450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b22f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b239b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b23a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229f8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b23a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b65e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b23a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b76c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b23ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a7080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ffc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002294980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c21b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2f70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ffe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b4f398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229f160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b639b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c0400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b639f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c09d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b63a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c14c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b63a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229c1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b63a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b63ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8a2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8a330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8a410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229fe40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b8a448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022831c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b98608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002281500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b98640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b99c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2a70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b99c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b99cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b99d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229f8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129b99d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002094670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bad6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129badd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ade0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bca918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bc470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bc880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bd630>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bfc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b45a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bcb2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ae470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229abe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ab80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bec20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bf160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bfa80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129bef3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216cb0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216cb1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216de0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216de1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216de1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216de2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001216f4560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022830e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012173c950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c3020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012173c9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a38e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012173c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c131d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c13210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c3c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c13248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ff40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c24ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229fd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c25980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bfb10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c259b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bc430>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c4e6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bd4b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c4e6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002281680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c4e720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a39a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c4e758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7e50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c4e790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c08f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c4e7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c0750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c69ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c69b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a36a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c69b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bc420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c69b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bce50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c69bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bde90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c69be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c7dda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c7dde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bf7b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c7de18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bfea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c7de50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c02d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c7de88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229e8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c7dec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229fa20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c1e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000209c310>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a41c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bc850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129c93de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ca3a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ca3ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aba00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ca3b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ca3b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b3940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ca3b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ca3bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c93510>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cb5590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cb5638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cce3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bf9d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cce3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca06c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129cffde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca1680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d2b670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229fa80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d2b6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229c0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d61558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d61590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a32c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d61670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d616a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d70d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d70d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d70d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b1a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d70db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b3e70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d70de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229afe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129d70e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174ca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c0340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174ca68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c0ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174caa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2cf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174cad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aa900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174cb10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abbe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174cb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b5fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012174cb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b0340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012175b1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b8230>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012175b210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b93e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217787c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121778800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bbc70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121778838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121778870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217788a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121786800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8210>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121786838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217868e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121787d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bc720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217a45d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8090>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217a4d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217a4db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b90e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217a4de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b94c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a581a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b99e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a581e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a582c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a582f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a597f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a59830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b9b90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a59868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ba500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a598a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bb7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a598d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b95a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a59910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a59948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000208a280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a6bb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020921e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a6bb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b9420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a6bb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a6bbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a81280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bbcb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a812b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ad550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a812f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2130>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a81328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a81360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a81398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c41f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a813d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c4440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a8b398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c4bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a8b3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a8b408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a8b440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111a8b4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ac8aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c4190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ac8fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ac9788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ac97f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ac9830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ae8a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aac80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ae8a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ae8b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111ae8b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afc1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afc218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afc2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abf60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afc330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229f120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afd8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aa260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afd910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afd9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abf80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afda28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022abc40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111afdb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca4720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b0f6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b0f788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aba60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b1c790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c7e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b1c7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c8c4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129de1da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca1740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013826b168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a22c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013826b1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a2600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013826b280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229e820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000013826b2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138296de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a3ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138296e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002294940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138296f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138296f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bfcd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000138296f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020be280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a4988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7dd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a49c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a49f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a4a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c6540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a4a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c6b90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a4aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c78b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382a4ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a4300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a4720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000208e2d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a68d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000209c320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382b8e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c5580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382cb328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382cb360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382cb398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382cb3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001382cb408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e07088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e07d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c8d90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e07d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c87090>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e28a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c9c330>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e28aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a4280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e28ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229adc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e29e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e29e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e29f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e29f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e514e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ac20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e51520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c9990>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e51558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c9e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e51590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e515c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ac00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e51600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217cf088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c9ad0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217cf0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217cf0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca8d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001217cf130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229af60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012181a790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229acc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012181a7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012181a800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020cacc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012181a838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020cb5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012181a870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012181a8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012182eb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c8320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012182ebb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c87d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012182ebf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c93f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012182ec28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012182ec60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c86eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121842448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ae40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218424f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121843280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020beb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218432b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c871b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187a090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002c87780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187a100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187a138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187b980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187b9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187ba98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012187bad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b95c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012188f948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012188f980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba1c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012188fa60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012188fa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b4440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012189d7f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012189d830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012189d910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x000000012189d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218ad210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218ad248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218ad2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b44a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218c49f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020a05d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218c4a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca87e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218c5520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002ca8ab0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b746e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b74720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b74800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111b74838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111c1c988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111c1c9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ba120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111c1caa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111c2d210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b8a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111c2d2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229a560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000111c2d328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229ae80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218cac98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218cacd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f45d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f4608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f46e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229aec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f4720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bec50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f4758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b7170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f4790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229af40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001218f5f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b9e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219227c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020cf790>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121922800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121966020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121967b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121967b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c95c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121967bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121967be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000209c6d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219817f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022b4420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121981830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229af20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121981868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c97c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219818a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219818d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020cb4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121981910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002299a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121981948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219c5c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c88a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219c5c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c93c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219c5cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219c5d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219c5d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219c5d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f6090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229b5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f60c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a41e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f61a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022a4780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f61e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022aba80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f7788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f77c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f78a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f78d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c30b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f7910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bede0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00000001219f7948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a09788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a2c218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c8170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a2c250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a2cec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc6e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a2d600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a2d638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020ca2f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5e950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020cafc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5e988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020cbf80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5e9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5e9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5ea30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c2e70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5ea68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020bef80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000121a5eaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c4680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8ae20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8ae58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc5c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8ae90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c83c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8aec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c90a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8af00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020caef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8af38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e8af70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d4e70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d5280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d5a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bca40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d7850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129e9b9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d41f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ead8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d4a10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ead910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ead948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ead980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d6ad0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ead9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d6f90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ead9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020d7750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129eada28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ebfcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ebfd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c4ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ebfd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020c5760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ebfd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b8660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ebfda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ebfde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ed1830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000229afc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ed18d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129ede4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000020b9680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129edf4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129edf520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f101a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f101e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bcba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f102c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f52170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f52250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bca80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f52288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f6ade8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f6ae20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f6af00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bcd00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f6af38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f7c758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bcb60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f7c790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bca20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f7c870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bcca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f7c8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bcec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f7c988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bc0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f8a138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022bcc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129f8b2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000022ab6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000129fc41a8> ignored
================ 48 passed, 1 skipped, 1 error in 27.17 seconds ================
++ 01:04:56 starting module/cpyext/test/test_abstract.py [39 started in total]
__ module/cStringIO/test [37 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/cStringIO/test/test_interp_stringio.py ...............
module/cStringIO/test/test_ztranslation.py .
========================== 16 passed in 7.20 seconds ===========================
++ 01:04:59 starting module/cpyext/test/test_api.py [40 started in total]
__ module/cmath/test [38 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/cmath/test/test_cmath.py ...............
========================== 15 passed in 3.67 seconds ===========================
++ 01:04:59 starting module/cpyext/test/test_arraymodule.py [41 started in total]
__ module/cpyext/test/test_api.py [39 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 22.43 seconds ===========================
++ 01:05:27 starting module/cpyext/test/test_boolobject.py [42 started in total]
__ module/cpyext/test/test_abstract.py [40 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_abstract.py .......
========================== 7 passed in 42.52 seconds ===========================
++ 01:05:48 starting module/cpyext/test/test_borrow.py [43 started in total]
__ module/cpyext/test/test_boolobject.py [41 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 38.77 seconds ===========================
++ 01:06:11 starting module/cpyext/test/test_bufferobject.py [44 started in total]
__ module/cpyext/test/test_arraymodule.py [42 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/cpyext/test/test_arraymodule.py ..........x......
==================== 16 passed, 1 xfailed in 74.34 seconds =====================
++ 01:06:19 starting module/cpyext/test/test_bytearrayobject.py [45 started in total]
__ module/cpyext/test/test_borrow.py [43 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 38.31 seconds ===========================
++ 01:06:32 starting module/cpyext/test/test_bytesobject.py [46 started in total]
__ module/cpyext/test/test_bufferobject.py [44 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_bufferobject.py ....
========================== 4 passed in 38.69 seconds ===========================
++ 01:06:55 starting module/cpyext/test/test_capsule.py [47 started in total]
__ module/cpyext/test/test_bytearrayobject.py [45 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 41.66 seconds ===========================
++ 01:07:11 starting module/cpyext/test/test_cell.py [48 started in total]
__ module/cpyext/test/test_bytesobject.py [46 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_bytesobject.py .........................
========================== 25 passed in 53.83 seconds ==========================
++ 01:07:31 starting module/cpyext/test/test_classobject.py [49 started in total]
__ module/cpyext/test/test_capsule.py [47 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_capsule.py .
========================== 1 passed in 32.50 seconds ===========================
++ 01:07:33 starting module/cpyext/test/test_codecs.py [50 started in total]
__ module/cpyext/test/test_cell.py [48 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 33.13 seconds ===========================
++ 01:07:49 starting module/cpyext/test/test_complexobject.py [51 started in total]
__ module/cpyext/test/test_codecs.py [49 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_codecs.py ..
========================== 2 passed in 22.82 seconds ===========================
++ 01:08:01 starting module/cpyext/test/test_cpyext.py [52 started in total]
__ module/cpyext/test/test_classobject.py [50 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_classobject.py .....
========================== 5 passed in 33.74 seconds ===========================
++ 01:08:09 starting module/cpyext/test/test_datetime.py [53 started in total]
__ module/cpyext/test/test_complexobject.py [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 5 items
module/cpyext/test/test_complexobject.py .....
========================== 5 passed in 34.96 seconds ===========================
++ 01:08:33 starting module/cpyext/test/test_dictobject.py [54 started in total]
__ module/cpyext/test/test_datetime.py [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 14 items
module/cpyext/test/test_datetime.py ..............
========================== 14 passed in 44.15 seconds ==========================
++ 01:09:00 starting module/cpyext/test/test_eval.py [55 started in total]
__ module/cpyext/test/test_cpyext.py [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 27 items
module/cpyext/test/test_cpyext.py ...s.........s.............
==================== 25 passed, 2 skipped in 60.39 seconds =====================
++ 01:09:07 starting module/cpyext/test/test_fileobject.py [56 started in total]
__ module/cpyext/test/test_dictobject.py [54 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 18 items
module/cpyext/test/test_dictobject.py ...............F..
=================================== FAILURES ===================================
______________________ AppTestDictObject.test_subclassing ______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x000000012a0b02f0>, 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_subclassing'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_subclassing'>}
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 0x00000001481f2170>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000000014979c320>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_subclassing'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_subclassing'>}
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 0x000000014979c320>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_subclassing'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_subclassing'>}
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_subclassing'>, '__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 0x00000001492ea318>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ubclassing'>, '__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 0x0000000158d3ac60>
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 0x0000000158d3ac60>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ubclassing'>, '__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_subclassing'>, '__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 0x00000001492fbf88>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ubclassing'>, '__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 0x0000000158d3ac20>
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 0x0000000158d3ac20>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ubclassing'>, '__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_subclassing'>, '__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_subclassing'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_subclassing'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_subclassing'>, space = StdObjSpace
target = <function test_subclassing at 0x000000012a0b05c0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000139facb80>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000139facb80>,)
w_func = <Function test_subclassing>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000139facb80>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_subclassing>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000139facb80>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_subclassing>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000139facb80>,)
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_subclassing, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
pycode = <code object test_subclassing, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000139d8fe50>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00d\x03\x00d\x04\x00g\x03\x00\xca\x02\x00}\x01\x00d\x05\x00t\x01\x00f\x01\x00d\x...\xcc\x1e\x00|\x01\x00\xc9\x05\x00|\x03\x00d\x07\x00\xca\x02\x00d\x08\x00k\x02\x00sc\x01t\x03\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000139d8fe50>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00d\x03\x00d\x04\x00g\x03\x00\xca\x02\x00}\x01\x00d\x05\x00t\x01\x00f\x01\x00d\x...\xcc\x1e\x00|\x01\x00\xc9\x05\x00|\x03\x00d\x07\x00\xca\x02\x00d\x08\x00k\x02\x00sc\x01t\x03\x00\x82\x01\x00d\x00\x00S'
next_instr = 24L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000139d8fe50>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
oparg = 2, ignored = (24L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_subclass...rm64/build/pypy/module/cpyext/test/test_dictobject.py:334]', line 1> at line 25
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)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_XINCREF(result);\n return result;\n '))])])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a2523d8>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_XINCREF(result);\n return result;\n '))])])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a2523d8>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_XINCREF(result);\n return result;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, 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:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a2523d8>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000012a2523d8>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... Py_XINCREF(result);\n return result;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x000000012a252988>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000... Py_...lt);\n return result;\n '))]), W_BytesObject(''), None, W_BytesObject(''), 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.bool_w(scope_w[5]))
<2557-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_XINCREF(result);\n return result;\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)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000139f3f670>
modname = 'foo'
functions = [('dict_setitem', 'METH_VARARGS', '\n PyObject *d, *key, *value;\n if (!PyArg_ParseTuple(args,... result = PyDict_GetItem(d, key);\n Py_XINCREF(result);\n return result;\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 = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
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:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000139f3f670>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '\n static PyObject* foo_dict_setitem(PyObject *self, PyObject *args)\n {\n \n PyObje...ct_delitem, METH_VARARGS},\n{"dict_getitem", (PyCFunction)foo_dict_getitem, METH_VARARGS},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=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 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:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x0000000139f3f670>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-main-5331/foo-7/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \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-main-5331/foo-7/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5331/foo-7/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5331'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-main-5331/foo-7/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5331/foo-7/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5331'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000014979d120>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5331'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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 0x000000014979d120>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-main-5331', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye.../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-main-5331', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye...-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_dictobject.py::AppTestDictObject::()::test_subclassing
===================== 1 failed, 17 passed in 48.35 seconds =====================
++ 01:09:31 starting module/cpyext/test/test_floatobject.py [57 started in total]
__ module/cpyext/test/test_fileobject.py [55 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 31.73 seconds ===========================
++ 01:09:45 starting module/cpyext/test/test_frameobject.py [58 started in total]
__ module/cpyext/test/test_eval.py [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 19 items
module/cpyext/test/test_eval.py ...................
========================== 19 passed in 47.19 seconds ==========================
++ 01:09:59 starting module/cpyext/test/test_funcobject.py [59 started in total]
__ module/cpyext/test/test_floatobject.py [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 15 items
module/cpyext/test/test_floatobject.py ...............
========================== 15 passed in 46.57 seconds ==========================
++ 01:10:23 starting module/cpyext/test/test_genobject.py [60 started in total]
__ module/cpyext/test/test_frameobject.py [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 2 items
module/cpyext/test/test_frameobject.py ..
========================== 2 passed in 34.51 seconds ===========================
++ 01:10:29 starting module/cpyext/test/test_getargs.py [61 started in total]
__ module/cpyext/test/test_funcobject.py [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 7 items
module/cpyext/test/test_funcobject.py .......
========================== 7 passed in 26.54 seconds ===========================
++ 01:10:31 starting module/cpyext/test/test_import.py [62 started in total]
__ module/cpyext/test/test_genobject.py [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/cpyext/test/test_genobject.py .
========================== 1 passed in 22.74 seconds ===========================
++ 01:10:51 starting module/cpyext/test/test_intobject.py [63 started in total]
__ module/cpyext/test/test_import.py [61 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_import.py ......
========================== 6 passed in 32.47 seconds ===========================
++ 01:11:09 starting module/cpyext/test/test_iterator.py [64 started in total]
__ module/cpyext/test/test_getargs.py [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 11 items
module/cpyext/test/test_getargs.py ...........
========================== 11 passed in 45.01 seconds ==========================
++ 01:11:21 starting module/cpyext/test/test_listobject.py [65 started in total]
__ module/cpyext/test/test_intobject.py [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 10 items
module/cpyext/test/test_intobject.py ..........
========================== 10 passed in 38.68 seconds ==========================
++ 01:11:35 starting module/cpyext/test/test_longobject.py [66 started in total]
__ module/cpyext/test/test_iterator.py [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 5 items
module/cpyext/test/test_iterator.py .....
========================== 5 passed in 33.08 seconds ===========================
in sq_inplace_repeat, n=3
++ 01:11:47 starting module/cpyext/test/test_mapping.py [67 started in total]
__ module/cpyext/test/test_listobject.py [65 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 12 items
module/cpyext/test/test_listobject.py ............
========================== 12 passed in 36.82 seconds ==========================
++ 01:12:05 starting module/cpyext/test/test_marshal.py [68 started in total]
__ module/cpyext/test/test_longobject.py [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 20 items
module/cpyext/test/test_longobject.py ....................
========================== 20 passed in 44.70 seconds ==========================
++ 01:12:26 starting module/cpyext/test/test_memoryobject.py [69 started in total]
__ module/cpyext/test/test_mapping.py [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 6 items
module/cpyext/test/test_mapping.py ......
========================== 6 passed in 33.88 seconds ===========================
++ 01:12:32 starting module/cpyext/test/test_methodobject.py [70 started in total]
__ module/cpyext/test/test_marshal.py [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 2 items
module/cpyext/test/test_marshal.py ..
========================== 2 passed in 33.69 seconds ===========================
++ 01:12:49 starting module/cpyext/test/test_misc.py [71 started in total]
__ module/cpyext/test/test_memoryobject.py [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 8 items
module/cpyext/test/test_memoryobject.py .....s..
===================== 7 passed, 1 skipped in 44.29 seconds =====================
++ 01:13:18 starting module/cpyext/test/test_module.py [72 started in total]
__ module/cpyext/test/test_methodobject.py [70 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 11 items
module/cpyext/test/test_methodobject.py .........F.
=================================== FAILURES ===================================
______________________ AppTestMethodObject.test_callfunc _______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000139b45718>, 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_callfunc'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_callfunc'>}
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 0x00000001388fa100>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x000000013a07c2e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_callfunc'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_callfunc'>}
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 0x000000013a07c2e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_callfunc'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_callfunc'>}
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_callfunc'>, '__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 0x0000000129bffe70>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...t_callfunc'>, '__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 0x0000000129e32920>
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 0x0000000129e32920>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...t_callfunc'>, '__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_callfunc'>, '__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 0x0000000129bffe20>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...t_callfunc'>, '__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 0x0000000129e328e0>
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 0x0000000129e328e0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...t_callfunc'>, '__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_callfunc'>, '__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_callfunc'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_callfunc'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_callfunc'>, space = StdObjSpace
target = <function test_callfunc at 0x000000013a42c890>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000010914d2b8>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000010914d2b8>,)
w_func = <Function test_callfunc>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000010914d2b8>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_callfunc>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000010914d2b8>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_callfunc>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000010914d2b8>,)
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_callfunc, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_methodobject.py:211]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
pycode = <code object test_callfunc, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000010a2cdbb0>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00d\x03\x00d\x04\x00g\x03\x00\xca\x02\x00}\x01\x00|\x01\x00\xc9\x01\x00|\x01\x00...\x00\x83\x01\x00\x8f\x18\x00\x01|\x01\x00\xc9\x01\x00|\x01\x00j\x02\x00d\x06\x00\xca\x02\x00\x01Wd\x00\x00QXd\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000010a2cdbb0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00d\x03\x00d\x04\x00g\x03\x00\xca\x02\x00}\x01\x00|\x01\x00\xc9\x01\x00|\x01\x00...\x00\x83\x01\x00\x8f\x18\x00\x01|\x01\x00\xc9\x01\x00|\x01\x00j\x02\x00d\x06\x00\xca\x02\x00\x01Wd\x00\x00QXd\x00\x00S'
next_instr = 24L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000010a2cdbb0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
oparg = 2, ignored = (24L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_callfunc...64/build/pypy/module/cpyext/test/test_methodobject.py:211]', line 1> at line 26
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)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...;\n return Py_BuildValue("OO", args, kwargs);\n '))])])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000109c3cb80>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...;\n return Py_BuildValue("OO", args, kwargs);\n '))])])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000109c3cb80>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...;\n return Py_BuildValue("OO", args, kwargs);\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, 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:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000109c3cb80>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x0000000109c3cb80>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob...;\n return Py_BuildValue("OO", args, kwargs);\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x0000000109c3cc60>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...ne;\n ...y_BuildValue("OO", args, kwargs);\n '))]), W_BytesObject(''), None, W_BytesObject(''), 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.bool_w(scope_w[5]))
<2436-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...ne;\n return Py_BuildValue("OO", args, kwargs);\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)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000010a2dac28>
modname = 'foo'
functions = [('callfunc', 'METH_VARARGS', '\n PyObject *func, *argseq=NULL, *kwargs=NULL;\n if (!PyA...\n if (!kwargs) kwargs = Py_None;\n return Py_BuildValue("OO", args, kwargs);\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 = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
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:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000010a2dac28>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '\n static PyObject* foo_callfunc(PyObject *self, PyObject *args)\n {\n \n PyObjec...OARGS, METH_NOARGS},\n{"func_KW", (PyCFunction)foo_func_KW, METH_VARARGS | METH_KEYWORDS},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=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 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:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000010a2dac28>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-main-5347/foo-2/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \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-main-5347/foo-2/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5347/foo-2/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5347'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-main-5347/foo-2/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5347/foo-2/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5347'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x00000001093cf7e0>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5347'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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 0x00000001093cf7e0>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-main-5347', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye.../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-main-5347', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye...-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_methodobject.py::AppTestMethodObject::()::test_callfunc
===================== 1 failed, 10 passed in 48.48 seconds =====================
++ 01:13:30 starting module/cpyext/test/test_ndarrayobject.py [73 started in total]
__ module/cpyext/test/test_misc.py [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 1 items
module/cpyext/test/test_misc.py .
========================== 1 passed in 33.95 seconds ===========================
++ 01:13:33 starting module/cpyext/test/test_number.py [74 started in total]
__ module/cpyext/test/test_module.py [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 2 items
module/cpyext/test/test_module.py ..
========================== 2 passed in 21.54 seconds ===========================
++ 01:13:46 starting module/cpyext/test/test_object.py [75 started in total]
__ module/cpyext/test/test_ndarrayobject.py [73 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 24 items
module/cpyext/test/test_ndarrayobject.py .....................sss
==================== 21 passed, 3 skipped in 29.02 seconds =====================
++ 01:14:08 starting module/cpyext/test/test_pycobject.py [76 started in total]
__ module/cpyext/test/test_number.py [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 11 items
module/cpyext/test/test_number.py ...........
========================== 11 passed in 39.43 seconds ==========================
got no exc
got no exc
got exc
++ 01:14:18 starting module/cpyext/test/test_pyerrors.py [77 started in total]
__ module/cpyext/test/test_object.py [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 35 items
module/cpyext/test/test_object.py ........................s..........
==================== 34 passed, 1 skipped in 54.30 seconds =====================
++ 01:14:44 starting module/cpyext/test/test_pyfile.py [78 started in total]
__ module/cpyext/test/test_pycobject.py [76 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_pycobject.py .
========================== 1 passed in 32.75 seconds ===========================
++ 01:14:46 starting module/cpyext/test/test_pysignals.py [79 started in total]
__ module/cpyext/test/test_pyerrors.py [77 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 27 items
module/cpyext/test/test_pyerrors.py .........s..F..s........s..
=================================== FAILURES ===================================
_____________________ AppTestFetch.test_fetch_and_restore ______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x0000000118f0cc50>, 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_fetch_and_restore'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_fetch_and_restore'>}
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 0x000000011806a170>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001097a42a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_fetch_and_restore'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_fetch_and_restore'>}
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 0x00000001097a42a0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_fetch_and_restore'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_fetch_and_restore'>}
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_fetch_and_restore'>, '__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 0x0000000109681e70>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...nd_restore'>, '__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 0x0000000109d209a0>
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 0x0000000109d209a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...nd_restore'>, '__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_fetch_and_restore'>, '__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 0x0000000109681e20>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...nd_restore'>, '__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 0x0000000109d20920>
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 0x0000000109d20920>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...nd_restore'>, '__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_fetch_and_restore'>, '__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_fetch_and_restore'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fetch_and_restore'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fetch_and_restore'>, space = StdObjSpace
target = <function test_fetch_and_restore at 0x0000000118f0d268>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001198b2fe0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001198b2fe0>,)
w_func = <Function test_fetch_and_restore>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001198b2fe0>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_fetch_and_restore>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001198b2fe0>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_fetch_and_restore>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001198b2fe0>,)
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_fetch_and_restore, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', 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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
pycode = <code object test_fetch_and_restore, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000010a0b74e8>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00g\x01\x00\xca\x02\x00}\x01\x00\xcc\x12\x00|\x01\x00\xc9\x01\x00\xca\x00\x00s*\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000010a0b74e8>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
co_code = '|\x00\x00\xc9\x00\x00d\x01\x00d\x02\x00g\x01\x00\xca\x02\x00}\x01\x00\xcc\x12\x00|\x01\x00\xc9\x01\x00\xca\x00\x00s*\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 18L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000010a0b74e8>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', line 1> at line 3
oparg = 2, ignored = (18L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', 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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fetch_an...s-arm64/build/pypy/module/cpyext/test/test_pyerrors.py:151]', 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)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... PyErr_Clear();\n Py_RETURN_TRUE;\n '))])])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000016135bc58>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... PyErr_Clear();\n Py_RETURN_TRUE;\n '))])])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000016135bc58>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... PyErr_Clear();\n Py_RETURN_TRUE;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, 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:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000016135bc58>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x000000016135bc58>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.Ob... PyErr_Clear();\n Py_RETURN_TRUE;\n '))])])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x000000016135bd38>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000...\n ...();\n Py_RETURN_TRUE;\n '))]), W_BytesObject(''), None, W_BytesObject(''), 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.bool_w(scope_w[5]))
<2531-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...\n PyErr_Clear();\n Py_RETURN_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)
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:347:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00000001198b29c0>
modname = 'foo'
functions = [('check_error', 'METH_NOARGS', '\n PyObject *type, *val, *tb;\n PyErr_SetString(PyExc_TypeErr...rred())\n Py_RETURN_FALSE;\n PyErr_Clear();\n Py_RETURN_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 = """Py_InitModule("%s", methods);
""" % (modname,)
if more_init:
init += """#define INITERROR return
"""
init += more_init
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:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00000001198b29c0>
name = 'foo', init = 'Py_InitModule("foo", methods);\n '
body = '\n static PyObject* foo_check_error(PyObject *self, PyObject *args)\n {\n \n PyObjec...PyMethodDef methods[] = {\n {"check_error", (PyCFunction)foo_check_error, METH_NOARGS},\n { NULL }\n };\n '
filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=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 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:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00000001198b29c0>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-main-5354/foo-1/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...};\n \n\n PyMODINIT_FUNC\n initfoo(void) {\n Py_InitModule("foo", methods);\n \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-main-5354/foo-1/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5354/foo-1/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5354'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-main-5354/foo-1/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5354/foo-1/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5354'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x0000000109d215a0>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5354'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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 0x0000000109d215a0>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-main-5354', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye.../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-main-5354', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye...-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_pyerrors.py::AppTestFetch::()::test_fetch_and_restore
=============== 1 failed, 23 passed, 3 skipped in 55.09 seconds ================
++ 01:15:23 starting module/cpyext/test/test_pystate.py [80 started in total]
__ module/cpyext/test/test_pysignals.py [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 1 items
module/cpyext/test/test_pysignals.py .
========================== 1 passed in 31.57 seconds ===========================
++ 01:15:24 starting module/cpyext/test/test_pystrtod.py [81 started in total]
__ module/cpyext/test/test_pyfile.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 9 items
module/cpyext/test/test_pyfile.py ....x....
===================== 8 passed, 1 xfailed in 34.46 seconds =====================
++ 01:15:28 starting module/cpyext/test/test_sequence.py [82 started in total]
__ module/cpyext/test/test_pystrtod.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 18 items
module/cpyext/test/test_pystrtod.py ..................
========================== 18 passed in 25.14 seconds ==========================
++ 01:15:57 starting module/cpyext/test/test_setobject.py [83 started in total]
__ module/cpyext/test/test_sequence.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 23 items
module/cpyext/test/test_sequence.py .......................
========================== 23 passed in 42.59 seconds ==========================
++ 01:16:20 starting module/cpyext/test/test_sliceobject.py [84 started in total]
__ module/cpyext/test/test_pystate.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 13 items
module/cpyext/test/test_pystate.py .............
========================== 13 passed in 53.30 seconds ==========================
++ 01:16:22 starting module/cpyext/test/test_structseq.py [85 started in total]
__ module/cpyext/test/test_setobject.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 9 items
module/cpyext/test/test_setobject.py .........
========================== 9 passed in 33.75 seconds ===========================
++ 01:16:41 starting module/cpyext/test/test_sysmodule.py [86 started in total]
__ module/cpyext/test/test_structseq.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 1 items
module/cpyext/test/test_structseq.py .
========================== 1 passed in 32.03 seconds ===========================
++ 01:17:00 starting module/cpyext/test/test_thread.py [87 started in total]
__ module/cpyext/test/test_sliceobject.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 6 items
module/cpyext/test/test_sliceobject.py ......
========================== 6 passed in 36.14 seconds ===========================
++ 01:17:04 starting module/cpyext/test/test_traceback.py [88 started in total]
__ module/cpyext/test/test_sysmodule.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 3 items
module/cpyext/test/test_sysmodule.py ...
========================== 3 passed in 33.04 seconds ===========================
++ 01:17:19 starting module/cpyext/test/test_translate.py [89 started in total]
__ module/cpyext/test/test_translate.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 1 items
module/cpyext/test/test_translate.py .
=========================== 1 passed in 4.12 seconds ===========================
++ 01:17:28 starting module/cpyext/test/test_tupleobject.py [90 started in total]
__ module/cpyext/test/test_traceback.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 1 items
module/cpyext/test/test_traceback.py .
========================== 1 passed in 22.53 seconds ===========================
++ 01:17:32 starting module/cpyext/test/test_typeobject.py [91 started in total]
__ module/cpyext/test/test_thread.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 4 items
module/cpyext/test/test_thread.py ....
========================== 4 passed in 38.43 seconds ===========================
++ 01:17:44 starting module/cpyext/test/test_unicodeobject.py [92 started in total]
__ module/cpyext/test/test_tupleobject.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 10 items
module/cpyext/test/test_tupleobject.py ..........
========================== 10 passed in 41.72 seconds ==========================
++ 01:18:19 starting module/cpyext/test/test_userslots.py [93 started in total]
__ module/cpyext/test/test_unicodeobject.py [91 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 47 items
module/cpyext/test/test_unicodeobject.py .............................s.................
==================== 46 passed, 1 skipped in 52.50 seconds =====================
++ 01:18:43 starting module/cpyext/test/test_version.py [94 started in total]
__ module/cpyext/test/test_userslots.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 6 items
module/cpyext/test/test_userslots.py ......
========================== 6 passed in 44.19 seconds ===========================
++ 01:19:10 starting module/cpyext/test/test_weakref.py [95 started in total]
__ module/cpyext/test/test_version.py [93 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 3 items
module/cpyext/test/test_version.py ..F
=================================== FAILURES ===================================
______________________ AppTestVersion.test_pypy_versions _______________________
self = <CallInfo when='call' exception: command 'cc' terminated by signal 10>
func = <function <lambda> at 0x00000001101b6e30>, 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_pypy_versions'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_pypy_versions'>}
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 0x000000013805a100>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000119003be0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_pypy_versions'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_pypy_versions'>}
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 0x0000000119003be0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_pypy_versions'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_pypy_versions'>}
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_pypy_versions'>, '__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 0x0000000119414cc8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...y_versions'>, '__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 0x00000001293d2060>
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 0x00000001293d2060>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...y_versions'>, '__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_pypy_versions'>, '__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 0x0000000119414bb0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...y_versions'>, '__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 0x00000001293d2020>
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 0x00000001293d2020>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...y_versions'>, '__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_pypy_versions'>, '__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_pypy_versions'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_pypy_versions'>
def runtest(self):
target = self.obj
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_pypy_versions'>, space = StdObjSpace
target = <function test_pypy_versions at 0x00000001101b6ea8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001195bd1a0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001195bd1a0>,)
w_func = <Function test_pypy_versions>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001195bd1a0>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_pypy_versions>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001195bd1a0>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_pypy_versions>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001195bd1a0>,)
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_pypy_versions, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_version.py:36]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
pycode = <code object test_pypy_versions, file '[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015aa380c8>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x02\x00}\x02\x00|\x00\x00\xc9\x01\x00d\x03\x00d\x04\x00d\x05\x00|\x02\x00\xca\x...\x00>|\x04\x00d\x08\x00\x19d\x0f\x00>B|\x04\x00d\t\x00\x19d\x10\x00>Bk\x02\x00s\xd0\x00t\x05\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015aa380c8>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x02\x00}\x02\x00|\x00\x00\xc9\x01\x00d\x03\x00d\x04\x00d\x05\x00|\x02\x00\xca\x...\x00>|\x04\x00d\x08\x00\x19d\x0f\x00>B|\x04\x00d\t\x00\x19d\x10\x00>Bk\x02\x00s\xd0\x00t\x05\x00\x82\x01\x00d\x00\x00S'
next_instr = 39L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x000000015aa380c8>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_pypy_ver...os-arm64/build/pypy/module/cpyext/test/test_version.py:36]', line 1> at line 10
oparg = 512, ignored = (39L,), n_args = 0, n_kwargs = -1, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1)
w_result = f.space.call_valuestack(
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args + 2)
else:
keywords = [None] * n_kwargs
keywords_w = [None] * n_kwargs
while True:
n_kwargs -= 1
if n_kwargs < 0:
break
w_value = f.popvalue()
w_key = f.popvalue()
key = f.space.text_w(w_key)
keywords[n_kwargs] = key
keywords_w[n_kwargs] = w_value
arguments = f.popvalues(n) # includes w_self if it is not None
args = f.argument_factory(
arguments, keywords, keywords_w, None, None,
methodcall=w_self is not None)
if w_self is None:
f.popvalue_maybe_none() # removes w_self, which is None
w_callable = f.popvalue()
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:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = <FunctionWithFixedCode import_module>
args = Arguments([], ['name', 'init'], [W_BytesObject('foo'), W_BytesObject('\n ...dIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n ')])
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:186:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_module>
args = Arguments([], ['name', 'init'], [W_BytesObject('foo'), W_BytesObject('\n ...dIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n ')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001197063d8>
func = <FunctionWithFixedCode import_module>
args = Arguments([], ['name', 'init'], [W_BytesObject('foo'), W_BytesObject('\n ...dIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n ')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001197063d8>
func = <FunctionWithFixedCode import_module>, w_obj = None
args = Arguments([], ['name', 'init'], [W_BytesObject('foo'), W_BytesObject('\n ...dIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n ')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, 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:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001197063d8>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001197063d8>
func = <FunctionWithFixedCode import_module>, w_obj = None
args = Arguments([], ['name', 'init'], [W_BytesObject('foo'), W_BytesObject('\n ...dIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n ')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_text_or_none_text_fsencode_or_none_W_Root_bool object at 0x00000001197064f0>
space = StdObjSpace
scope_w = [W_BytesObject('foo'), W_BytesObject('\n if (Py_IsInitialized()) {\n PyObject *m = ...AddIntConstant...W_BytesObject(''), <pypy.objspace.std.noneobject.W_NoneObject object at 0x00000001397c18a0>, None, W_BoolObject(False)]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), space.text_or_none_w(scope_w[1]), space.text_w(scope_w[2]), space.fsencode_or_none_w(scope_w[3]), scope_w[4], space.bool_w(scope_w[5]))
<2435-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, name = 'foo'
init = '\n if (Py_IsInitialized()) {\n PyObject *m = Py_InitModule("foo", NULL);\n PyModule_AddS...n", PYPY_VERSION);\n PyModule_AddIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n '
body = '', filename = None, w_include_dirs = None, PY_SSIZE_T_CLEAN = False
@unwrap_spec(name='text', init='text_or_none', body='text',
filename='fsencode_or_none', PY_SSIZE_T_CLEAN=bool)
def import_module(space, name, init=None, body='',
filename=None, w_include_dirs=None,
PY_SSIZE_T_CLEAN=False):
include_dirs = _unwrap_include_dirs(space, w_include_dirs)
w_result = self.sys_info.import_module(
> name, init, body, filename, include_dirs, PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:330:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000015aa3bec0>
name = 'foo'
init = '\n if (Py_IsInitialized()) {\n PyObject *m = Py_InitModule("foo", NULL);\n PyModule_AddS...n", PYPY_VERSION);\n PyModule_AddIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n '
body = '', filename = None, include_dirs = None, PY_SSIZE_T_CLEAN = False
def import_module(self, name, init=None, body='', filename=None,
include_dirs=None, PY_SSIZE_T_CLEAN=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 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:80:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x000000015aa3bec0>
name = 'foo', include_dirs = []
source_files = [local('/tmp/buildbot-arm64/usession-main-5371/foo-1/source_0.c')]
source_strings = ['\n \n #include <Python.h>\n /* fix for cpython 2.7 Python.h if running tests with -A\n since pypy co...ON);\n PyModule_AddIntConstant(m, "pypy_version_num", PYPY_VERSION_NUM);\n }\n \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-main-5371/foo-1/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5371/foo-1/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5371'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:191:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cfilenames = [local('/tmp/buildbot-arm64/usession-main-5371/foo-1/source_0.c')]
outputfilename = local('/tmp/buildbot-arm64/usession-main-5371/foo-1/foo.so')
compile_extra = [], link_extra = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5371'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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:223:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <distutils.unixccompiler.UnixCCompiler instance at 0x000000012931a160>
sources = ['source_0.c'], output_dir = None, macros = []
include_dirs = [local('/tmp/buildbot-arm64/usession-main-5371'), local('/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/mo.../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 0x000000012931a160>
obj = 'source_0.o', src = 'source_0.c', ext = '.c'
cc_args = ['-I/tmp/buildbot-arm64/usession-main-5371', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye.../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-main-5371', '-I/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/cpye...-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_version.py::AppTestVersion::()::test_pypy_versions
===================== 1 failed, 2 passed in 34.35 seconds ======================
++ 01:19:27 starting module/crypt/test [96 started in total]
__ module/crypt/test [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 1 items
module/crypt/test/test_crypt.py .
=========================== 1 passed in 2.99 seconds ===========================
++ 01:19:30 starting module/errno/test [97 started in total]
__ module/errno/test [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 3 items
module/errno/test/test_errno.py ...
=========================== 3 passed in 2.96 seconds ===========================
++ 01:19:34 starting module/exceptions/test [98 started in total]
__ module/exceptions/test [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 24 items
module/exceptions/test/test_exc.py ..........s.............
===================== 23 passed, 1 skipped in 4.90 seconds =====================
++ 01:19:39 starting module/faulthandler/test [99 started in total]
__ module/faulthandler/test [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 3 items
module/faulthandler/test/test_faulthander.py ..
module/faulthandler/test/test_ztranslation.py .
=========================== 3 passed in 7.73 seconds ===========================
++ 01:19:48 starting module/fcntl/test [100 started in total]
__ module/cpyext/test/test_weakref.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 5 items
module/cpyext/test/test_weakref.py .....
========================== 5 passed in 38.30 seconds ===========================
++ 01:19:55 starting module/gc/test [101 started in total]
__ module/fcntl/test [99 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 0x0000000110c0f358>, 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 0x0000000128312138>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000128db84e0>]
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 0x0000000128db84e0>]
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 0x0000000148c8b6f0>
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 0x0000000110c21560>
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 0x0000000110c21560>
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 0x0000000148c8b6a0>
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 0x0000000110c21520>
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 0x0000000110c21520>
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
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fcntl'>, space = StdObjSpace
target = <function test_fcntl at 0x0000000110c0f6a0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
w_func = <Function test_fcntl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
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 = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
co_code = "d\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00\x89\x00\x00d\x01\...0t'\x00|\x01\x00j\x00\x00|\x05\x00|\x01\x00j \x00d\x1b\x00\x83\x05\x00\x01|\x05\x00\xc9(\x00\xca\x00\x00\x01d\x00\x00S"
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
co_code = "d\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00\x89\x00\x00d\x01\...0t'\x00|\x01\x00j\x00\x00|\x05\x00|\x01\x00j \x00d\x1b\x00\x83\x05\x00\x01|\x05\x00\xc9(\x00\xca\x00\x00\x01d\x00\x00S"
next_instr = 649
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
oparg = 3, ignored = (649,), n_args = 3, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 34
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:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001206c7c20>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._file.interp_file.W_File object at 0x00000001206c6bf0>
w2 = W_IntObject(2), w3 = W_BytesObject('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:942:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001206c7c20>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00000001206c7c20>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._file.interp_file.W_File object at 0x00000001206c6bf0>
w2 = W_IntObject(2), w3 = W_BytesObject('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:937:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w0 = <pypy.module._file.interp_file.W_File object at 0x00000001206c6bf0>
w1 = W_IntObject(2), w2 = W_BytesObject('foo')
def fastfunc_fcntl_3(space, w0, w1, w2):
> return func(space, w0, space.gateway_int_w(w1), w2)
<2392-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._file.interp_file.W_File object at 0x00000001206c6bf0>
op = 2L, w_arg = W_BytesObject('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:
ll_arg = rffi.str2charp(arg)
try:
> rv = fcntl_str(fd, op, ll_arg)
module/fcntl/interp_fcntl.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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)
<2034-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 0x000000012a3d0de8>
argvalues = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
cfunc = <ctypes._FuncPtr object at 0x0000000130e159a0>
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 0x0000000130e15d78>
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 0x0000000130e15d60>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000130e15d78>
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 0x0000000130e15d60>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x0000000130e15d78>
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 0x0000000110889f10>, 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 0x0000000128312138>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000128db84e0>]
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 0x0000000128db84e0>]
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 0x0000000110adb4c0>
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 0x0000000131ffa420>
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 0x0000000131ffa420>
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 0x0000000110adb420>
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 0x0000000131ffa3e0>
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 0x0000000131ffa3e0>
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
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_lockf'>, space = StdObjSpace
target = <function test_lockf at 0x0000000110889f88>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
w_func = <Function test_lockf>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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:159]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', 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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', 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:159]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00t\x03\x00...x01\x00|\x01\x00\xc9\x07\x00|\x04\x00|\x01\x00j\x08\x00\xca\x02\x00\x01|\x04\x00\xc9\x18\x00\xca\x00\x00\x01d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00t\x03\x00...x01\x00|\x01\x00\xc9\x07\x00|\x04\x00|\x01\x00j\x08\x00\xca\x02\x00\x01|\x04\x00\xc9\x18\x00\xca\x00\x00\x01d\x00\x00S'
next_instr = 177L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:159]', line 1> at line 13
oparg = 2, ignored = (177L,), n_args = 2, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:159]', 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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:159]', 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)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction lockf>
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x00000001112774b0>, W_IntObject(6)])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001112777c0>
func = <BuiltinFunction lockf>
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x00000001112774b0>, W_IntObject(6)])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001112777c0>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x00000001112774b0>, 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.name, self.sig,
func.defs_w, 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:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001112777c0>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00000001112777c0>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._file.interp_file.W_File object at 0x00000001112774b0>, 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.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_int_int_int_int object at 0x0000000111277948>
space = StdObjSpace
scope_w = [<pypy.module._file.interp_file.W_File object at 0x00000001112774b0>, 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]))
<2394-codegen /Users/matti/build-worker-arm64/own-macos-arm64/build/rpython/tool/sourcetools.py:200>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._file.interp_file.W_File object at 0x00000001112774b0>
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
l = lltype.malloc(_flock.TO, flavor='raw')
try:
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))
> rv = fcntl_flock(fd, op, l)
module/fcntl/interp_fcntl.py:195:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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)
<2035-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 0x000000012a3d0e58>
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 0x00000001112cb718>
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 0x00000001112cb640>
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 0x00000001112cbd00>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001112cb640>
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 0x00000001112cbd00>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00000001112cb640>
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 0x000000012065cb60>, 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 0x0000000128312138>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000128db84e0>]
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 0x0000000128db84e0>]
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 0x00000001295a3b50>
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 0x000000012a85fb20>
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 0x000000012a85fb20>
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 0x00000001295a3ab0>
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 0x000000012a85fae0>
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 0x000000012a85fae0>
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
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl'>, space = StdObjSpace
target = <function test_ioctl at 0x000000012065cbd8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
w_func = <Function test_ioctl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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:196]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', 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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', 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:196]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...\n\x00|\x0b\x00k\x02\x00sU\x03t\x10\x00\x82\x01\x00Wd\x00\x00|\x03\x00\xc9\x17\x00|\x08\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...\n\x00|\x0b\x00k\x02\x00sU\x03t\x10\x00\x82\x01\x00Wd\x00\x00|\x03\x00\xc9\x17\x00|\x08\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 296
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:196]', line 1> at line 28
oparg = 4, ignored = (296,), n_args = 4, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:196]', 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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:196]', 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:171:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000148f8f248>
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:969:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000148f8f248>
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:963:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w0 = W_IntObject(13), w1 = W_IntObject(1074033783)
w2 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x0000000148f8f248>
w3 = W_BoolObject(True)
def fastfunc_ioctl_4(space, w0, w1, w2, w3):
> return func(space, w0, w1, w2, space.gateway_int_w(w3))
<2411-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 0x0000000148f8f248>
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:
rwbuffer = space.writebuf_w(w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
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:257:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x10cae4e10>>)
real_args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x10cae4e10>>)
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 0x10cae4e10>>
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)
<2037-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 0x10cae4e10>>)
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 0x10cae4e10>>
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 0x000000012a3d0f38>
argvalues = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x10cae4e10>>)
cfunc = <ctypes._FuncPtr object at 0x00000001490daf68>
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 0x10cae4e10>>)
cargs = [13L, 1074033783L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00000001490daec0>
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 0x00000001490db208>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00000001490daec0>
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 0x00000001490db208>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00000001490daec0>
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 0x00000001308e6368>, 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 0x0000000128312138>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x0000000128db84e0>]
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 0x0000000128db84e0>]
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 0x00000001498a0bd8>
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 0x00000001498c0460>
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 0x00000001498c0460>
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 0x00000001498a0b38>
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 0x00000001498c0420>
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 0x00000001498c0420>
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
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
space = StdObjSpace
target = <function test_ioctl_signed_unsigned_code_param at 0x00000001308e6458>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
w_func = <Function test_ioctl_signed_unsigned_code_param>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000148c85ad0>,)
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:272]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', 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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', 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:272]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...}\x0b\x00Wd\x00\x00|\x02\x00\xc9\n\x00|\x06\x00\xca\x01\x00\x01|\x02\x00\xc9\n\x00|\x07\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00d\x01\x00d\x00\x00l\x01\x00}\x02\x00d\x01\x00d\x00\x00l\x02\x00}\x03\x00d\x01\x00...}\x0b\x00Wd\x00\x00|\x02\x00\xc9\n\x00|\x06\x00\xca\x01\x00\x01|\x02\x00\xc9\n\x00|\x07\x00\xca\x01\x00\x01Xd\x00\x00S'
next_instr = 211
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000148c6a2c0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...acos-arm64/build/pypy/module/fcntl/test/test_fcntl.py:272]', line 1> at line 20
oparg = 3, ignored = (211,), n_args = 3, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:272]', 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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:272]', 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)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:190:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
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:781:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
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.name, self.sig,
func.defs_w, 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:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x000000012a6c4058>
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.name, self.sig,
func.defs_w, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:789:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_Root_int object at 0x000000012a6c4170>
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]))
<2410-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:
rwbuffer = space.writebuf_w(w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
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 _get_error(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:285:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x10c969610>>)
real_args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x10c969610>>)
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 0x10c969610>>
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)
<2037-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 0x10c969610>>)
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 0x10c969610>>
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 0x000000012a3d0f38>
argvalues = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x10c969610>>)
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 0x10c969610>>)
cargs = [14L, 2148037735L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000014934b1c0>
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 0x000000014934b580>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000014934b1c0>
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 0x000000014934b580>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x000000014934b1c0>
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 9.59 seconds =================
++ 01:19:58 starting module/imp/test [102 started in total]
__ module/gc/test [100 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 0x0000000118a3c638>, 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 0x00000001288fa138>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00000001187361e0>]
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 0x00000001187361e0>]
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 0x0000000130def600>
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 0x0000000129724e60>
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 0x0000000129724e60>
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 0x0000000130def510>
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 0x0000000129724e20>
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 0x0000000129724e20>
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
if self.config.option.runappdirect:
return target()
space = target.im_self.space
filename = self._getdynfilename(target)
func = app2interp_temp(target.im_func, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_rpy_memory_usage'>, space = StdObjSpace
target = <function test_get_rpy_memory_usage at 0x0000000118a3c6b0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000130a354e8>)
def execute_appex(self, space, target, *args):
self.space = space
try:
> target(*args)
tool/pytest/apptest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000130a354e8>,)
w_func = <Function test_get_rpy_memory_usage>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000130a354e8>
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:1227:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000130a354e8>,)
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):
w_inst = w_func.w_instance
if w_inst is not None:
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_inst, *args_w)
elif args_w and (
self.abstract_isinstance_w(args_w[0], w_func.w_class)):
w_func = w_func.w_function
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1210:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000130a354e8>,)
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:75]', 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()
interpreter/function.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
def run(self):
"""Start this frame's execution."""
if self.getcode().co_flags & pycode.CO_GENERATOR:
from pypy.interpreter.generator import GeneratorIterator
return GeneratorIterator(self)
else:
> return self.execute_frame()
interpreter/pyframe.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
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:290:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', 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:943:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
w_inputvalue = None, operr = None
def execute_frame(self, w_inputvalue=None, operr=None):
"""Execute this frame. Main entry point to the interpreter.
The optional arguments are there to handle a generator's frame:
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
# 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)
#
try:
if operr is not None:
next_instr = self.handle_operation_error(
executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE instruction.
next_instr = r_uint(self.last_instr + 1)
if next_instr != 0:
self.pushvalue(w_inputvalue)
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', 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:75]', line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000109bb5da8>
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:
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00|\x01\x00\xc9\x01\x00d\x02\x00\xca\x01\x00}\x02\x00|\x02\x00GH\xcc"\x00d\x03\x00|\x02\x00\x04\x03k\x01\x00o:\x00d\x04\x00k\x01\x00n\x02\x00\x02\x01sE\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000109bb5da8>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
co_code = 'd\x01\x00d\x00\x00l\x00\x00}\x01\x00|\x01\x00\xc9\x01\x00d\x02\x00\xca\x01\x00}\x02\x00|\x02\x00GH\xcc"\x00d\x03\x00|\x02\x00\x04\x03k\x01\x00o:\x00d\x04\x00k\x01\x00n\x02\x00\x02\x01sE\x00t\x02\x00\x82\x01\x00d\x00\x00S'
next_instr = 24L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x0000000109bb5da8>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
if self.debugdata:
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):
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])
next_instr += 1
if opcode >= HAVE_ARGUMENT:
lo = ord(co_code[next_instr])
hi = ord(co_code[next_instr+1])
next_instr += 2
oparg = (hi * 256) | lo
else:
oparg = 0
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
lo = ord(co_code[next_instr+1])
hi = ord(co_code[next_instr+2])
next_instr += 3
oparg = (oparg * 65536) | (hi * 256) | lo
if opcode == opcodedesc.RETURN_VALUE.index:
if not self.blockstack_non_empty():
self.frame_finished_execution = True # for generators
raise Return
w_returnvalue = self.popvalue()
block = self.unrollstack(SReturnValue.kind)
if block is None:
self.pushvalue(w_returnvalue)
raise Return
else:
unroller = SReturnValue(w_returnvalue)
next_instr = block.handle(self, unroller)
return next_instr # now inside a 'finally' block
elif opcode == opcodedesc.END_FINALLY.index:
unroller = self.end_finally()
if isinstance(unroller, SuspendedUnroller):
# go on unrolling the stack
block = self.unrollstack(unroller.kind)
if block is None:
w_result = unroller.nomoreblocks()
self.pushvalue(w_result)
raise Return
else:
next_instr = block.handle(self, unroller)
return next_instr
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, ec)
elif opcode == opcodedesc.BREAK_LOOP.index:
next_instr = self.BREAK_LOOP(oparg, next_instr)
elif opcode == opcodedesc.CONTINUE_LOOP.index:
return self.CONTINUE_LOOP(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:
next_instr = self.JUMP_IF_FALSE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_DEBUG.index:
next_instr = self.JUMP_IF_NOT_DEBUG(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
next_instr = self.JUMP_IF_TRUE_OR_POP(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
next_instr = self.POP_JUMP_IF_FALSE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
next_instr = self.POP_JUMP_IF_TRUE(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_DIVIDE.index:
self.BINARY_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(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_CLASS.index:
self.BUILD_CLASS(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_VAR.index:
self.CALL_FUNCTION_VAR(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_VAR_KW.index:
self.CALL_FUNCTION_VAR_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...macos-arm64/build/pypy/module/gc/test/test_referents.py:75]', line 1> at line 3
oparg = 1, ignored = (24L,), n_args = 1, n_kwargs = 0, w_self = None
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg & 0xff
n_kwargs = (oparg >> 8) & 0xff
w_self = f.peekvalue_maybe_none(n_args + (2 * n_kwargs))
n = n_args + (w_self is not None)
if not n_kwargs:
w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:75]', 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)
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):
w_inst = w_func.w_instance
if w_inst is not None:
w_func = w_func.w_function
# reuse callable stack place for w_inst
frame.settopvalue(w_inst, nargs)
nargs += 1
methodcall = True
elif nargs > 0 and (
self.abstract_isinstance_w(frame.peekvalue(nargs-1), # :-(
w_func.w_class)):
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:1243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:75]', 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:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000001293f8aa0>
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:893:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000001293f8aa0>
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:819:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00000001293f8aa0>
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:888:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:822: 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 12.22 seconds ================
++ 01:20:09 starting module/itertools/test [103 started in total]
__ module/itertools/test [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 73 items
module/itertools/test/test_itertools.py ........................................................................
module/itertools/test/test_ztranslation.py .
========================== 73 passed in 19.65 seconds ==========================
++ 01:20:29 starting module/marshal/test [104 started in total]
__ module/marshal/test [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 80 items
module/marshal/test/test_marshal.py ...................................................................
module/marshal/test/test_marshalimpl.py .............
========================== 80 passed in 8.14 seconds ===========================
++ 01:20:40 starting module/math/test [105 started in total]
__ module/imp/test [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 124 items
module/imp/test/test_app.py ................
module/imp/test/test_import.py ..............................s.........................................................s...................
==================== 122 passed, 2 skipped in 41.98 seconds ====================
++ 01:20:42 starting module/micronumpy/test [106 started in total]
__ module/cpyext/test/test_typeobject.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 68 items
module/cpyext/test/test_typeobject.py ...............s................................................s...
==================== 66 passed, 2 skipped in 191.20 seconds ====================
++ 01:20:48 starting module/mmap/test [107 started in total]
__ module/math/test [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 182 items
module/math/test/test_direct.py ......................................................................................................................................................................
module/math/test/test_factorial.py .s
module/math/test/test_math.py .........s....
==================== 180 passed, 2 skipped in 7.10 seconds =====================
++ 01:20:48 starting module/operator/test [108 started in total]
__ module/operator/test [106 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/operator/test/test_operator.py ..................
module/operator/test/test_tscmp.py .........
========================== 27 passed in 4.18 seconds ===========================
++ 01:20:54 starting module/parser/test [109 started in total]
__ module/mmap/test [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 43 items
module/mmap/test/test_mmap.py .....................s...............ss..s.
===================== 39 passed, 4 skipped in 7.50 seconds =====================
++ 01:20:56 starting module/posix/test [110 started in total]
__ module/parser/test [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 7 items
module/parser/test/test_parser.py .......
=========================== 7 passed in 3.14 seconds ===========================
++ 01:20:58 starting module/pwd/test [111 started in total]
__ module/pwd/test [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 4 items
module/pwd/test/test_pwd.py ...
module/pwd/test/test_ztranslation.py .
=========================== 4 passed in 8.72 seconds ===========================
++ 01:21:08 starting module/pyexpat/test [112 started in total]
__ module/pyexpat/test [110 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/test_build.py .
module/pyexpat/test/test_parser.py ...s..............ss
==================== 18 passed, 3 skipped in 20.29 seconds =====================
++ 01:21:32 starting module/pypyjit/test [113 started in total]
__ module/posix/test [111 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 104 items
module/posix/test/test_posix2.py ...............................F..........................s..........ss..........s................s
module/posix/test/test_posix_libfile.py ....
module/posix/test/test_ztranslation.py .
=================================== FAILURES ===================================
______________________ AppTestPosix.test_popen_child_fds _______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00000001293c7638>
def test_popen_child_fds(self):
os = self.posix
with open('/'.join([self.pdir, 'file1']), 'r') as fd:
with self.posix.popen('%s -c "import os; print os.read(%d, 10)" 2>&1' % (self.python, fd.fileno())) as stream:
res = stream.read()
if self.plat == 'win32':
assert '\nOSError: [Errno 9]' in res
else:
> assert res == 'test1\n'
E (application-level) AssertionError: assert '' == 'test1\n'
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/posix/test/test_posix2.py:509]:9: AssertionError
=========================== short test summary info ============================
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_popen_child_fds
=============== 1 failed, 98 passed, 5 skipped in 37.39 seconds ================
++ 01:21:34 starting module/select/test [114 started in total]
__ module/pypyjit/test [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 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 9.76 seconds =====================
++ 01:21:42 starting module/signal/test [115 started in total]
__ module/select/test [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 41 items
module/select/test/test_epoll.py ssssssss
module/select/test/test_kqueue.py .....
module/select/test/test_select.py ...........................
module/select/test/test_ztranslation.py .
==================== 33 passed, 8 skipped in 19.80 seconds =====================
++ 01:21:54 starting module/struct/test [116 started in total]
__ module/signal/test [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 18 items
module/signal/test/test_signal.py ..................
========================== 18 passed in 16.21 seconds ==========================
++ 01:22:00 starting module/sys/test [117 started in total]
__ module/struct/test [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 41 items
module/struct/test/test_struct.py ........................................
module/struct/test/test_ztranslation.py .
========================== 41 passed in 15.65 seconds ==========================
++ 01:22:12 starting module/termios/test [118 started in total]
__ module/sys/test [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 65 items
module/sys/test/apptest_initpath.py .
module/sys/test/test_encoding.py s
module/sys/test/test_initpath.py .......
module/sys/test/test_sysmodule.py ...............................s....................
module/sys/test/test_version.py ....
==================== 63 passed, 2 skipped in 10.48 seconds =====================
++ 01:22:12 starting module/test_lib_pypy [119 started in total]
__ module/termios/test [117 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/termios/test/test_termios.py sssssF..
=================================== FAILURES ===================================
__________________________ AppTestTermios.test_values __________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x0000000108ec6f70>
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: assert [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] == [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)]
E + where [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = sorted([('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)])
E + where [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGSIZE', 1074295912), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSSIZE', 2148037735), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGSIZE': 1074295912, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSSIZE': 2148037735, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}>()
E + where <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGSIZE': 1074295912, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSSIZE': 2148037735, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}> = {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGSIZE': 1074295912, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSSIZE': 2148037735, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}.items
E + and [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = sorted([('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)])
E + where [('B0', 0), ('B110', 110), ('B115200', 115200), ('B1200', 1200), ('B134', 134), ('B150', 150), ('B1800', 1800), ('B19200', 19200), ('B200', 200), ('B230400', 230400), ('B2400', 2400), ('B300', 300), ('B38400', 38400), ('B4800', 4800), ('B50', 50), ('B57600', 57600), ('B600', 600), ('B75', 75), ('B9600', 9600), ('BRKINT', 2), ('BS0', 0), ('BS1', 32768), ('BSDLY', 32768), ('CDSUSP', 25), ('CEOF', 4), ('CEOL', 255), ('CEOT', 4), ('CERASE', 127), ('CFLUSH', 15), ('CINTR', 3), ('CKILL', 21), ('CLNEXT', 22), ('CLOCAL', 32768), ('CQUIT', 28), ('CR0', 0), ('CR1', 4096), ('CR2', 8192), ('CR3', 12288), ('CRDLY', 12288), ('CREAD', 2048), ('CRPRNT', 18), ('CRTSCTS', 196608), ('CS5', 0), ('CS6', 256), ('CS7', 512), ('CS8', 768), ('CSIZE', 768), ('CSTART', 17), ('CSTOP', 19), ('CSTOPB', 1024), ('CSUSP', 26), ('CWERASE', 23), ('ECHO', 8), ('ECHOCTL', 64), ('ECHOE', 2), ('ECHOK', 4), ('ECHOKE', 1), ('ECHONL', 16), ('ECHOPRT', 32), ('EXTA', 19200), ('EXTB', 38400), ('FF0', 0), ('FF1', 16384), ('FFDLY', 16384), ('FIOASYNC', 2147772029), ('FIOCLEX', 536897025), ('FIONBIO', 2147772030), ('FIONCLEX', 536897026), ('FIONREAD', 1074030207), ('FLUSHO', 8388608), ('HUPCL', 16384), ('ICANON', 256), ('ICRNL', 256), ('IEXTEN', 1024), ('IGNBRK', 1), ('IGNCR', 128), ('IGNPAR', 4), ('IMAXBEL', 8192), ('INLCR', 64), ('INPCK', 16), ('ISIG', 128), ('ISTRIP', 32), ('IXANY', 2048), ('IXOFF', 1024), ('IXON', 512), ('NCCS', 20), ('NL0', 0), ('NL1', 256), ('NLDLY', 768), ('NOFLSH', 2147483648), ('OCRNL', 16), ('OFDEL', 131072), ('OFILL', 128), ('ONLCR', 2), ('ONLRET', 64), ('ONOCR', 32), ('OPOST', 1), ('PARENB', 4096), ('PARMRK', 8), ('PARODD', 8192), ('PENDIN', 536870912), ('TAB0', 0), ('TAB1', 1024), ('TAB2', 2048), ('TAB3', 4), ('TABDLY', 3076), ('TCIFLUSH', 1), ('TCIOFF', 3), ('TCIOFLUSH', 3), ('TCION', 4), ('TCOFLUSH', 2), ('TCOOFF', 1), ('TCOON', 2), ('TCSADRAIN', 1), ('TCSAFLUSH', 2), ('TCSANOW', 0), ('TCSASOFT', 16), ('TIOCCONS', 2147775586), ('TIOCEXCL', 536900621), ('TIOCGETD', 1074033690), ('TIOCGPGRP', 1074033783), ('TIOCGWINSZ', 1074295912), ('TIOCMBIC', 2147775595), ('TIOCMBIS', 2147775596), ('TIOCMGET', 1074033770), ('TIOCMSET', 2147775597), ('TIOCM_CAR', 64), ('TIOCM_CD', 64), ('TIOCM_CTS', 32), ('TIOCM_DSR', 256), ('TIOCM_DTR', 2), ('TIOCM_LE', 1), ('TIOCM_RI', 128), ('TIOCM_RNG', 128), ('TIOCM_RTS', 4), ('TIOCM_SR', 16), ('TIOCM_ST', 8), ('TIOCNOTTY', 536900721), ('TIOCNXCL', 536900622), ('TIOCOUTQ', 1074033779), ('TIOCPKT', 2147775600), ('TIOCPKT_DATA', 0), ('TIOCPKT_DOSTOP', 32), ('TIOCPKT_FLUSHREAD', 1), ('TIOCPKT_FLUSHWRITE', 2), ('TIOCPKT_NOSTOP', 16), ('TIOCPKT_START', 8), ('TIOCPKT_STOP', 4), ('TIOCSCTTY', 536900705), ('TIOCSETD', 2147775515), ('TIOCSPGRP', 2147775606), ('TIOCSTI', 2147578994), ('TIOCSWINSZ', 2148037735), ('TOSTOP', 4194304), ('VDISCARD', 15), ('VEOF', 0), ('VEOL', 1), ('VEOL2', 2), ('VERASE', 3), ('VINTR', 8), ('VKILL', 5), ('VLNEXT', 14), ('VMIN', 16), ('VQUIT', 9), ('VREPRINT', 6), ('VSTART', 12), ('VSTOP', 13), ('VSUSP', 10), ('VT0', 0), ('VT1', 65536), ('VTDLY', 65536), ('VTIME', 17), ('VWERASE', 4)] = <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}>()
E + where <bound method dict.items of {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}> = {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}.items
E + where {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4} = {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4}
E + where {'B0': 0, 'B110': 110, 'B115200': 115200, 'B1200': 1200, 'B134': 134, 'B150': 150, 'B1800': 1800, 'B19200': 19200, 'B200': 200, 'B230400': 230400, 'B2400': 2400, 'B300': 300, 'B38400': 38400, 'B4800': 4800, 'B50': 50, 'B57600': 57600, 'B600': 600, 'B75': 75, 'B9600': 9600, 'BRKINT': 2, 'BS0': 0, 'BS1': 32768, 'BSDLY': 32768, 'CDSUSP': 25, 'CEOF': 4, 'CEOL': 255, 'CEOT': 4, 'CERASE': 127, 'CFLUSH': 15, 'CINTR': 3, 'CKILL': 21, 'CLNEXT': 22, 'CLOCAL': 32768, 'CQUIT': 28, 'CR0': 0, 'CR1': 4096, 'CR2': 8192, 'CR3': 12288, 'CRDLY': 12288, 'CREAD': 2048, 'CRPRNT': 18, 'CRTSCTS': 196608, 'CS5': 0, 'CS6': 256, 'CS7': 512, 'CS8': 768, 'CSIZE': 768, 'CSTART': 17, 'CSTOP': 19, 'CSTOPB': 1024, 'CSUSP': 26, 'CWERASE': 23, 'ECHO': 8, 'ECHOCTL': 64, 'ECHOE': 2, 'ECHOK': 4, 'ECHOKE': 1, 'ECHONL': 16, 'ECHOPRT': 32, 'EXTA': 19200, 'EXTB': 38400, 'FF0': 0, 'FF1': 16384, 'FFDLY': 16384, 'FIOASYNC': 2147772029, 'FIOCLEX': 536897025, 'FIONBIO': 2147772030, 'FIONCLEX': 536897026, 'FIONREAD': 1074030207, 'FLUSHO': 8388608, 'HUPCL': 16384, 'ICANON': 256, 'ICRNL': 256, 'IEXTEN': 1024, 'IGNBRK': 1, 'IGNCR': 128, 'IGNPAR': 4, 'IMAXBEL': 8192, 'INLCR': 64, 'INPCK': 16, 'ISIG': 128, 'ISTRIP': 32, 'IXANY': 2048, 'IXOFF': 1024, 'IXON': 512, 'NCCS': 20, 'NL0': 0, 'NL1': 256, 'NLDLY': 768, 'NOFLSH': 2147483648, 'OCRNL': 16, 'OFDEL': 131072, 'OFILL': 128, 'ONLCR': 2, 'ONLRET': 64, 'ONOCR': 32, 'OPOST': 1, 'PARENB': 4096, 'PARMRK': 8, 'PARODD': 8192, 'PENDIN': 536870912, 'TAB0': 0, 'TAB1': 1024, 'TAB2': 2048, 'TAB3': 4, 'TABDLY': 3076, 'TCIFLUSH': 1, 'TCIOFF': 3, 'TCIOFLUSH': 3, 'TCION': 4, 'TCOFLUSH': 2, 'TCOOFF': 1, 'TCOON': 2, 'TCSADRAIN': 1, 'TCSAFLUSH': 2, 'TCSANOW': 0, 'TCSASOFT': 16, 'TIOCCONS': 2147775586, 'TIOCEXCL': 536900621, 'TIOCGETD': 1074033690, 'TIOCGPGRP': 1074033783, 'TIOCGWINSZ': 1074295912, 'TIOCMBIC': 2147775595, 'TIOCMBIS': 2147775596, 'TIOCMGET': 1074033770, 'TIOCMSET': 2147775597, 'TIOCM_CAR': 64, 'TIOCM_CD': 64, 'TIOCM_CTS': 32, 'TIOCM_DSR': 256, 'TIOCM_DTR': 2, 'TIOCM_LE': 1, 'TIOCM_RI': 128, 'TIOCM_RNG': 128, 'TIOCM_RTS': 4, 'TIOCM_SR': 16, 'TIOCM_ST': 8, 'TIOCNOTTY': 536900721, 'TIOCNXCL': 536900622, 'TIOCOUTQ': 1074033779, 'TIOCPKT': 2147775600, 'TIOCPKT_DATA': 0, 'TIOCPKT_DOSTOP': 32, 'TIOCPKT_FLUSHREAD': 1, 'TIOCPKT_FLUSHWRITE': 2, 'TIOCPKT_NOSTOP': 16, 'TIOCPKT_START': 8, 'TIOCPKT_STOP': 4, 'TIOCSCTTY': 536900705, 'TIOCSETD': 2147775515, 'TIOCSPGRP': 2147775606, 'TIOCSTI': 2147578994, 'TIOCSWINSZ': 2148037735, 'TOSTOP': 4194304, 'VDISCARD': 15, 'VEOF': 0, 'VEOL': 1, 'VEOL2': 2, 'VERASE': 3, 'VINTR': 8, 'VKILL': 5, 'VLNEXT': 14, 'VMIN': 16, 'VQUIT': 9, 'VREPRINT': 6, 'VSTART': 12, 'VSTOP': 13, 'VSUSP': 10, 'VT0': 0, 'VT1': 65536, 'VTDLY': 65536, 'VTIME': 17, 'VWERASE': 4} = <AppTestTermios object at 0x0000000108ec6f70>.orig_module_dict
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/termios/test/test_termios.py:133]:8: AssertionError
=========================== short test summary info ============================
FAIL module/termios/test/test_termios.py::AppTestTermios::()::test_values
================ 1 failed, 2 passed, 5 skipped in 5.60 seconds =================
++ 01:22:19 starting module/thread/test [120 started in total]
__ module/test_lib_pypy [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 238 items / 3 skipped
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_msvcrt.py s
module/test_lib_pypy/test_os_wait.py ...
module/test_lib_pypy/test_pickle_extra.py s
module/test_lib_pypy/test_resource.py ...
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....
==================== 235 passed, 6 skipped in 15.47 seconds ====================
++ 01:22:29 starting module/time/test [121 started in total]
__ module/micronumpy/test [119 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 705 items / 1 skipped
module/micronumpy/test/test_appbridge.py ..
module/micronumpy/test/test_arrayops.py ....................
module/micronumpy/test/test_broadcast.py .......
module/micronumpy/test/test_casting.py ........
module/micronumpy/test/test_compile.py .............................s........
module/micronumpy/test/test_complex.py .........................
module/micronumpy/test/test_deprecations.py .
module/micronumpy/test/test_dtypes.py .............................................................................s......
module/micronumpy/test/test_flagsobj.py .......
module/micronumpy/test/test_iterators.py ...
module/micronumpy/test/test_ndarray.py ......................................................................................................................................................................................................................................................................................................
module/micronumpy/test/test_nditer.py .......s......ss..s
module/micronumpy/test/test_object_arrays.py ......s..s..s
module/micronumpy/test/test_outarg.py .....
module/micronumpy/test/test_scalar.py ...................................
module/micronumpy/test/test_selection.py ........s.sss.....
module/micronumpy/test/test_subtype.py .........................
module/micronumpy/test/test_support.py .
module/micronumpy/test/test_support_app.py ....
module/micronumpy/test/test_ufuncs.py ................................................................................................
=================== 692 passed, 14 skipped in 105.89 seconds ===================
++ 01:22:31 starting module/unicodedata/test [122 started in total]
__ module/unicodedata/test [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 26 items
module/unicodedata/test/test_hyp.py ................
module/unicodedata/test/test_unicodedata.py ..........
========================== 26 passed in 11.51 seconds ==========================
++ 01:22:44 starting module/zipimport/test [123 started in total]
__ module/time/test [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 18 items
module/time/test/test_time.py ..................
========================== 18 passed in 13.61 seconds ==========================
++ 01:22:44 starting module/zlib/test [124 started in total]
__ module/zlib/test [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 31 items
module/zlib/test/test_zlib.py ...............................
========================== 31 passed in 5.56 seconds ===========================
++ 01:22:51 starting objspace/fake/test [125 started in total]
__ objspace/fake/test [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 21 items
objspace/fake/test/test_checkmodule.py ........
objspace/fake/test/test_objspace.py .............
========================== 21 passed in 9.41 seconds ===========================
++ 01:23:01 starting objspace/std/test [126 started in total]
__ module/zipimport/test [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 47 items
module/zipimport/test/test_undocumented.py ......
module/zipimport/test/test_zipimport.py ....................
module/zipimport/test/test_zipimport_deflated.py .....................
========================== 47 passed in 43.24 seconds ==========================
++ 01:23:28 starting objspace/test [127 started in total]
__ objspace/test [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 59 items
objspace/test/apptest_binop_overriding.py .
objspace/test/apptest_descriptor.py ........
objspace/test/apptest_descroperation.py ............s..........................
objspace/test/test_descroperation.py ...........
===================== 58 passed, 1 skipped in 5.65 seconds =====================
++ 01:23:35 starting sandbox/test [128 started in total]
__ sandbox/test [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 1 items
sandbox/test/test_pypy_interact.py .
========================== 1 passed in 16.34 seconds ===========================
++ 01:23:52 starting tool/bench/test [129 started in total]
__ tool/bench/test [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 3 items / 1 skipped
tool/bench/test/test_pypyresult.py ...
===================== 3 passed, 1 skipped in 0.37 seconds ======================
++ 01:23:53 starting tool/memusage/test [130 started in total]
__ tool/memusage/test [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 5 items
tool/memusage/test/test_log2gnumeric.py .....
=========================== 5 passed in 0.39 seconds ===========================
++ 01:23:54 starting tool/pytest/test [131 started in total]
__ module/thread/test [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 48 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 ............
==================== 47 passed, 1 skipped in 117.25 seconds ====================
++ 01:24:22 starting tool/release/test [132 started in total]
__ tool/pytest/test [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 24 items
tool/pytest/test/test_appsupport.py .........
tool/pytest/test/test_astrewrite.py .....
tool/pytest/test/test_conftest1.py ..
tool/pytest/test/test_pytestsupport.py ........
========================== 24 passed in 35.67 seconds ==========================
++ 01:24:32 starting tool/test [133 started in total]
__ tool/release/test [131 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 E...s
tool/release/test/test_smartstrip.py FFs
==================================== ERRORS ====================================
______________ ERROR at setup of TestPackaging.test_dir_structure ______________
item = <Function 'test_dir_structure'>
@pytest.hookimpl(tryfirst=True)
def pytest_runtest_setup(item):
if isinstance(item, py.test.collect.Function):
config = item.config
appdirect = (config.getoption('runappdirect') or
config.getoption('direct_apptest'))
if (get_marker(item, name='pypy_only') and
appdirect and not '__pypy__' in sys.builtin_module_names):
pytest.skip('PyPy-specific test')
appclass = item.getparent(py.test.Class)
if appclass is not None:
from pypy.tool.pytest.objspace import gettestobjspace
# Make cls.space and cls.runappdirect available in tests.
spaceconfig = getattr(appclass.obj, 'spaceconfig', {})
if not appdirect:
spaceconfig.setdefault('objspace.std.reinterpretasserts', True)
> appclass.obj.space = gettestobjspace(**spaceconfig)
conftest.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tool/pytest/objspace.py:25: in gettestobjspace
space = maketestobjspace(config)
tool/pytest/objspace.py:35: in maketestobjspace
space = make_objspace(config)
tool/option.py:33: in make_objspace
return StdObjSpace(config)
interpreter/baseobjspace.py:467: in __init__
self.initialize()
objspace/std/objspace.py:118: in initialize
self.setup_builtin_modules()
interpreter/baseobjspace.py:713: in setup_builtin_modules
mod.setup_after_space_initialization()
module/_warnings/moduledef.py:17: in setup_after_space_initialization
state = self.space.fromcache(State)
../rpython/rlib/cache.py:51: in getorbuild
result = self._build(key)
interpreter/baseobjspace.py:402: in _build
return callable(self.space)
module/_warnings/interp_warnings.py:13: in __init__
self.init_filters(space)
module/_warnings/interp_warnings.py:20: in init_filters
if (not space.sys.get_flag('py3k_warning') and
module/sys/moduledef.py:180: in get_flag
return space.int_w(space.getattr(self.get('flags'), space.newtext(name)))
interpreter/mixedmodule.py:81: in get
w_value = self.getdictvalue(space, name)
module/sys/moduledef.py:145: in getdictvalue
value = MixedModule.getdictvalue(self, space, attr)
interpreter/mixedmodule.py:93: in getdictvalue
return self._load_lazily(space, name)
interpreter/mixedmodule.py:103: in _load_lazily
w_value = loader(space)
interpreter/mixedmodule.py:231: in afileloader
return app.wget(space, attrname)
interpreter/gateway.py:1211: in wget
w_globals = self.getwdict(space)
interpreter/gateway.py:1204: in getwdict
return space.fromcache(ApplevelCache).getorbuild(self)
../rpython/rlib/cache.py:51: in getorbuild
result = self._build(key)
interpreter/baseobjspace.py:411: in _build
return self.build(key)
interpreter/gateway.py:1255: in build
return build_applevel_dict(app, self.space)
interpreter/gateway.py:1266: in build_applevel_dict
filename=self.filename)
interpreter/baseobjspace.py:1403: in exec_
return statement.exec_code(self, w_globals, w_locals)
interpreter/eval.py:33: in exec_code
return frame.run()
interpreter/pyframe.py:253: in run
return self.execute_frame()
interpreter/pyframe.py:290: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:943: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:286: in execute_frame
executioncontext)
interpreter/pyopcode.py:64: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:71: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:320: in dispatch_bytecode
self.IMPORT_NAME(oparg, next_instr)
interpreter/pyopcode.py:1063: in IMPORT_NAME
w_locals, w_fromlist)
interpreter/baseobjspace.py:1210: in call_function
return w_func.funccall(*args_w)
interpreter/function.py:124: in funccall
return self.call_args(Arguments(self.space, list(args_w)))
interpreter/function.py:68: in call_args
w_res = self.getcode().funcrun(self, args)
interpreter/gateway.py:781: in funcrun
return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:795: in funcrun_obj
self.handle_exception(space, e)
interpreter/gateway.py:819: in handle_exception
raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:789: in funcrun_obj
w_result = activation._run(space, scope_w)
module/imp/importing.py:293: in importhook
w_fromlist, tentative=True)
module/imp/importing.py:317: in absolute_import
w_fromlist, tentative)
module/imp/importing.py:326: in absolute_import_with_lock
w_fromlist, tentative)
module/imp/importing.py:404: in _absolute_import
tentative=tentative)
module/imp/importing.py:703: in load_part
space, modulename, w_modulename, partname, w_path)
module/imp/importing.py:593: in find_module
stream = streamio.open_file_as_stream(filename, filemode)
../rpython/rlib/streamio.py:88: in open_file_as_stream
stream = open_path_helper(path, os_flags, basemode == "a", signal_checker)
../rpython/rlib/streamio.py:123: in open_path_helper
fd = rposix.open(path, os_flags, 0666)
../rpython/rlib/rposix.py:470: in open
fd = c_open(_as_bytes0(path), flags, mode)
../rpython/rtyper/lltypesystem/rffi.py:321: in wrapper
res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/lltype.py:1384: in __call__
return callb(*args)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1339: in __call__
self.natural_arity)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1236: in get_ctypes_callable
symbolic=True)
../rpython/translator/tool/cbuild.py:345: in compile_shared_lib
standalone=False))
../rpython/translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
../rpython/translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
../rpython/translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
../rpython/translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Darwin_arm64 cc=clang>, returncode = -10, stdout = '', stderr = ''
outname = local('/tmp/buildbot-arm64/usession-main-5419/module_cache/module_12.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(out="""
E """)
../rpython/translator/platform/__init__.py:155: CompilationError
=================================== FAILURES ===================================
________________________ TestSmarStrip.test_info_symbol ________________________
self = <pypy.tool.release.test.test_smartstrip.TestSmarStrip object at 0x000000014168a5d0>
exe = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-778/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 0x000000015948ae58>
exe = local('/private/tmp/buildbot-arm64/pytest/pytest-of-matti/pytest-778/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, 3 passed, 2 skipped, 1 error in 11.05 seconds ============
__ objspace/std/test [132 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 2130 items
objspace/std/test/apptest_boolobject.py ........
objspace/std/test/apptest_bufferobject.py ...............
objspace/std/test/apptest_callmethod.py ........
objspace/std/test/apptest_complexobject.py ...............................
objspace/std/test/apptest_instmethobject.py .....
objspace/std/test/apptest_iterobject.py ..............
objspace/std/test/apptest_operation.py ...
objspace/std/test/apptest_stringformat.py ...............s...........................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...................................................................................................................................................................
objspace/std/test/test_dictproxy.py ..........
objspace/std/test/test_floatobject.py ......................................
objspace/std/test/test_identitydict.py ......
objspace/std/test/test_identityset.py .......
objspace/std/test/test_index.py ..............................................
objspace/std/test/test_intobject.py ............................................................s........................................s...............
objspace/std/test/test_iterobject.py ....
objspace/std/test/test_jsondict.py ...........
objspace/std/test/test_kwargsdict.py ....................................
objspace/std/test/test_lengthhint.py ....................
objspace/std/test/test_listobject.py ......................................................................s................................................
objspace/std/test/test_liststrategies.py ...................................................................s..................................................................
objspace/std/test/test_longobject.py .........................................
objspace/std/test/test_mapdict.py ...............................................................................................................................................
objspace/std/test/test_memoryobject.py .......
objspace/std/test/test_methodcache.py .......................................................................
objspace/std/test/test_newformat.py ......................................................................................Fs........
objspace/std/test/test_noneobject.py ...
objspace/std/test/test_obj.py .......................
objspace/std/test/test_prebuiltint.py ...........................s...............
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 .....
objspace/std/test/test_setobject.py ....................................................................................
objspace/std/test/test_setstrategies.py ....s...ss..
objspace/std/test/test_sliceobject.py ............
objspace/std/test/test_smalllongobject.py ............................................................s........................................................................................................................s..............
objspace/std/test/test_specialisedtupleobject.py ..................ss.......................
objspace/std/test/test_stdobjspace.py s......
objspace/std/test/test_tupleobject.py ...................................
objspace/std/test/test_typeobject.py ..............................................................................
objspace/std/test/test_unicodeobject.py .................................s........................................................s.................
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 0x0000000122c87da8>
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: assert '1.234,57' == '1234,57'
E + where '1.234,57' = <function format at 0x0000000113cf7440>('%g', 1234.56789, grouping=True)
E + where <function format at 0x0000000113cf7440> = <function format at 0x0000000113cf7440>
E + where <function format at 0x0000000113cf7440> = <module 'locale' from '/Users/matti/build-worker-arm64/own-macos-arm64/build/lib-python/2.7/locale.pyc'>.format
[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/objspace/std/test/test_newformat.py:395]:19: AssertionError
=========================== short test summary info ============================
FAIL objspace/std/test/test_newformat.py::AppTestFloatFormatting::()::test_locale_german
============== 1 failed, 2097 passed, 32 skipped in 93.05 seconds ==============
__ tool/test [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 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 3.57 seconds ===========================
program finished with exit code 1
elapsedTime=1461.860598