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-x86_64/own-macos-x86-64/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_x86_64/Cellar
HOMEBREW_PREFIX=/opt/homebrew_x86_64
HOMEBREW_REPOSITORY=/opt/homebrew_x86_64
INFOPATH=/opt/homebrew_x86_64/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-x86_64-buildbot/bin:/opt/homebrew_x86_64/bin:/opt/homebrew_x86_64/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_x86_64/opt/openssl@1.1/lib/pkgconfig
PWD=/Users/matti/build-worker-x86_64/own-macos-x86-64/build
PYPYCHERRYPICK=
PYPY_USESSION_DIR=/tmp/buildbot-x86_64
PYTHONPATH=.:
SHELL=/bin/zsh
SHLVL=2
SSH_CLIENT=10.0.0.15 58962 22
SSH_CONNECTION=10.0.0.15 58962 10.0.0.16 22
SSH_TTY=/dev/ttys000
TERM=xterm-256color
TMPDIR=/tmp/buildbot-x86_64/pytest
USER=matti
_=/Users/matti/oss/pypy-x86_64-buildbot/bin/buildslave
using PTY: False
using config pypy/testrunner_cfg.py
using config /Users/matti/machine_cfg.py
running 3 parallel test workers
setting MAKEFLAGS to ' ' (space)
-- config/test
-- interpreter/astcompiler/test
-- interpreter/pyparser/test
-- interpreter/test
-- module/__builtin__/test
-- module/__pypy__/test
-- module/_abc/test
-- module/_ast/test
-- module/_cffi_backend/test
-- module/_codecs/test
-- module/_collections/test
-- module/_continuation/test
-- module/_cppyy/test
-- module/_csv/test
-- module/_demo/test
-- module/_hpy_universal/test/_vendored/test_00_basic.py
-- module/_hpy_universal/test/_vendored/test_argparse.py
-- module/_hpy_universal/test/_vendored/test_call.py
-- module/_hpy_universal/test/_vendored/test_capsule.py
-- module/_hpy_universal/test/_vendored/test_capsule_legacy.py
-- module/_hpy_universal/test/_vendored/test_contextvar.py
-- module/_hpy_universal/test/_vendored/test_cpy_compat.py
-- module/_hpy_universal/test/_vendored/test_eval.py
-- module/_hpy_universal/test/_vendored/test_extra.py
-- module/_hpy_universal/test/_vendored/test_helpers.py
-- module/_hpy_universal/test/_vendored/test_hpybuildvalue.py
-- module/_hpy_universal/test/_vendored/test_hpybytes.py
-- module/_hpy_universal/test/_vendored/test_hpydict.py
-- module/_hpy_universal/test/_vendored/test_hpyerr.py
-- module/_hpy_universal/test/_vendored/test_hpyfield.py
-- module/_hpy_universal/test/_vendored/test_hpyglobal.py
-- module/_hpy_universal/test/_vendored/test_hpyimport.py
-- module/_hpy_universal/test/_vendored/test_hpyiter.py
-- module/_hpy_universal/test/_vendored/test_hpylist.py
-- module/_hpy_universal/test/_vendored/test_hpylong.py
-- module/_hpy_universal/test/_vendored/test_hpymodule.py
-- module/_hpy_universal/test/_vendored/test_hpyslice.py
-- module/_hpy_universal/test/_vendored/test_hpystructseq.py
-- module/_hpy_universal/test/_vendored/test_hpytuple.py
-- module/_hpy_universal/test/_vendored/test_hpytype.py
-- module/_hpy_universal/test/_vendored/test_hpytype_legacy.py
-- module/_hpy_universal/test/_vendored/test_hpyunicode.py
-- module/_hpy_universal/test/_vendored/test_importing.py
-- module/_hpy_universal/test/_vendored/test_legacy_forbidden.py
-- module/_hpy_universal/test/_vendored/test_number.py
-- module/_hpy_universal/test/_vendored/test_object.py
-- module/_hpy_universal/test/_vendored/test_slots.py
-- module/_hpy_universal/test/_vendored/test_slots_legacy.py
-- module/_hpy_universal/test/_vendored/test_support.py
-- module/_hpy_universal/test/_vendored/test_tracker.py
-- module/_hpy_universal/test/pypy
-- module/_io/test
-- module/_jitlog/test
-- module/_locale/test
-- module/_lsprof/test
-- module/_md5/test
-- module/_minimal_curses/test
-- module/_multibytecodec/test
-- module/_multiprocessing/test
-- module/_opcode/test
-- module/_pickle/test
-- module/_pickle_support/test
-- module/_posixsubprocess/test
-- module/_pypyjson/test
-- module/_random/test
-- module/_rawffi/alt/test
-- module/_rawffi/test
-- module/_socket/test
-- module/_sre/test
-- module/_vmprof/test
-- module/_warnings/test
-- module/_weakref/test
-- module/_winreg/test
-- module/array/test
-- module/atexit/test
-- module/binascii/test
-- module/bz2/test
-- module/cmath/test
-- module/cpyext/test/test_api.py
-- module/cpyext/test/test_arraymodule.py
-- module/cpyext/test/test_async_iter.py
-- module/cpyext/test/test_boolobject.py
-- module/cpyext/test/test_borrow.py
-- module/cpyext/test/test_buffer.py
-- module/cpyext/test/test_bytearrayobject.py
-- module/cpyext/test/test_bytesobject.py
-- module/cpyext/test/test_capsule.py
-- module/cpyext/test/test_cell.py
-- module/cpyext/test/test_classobject.py
-- module/cpyext/test/test_codecs.py
-- module/cpyext/test/test_complexobject.py
-- module/cpyext/test/test_contextvars.py
-- module/cpyext/test/test_cpyext.py
-- module/cpyext/test/test_datetime.py
-- module/cpyext/test/test_dictobject.py
-- module/cpyext/test/test_eval.py
-- module/cpyext/test/test_exception.py
-- module/cpyext/test/test_fileobject.py
-- module/cpyext/test/test_floatobject.py
-- module/cpyext/test/test_frameobject.py
-- module/cpyext/test/test_funcobject.py
-- module/cpyext/test/test_genobject.py
-- module/cpyext/test/test_getargs.py
-- module/cpyext/test/test_import.py
-- module/cpyext/test/test_iterator.py
-- module/cpyext/test/test_listobject.py
-- module/cpyext/test/test_longobject.py
-- module/cpyext/test/test_mapping.py
-- module/cpyext/test/test_marshal.py
-- module/cpyext/test/test_memoryobject.py
-- module/cpyext/test/test_methodobject.py
-- module/cpyext/test/test_misc.py
-- module/cpyext/test/test_module.py
-- module/cpyext/test/test_namespaceobject.py
-- module/cpyext/test/test_ndarrayobject.py
-- module/cpyext/test/test_number.py
-- module/cpyext/test/test_object.py
-- module/cpyext/test/test_pyerrors.py
-- module/cpyext/test/test_pyfile.py
-- module/cpyext/test/test_pymem.py
-- module/cpyext/test/test_pysignals.py
-- module/cpyext/test/test_pystate.py
-- module/cpyext/test/test_pystrhex.py
-- module/cpyext/test/test_pystrtod.py
-- module/cpyext/test/test_sequence.py
-- module/cpyext/test/test_setobject.py
-- module/cpyext/test/test_sliceobject.py
-- module/cpyext/test/test_structseq.py
-- module/cpyext/test/test_sysmodule.py
-- module/cpyext/test/test_thread.py
-- module/cpyext/test/test_traceback.py
-- module/cpyext/test/test_translate.py
-- module/cpyext/test/test_tupleobject.py
-- module/cpyext/test/test_typeobject.py
-- module/cpyext/test/test_unicodeobject.py
-- module/cpyext/test/test_userslots.py
-- module/cpyext/test/test_version.py
-- module/cpyext/test/test_weakref.py
-- module/crypt/test
-- module/errno/test
-- module/exceptions/test
-- module/faulthandler/test
-- module/fcntl/test
-- module/gc/test
-- module/imp/test
-- module/itertools/test
-- module/marshal/test
-- module/math/test
-- module/micronumpy/test
-- module/mmap/test
-- module/operator/test
-- module/posix/test
-- module/pwd/test
-- module/pyexpat/test
-- module/pypyjit/test
-- module/select/test
-- module/signal/test
-- module/struct/test
-- module/sys/test
-- module/termios/test
-- module/test_lib_pypy
-- module/thread/test
-- module/time/test
-- module/token/test
-- module/unicodedata/test
-- module/zipimport/test
-- module/zlib/test
-- objspace/fake/test
-- objspace/std/test
-- objspace/test
-- sandbox/test
-- tool/bench/test
-- tool/memusage/test
-- tool/pytest/fake_pytest/test
-- tool/pytest/test
-- tool/release/test
-- tool/test
-- total: 177 to run
++ 05:15:48 starting config/test [1 started in total]
++ 05:15:48 starting interpreter/astcompiler/test [2 started in total]
++ 05:15:48 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.py
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 161 items / 1 skipped
config/test/test_pypyoption.py .................................................................................................................................................................
==================== 161 passed, 1 skipped in 26.55 seconds ====================
++ 05:16:16 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 192 items
interpreter/pyparser/test/apptest_parsestring.py ......
interpreter/pyparser/test/test_automata.py ...
interpreter/pyparser/test/test_future.py ...................................
interpreter/pyparser/test/test_gendfa.py .
interpreter/pyparser/test/test_parsestring.py ............
interpreter/pyparser/test/test_pyparse.py .........................................................................................................
interpreter/pyparser/test/test_pytokenizer.py ..............................
========================= 192 passed in 84.45 seconds ==========================
++ 05:17:16 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1509 items
interpreter/astcompiler/test/apptest_compiler.py ......
interpreter/astcompiler/test/apptest_exceptiongroup.py .........................
interpreter/astcompiler/test/apptest_misc.py ...............
interpreter/astcompiler/test/apptest_patma.py ......................................
interpreter/astcompiler/test/test_assemble.py .......................
interpreter/astcompiler/test/test_ast.py ............
interpreter/astcompiler/test/test_astbuilder.py .................................................................................................................
interpreter/astcompiler/test/test_compiler.py .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
interpreter/astcompiler/test/test_misc.py ...............
interpreter/astcompiler/test/test_symtable.py ........................................
interpreter/astcompiler/test/test_unparse.py ................................
interpreter/astcompiler/test/test_validate.py .....................................................
======================== 1509 passed in 141.16 seconds =========================
++ 05:18:13 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 319 items
module/__builtin__/test/apptest_compile.py .....................
module/__builtin__/test/apptest_descriptor.py .....
module/__builtin__/test/apptest_operator.py ...
module/__builtin__/test/apptest_print.py ...
module/__builtin__/test/test_abstractinst.py ..........s..
module/__builtin__/test/test_breakpoint.py ........
module/__builtin__/test/test_builtin.py .......................................................................
module/__builtin__/test/test_compile.py ..
module/__builtin__/test/test_construct_singletons.py .
module/__builtin__/test/test_descriptor.py ...................................
module/__builtin__/test/test_dir.py ...........
module/__builtin__/test/test_filter.py ........
module/__builtin__/test/test_filter_pickle.py .....
module/__builtin__/test/test_format.py .
module/__builtin__/test/test_functional.py ........................................................................................
module/__builtin__/test/test_map_pickle.py ...
module/__builtin__/test/test_minmax.py .......................
module/__builtin__/test/test_rawinput.py ..
module/__builtin__/test/test_sum.py .
module/__builtin__/test/test_vars.py ...
module/__builtin__/test/test_zip.py ...........
module/__builtin__/test/test_zip_pickle.py .
==================== 318 passed, 1 skipped in 58.19 seconds ====================
++ 05:18:21 starting module/_abc/test [7 started in total]
__ module/_abc/test [5 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_abc/test/apptest_abc.py ...
module/_abc/test/test_abc.py ...
========================== 6 passed in 28.53 seconds ===========================
++ 05:18:54 starting module/_ast/test [8 started in total]
__ module/__pypy__/test [6 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 77 items
module/__pypy__/test/apptest_picklebuffer.py ....
module/__pypy__/test/test_builders.py .....
module/__pypy__/test/test_bytebuffer.py ...
module/__pypy__/test/test_debug.py .......
module/__pypy__/test/test_identitydict.py ......
module/__pypy__/test/test_intop.py ...........
module/__pypy__/test/test_locals2fast.py .....
module/__pypy__/test/test_magic.py .......s..
module/__pypy__/test/test_newmemoryview.py ......
module/__pypy__/test/test_os.py .
module/__pypy__/test/test_signal.py ..s.s
module/__pypy__/test/test_special.py ............s.
==================== 73 passed, 4 skipped in 57.63 seconds =====================
++ 05:19:12 starting module/_cffi_backend/test [9 started in total]
__ module/_ast/test [7 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 55 items
module/_ast/test/apptest_ast.py ...
module/_ast/test/test_ast.py ....................................................
========================== 55 passed in 61.49 seconds ==========================
++ 05:20:00 starting module/_codecs/test [10 started in total]
__ module/_codecs/test [8 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 98 items
module/_codecs/test/apptest_codecs.py ..
module/_codecs/test/test_codecs.py ....................sss...........................................................s......
module/_codecs/test/test_locale.py ...FF.
module/_codecs/test/test_ztranslation.py .
=================================== FAILURES ===================================
__________ TestLocaleCodec.test_decode_locale_latin1[locale_decoder0] __________
self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x00007ff61d72be88>
locale_decoder = <function str_decode_locale_surrogateescape at 0x00007ff5f9149628>
@pytest.mark.parametrize('locale_decoder',
(str_decode_locale_surrogateescape, str_decode_locale_strict))
def test_decode_locale_latin1(self, locale_decoder):
self.setlocale("fr_FR")
uni = u"août"
string = uni.encode('latin1')
> assert locale_decoder(string) == (uni.encode('utf8'), len(uni))
E assert ('ao\xed\xb3\xbbt', 4) == ('ao\xc3\xbbt', 4)
E At index 0 diff: 'ao\xed\xb3\xbbt' != 'ao\xc3\xbbt'
E Use -v to get the full diff
module/_codecs/test/test_locale.py:77: AssertionError
__________ TestLocaleCodec.test_decode_locale_latin1[locale_decoder1] __________
self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x00007ff60b08dd00>
locale_decoder = <function str_decode_locale_strict at 0x00007ff5f9149c40>
@pytest.mark.parametrize('locale_decoder',
(str_decode_locale_surrogateescape, str_decode_locale_strict))
def test_decode_locale_latin1(self, locale_decoder):
self.setlocale("fr_FR")
uni = u"août"
string = uni.encode('latin1')
> assert locale_decoder(string) == (uni.encode('utf8'), len(uni))
module/_codecs/test/test_locale.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
module/_codecs/locale.py:118: in str_decode_locale_strict
errorhandler('strict', 'filesystemencoding', errmsg, s, 0, 1)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
errors = 'strict', encoding = 'filesystemencoding'
msg = 'pypy_char2wchar_strict failed', s = 'ao\xfbt', startingpos = 0
endingpos = 1
def default_unicode_error_decode(errors, encoding, msg, s,
startingpos, endingpos):
assert endingpos >= 0
if errors == 'replace':
return u'\ufffd', endingpos
if errors == 'ignore':
return u'', endingpos
> raise UnicodeDecodeError(encoding, s, startingpos, endingpos, msg)
E UnicodeDecodeError: 'filesystemencoding' codec can't decode byte 0x61 in position 0: pypy_char2wchar_strict failed
../rpython/rlib/runicode.py:104: UnicodeDecodeError
=========================== short test summary info ============================
FAIL module/_codecs/test/test_locale.py::TestLocaleCodec::()::test_decode_locale_latin1[locale_decoder0]
FAIL module/_codecs/test/test_locale.py::TestLocaleCodec::()::test_decode_locale_latin1[locale_decoder1]
=============== 2 failed, 92 passed, 4 skipped in 88.13 seconds ================
++ 05:21:35 starting module/_collections/test [11 started in total]
__ module/_collections/test [9 done in total, somefailed=False] _______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 66 items
module/_collections/test/apptest_defaultdict.py ..............
module/_collections/test/apptest_deque.py ..........................................
module/_collections/test/apptest_ordereddict.py ..........
========================== 66 passed in 51.33 seconds ==========================
++ 05:22:33 starting module/_continuation/test [12 started in total]
__ module/_cffi_backend/test [10 done in total, somefailed=True] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 467 items
module/_cffi_backend/test/test_c.py ................................................................................sss.s....................................................s.....s...................s...s.............................s........................s......
module/_cffi_backend/test/test_fastpath.py ..................
module/_cffi_backend/test/test_ffi_obj.py ..............................................
module/_cffi_backend/test/test_file.py s..
module/_cffi_backend/test/test_parse_c_type.py ..............s...
module/_cffi_backend/test/test_re_python.py ...!!! BAD UTF8 !!!
[67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 233, 46, 115, 111, 58, 32, 34, 67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 58, 32, 100, 108, 111, 112, 101, 110, 40, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 44, 32, 48, 120, 48, 48, 48, 50, 41, 58, 32, 116, 114, 105, 101, 100, 58, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 34]
length 780 real_length -999
F................
module/_cffi_backend/test/test_recompiler.py ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
module/_cffi_backend/test/test_unicode_literals.py .......
module/_cffi_backend/test/test_wchar_helper.py .
module/_cffi_backend/test/test_ztranslation.py s
=================================== FAILURES ===================================
_________________ AppTestRecompilerPython.test_dlopen_unicode __________________
self = <CallInfo when='call' exception: >
func = <function <lambda> at 0x00007f945c69c020>, when = 'call'
def __init__(self, func, when):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:150:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> return CallInfo(lambda: ihook(item=item, **kwds), when=when)
../_pytest/runner.py:138:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_dlopen_unicode'>}
def __call__(self, **kwargs):
assert not self.is_historic()
> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
../_pytest/vendored_packages/pluggy.py:724:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00007f948863c9f8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007f94789be860>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_dlopen_unicode'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007f94789be860>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_dlopen_unicode'>}
self._inner_hookexec = lambda hook, methods, kwargs: \
> _MultiCall(methods, kwargs, hook.spec_opts).execute()
../_pytest/vendored_packages/pluggy.py:333:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007f947afb9cb8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007f946b8d59a0>
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 0x00007f946b8d59a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007f947afb9bf0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007f946b8d5960>
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 0x00007f946b8d5960>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...en_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_dlopen_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_dlopen_unicode'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_dlopen_unicode'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_dlopen_unicode'>, space = StdObjSpace
target = <function test_dlopen_unicode at 0x00007f948bb71f88>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f947b2f2838>)
e = OperationError(<W_TypeObject 'OSError' at 0x7f945bd37360>)
tb = <traceback object at 0x00007f946d3bada0>
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
target(*args)
except OperationError as e:
if self.config.option.raise_operr:
raise
tb = sys.exc_info()[2]
if e.match(space, space.w_KeyboardInterrupt):
raise KeyboardInterrupt, KeyboardInterrupt(), tb
> appexcinfo = appsupport.AppExceptionInfo(space, e)
tool/pytest/apptest.py:274:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <[BadUtf8("") raised in repr()] SafeRepr object at 0x7f948a002360>
space = StdObjSpace
operr = OperationError(<W_TypeObject 'OSError' at 0x7f945bd37360>)
def __init__(self, space, operr):
self.space = space
self.operr = operr
self.typename = operr.w_type.getname(space)
self.traceback = AppTraceback(space, self.operr.get_traceback())
debug_excs = getattr(operr, 'debug_excs', [])
if debug_excs:
self._excinfo = debug_excs[0]
> self.value = self.operr.errorstr(self.space) # XXX
tool/pytest/appsupport.py:106:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = OperationError(<W_TypeObject 'OSError' at 0x7f945bd37360>)
space = StdObjSpace, use_repr = False
def errorstr(self, space, use_repr=False):
"The exception class and value, as a string."
if not use_repr: # see write_unraisable()
> w_value = self.normalize_exception(space)
interpreter/error.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = OperationError(<W_TypeObject 'OSError' at 0x7f945bd37360>)
space = StdObjSpace
@jit.unroll_safe
def normalize_exception(self, space):
"""Normalize the OperationError. In other words, fix w_type and/or
w_value to make sure that the __class__ of w_value is exactly w_type.
"""
#
# This method covers all ways in which the Python statement
# "raise X, Y" can produce a valid exception type and instance.
#
# In the following table, 'Class' means a subclass of BaseException
# and 'inst' is an instance of either 'Class' or a subclass of it.
#
# The flow object space only deals with non-advanced case.
#
# input (w_type, w_value)... becomes... advanced case?
# ---------------------------------------------------------------------
# (Class, None) (Class, Class()) no
# (Class, inst) (inst.__class__, inst) no
# (Class, tuple) (Class, Class(*tuple)) yes
# (Class, x) (Class, Class(x)) no
# (inst, None) (inst.__class__, inst) no
#
w_type = self.w_type
> w_value = self.get_w_value(space)
interpreter/error.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = OperationError(<W_TypeObject 'OSError' at 0x7f945bd37360>)
space = StdObjSpace
def get_w_value(self, space):
w_value = self._w_value
if w_value is None:
value, lgt = self._compute_value(space)
> self._w_value = w_value = space.newtext(value, lgt)
interpreter/error.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
s = 'Cannot load library /tmp/buildbot-x86_64/usession-py3.11-601/load_caf\xe9.so: "Cannot load library /tmp/buildbot-x86_...ad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-x86_64/usession-py3.11-601/load_caf\\xe9.so\' (no such file)"'
lgt = 678, unused = -1
@specialize.arg_or_var(1)
def newtext(self, s, lgt=-1, unused=-1):
# the unused argument can be from something like
# newtext(*decode_utf8sp(space, code))
if is_annotation_constant(s) and s is not None:
> return self._newtext_memo(s)
objspace/std/objspace.py:409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
s = 'Cannot load library /tmp/buildbot-x86_64/usession-py3.11-601/load_caf\xe9.so: "Cannot load library /tmp/buildbot-x86_...ad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-x86_64/usession-py3.11-601/load_caf\\xe9.so\' (no such file)"'
@specialize.memo()
def _newtext_memo(self, s):
# try to see whether we exist as an interned string, but don't intern
# if not
w_u = self.interned_strings.get(s)
if w_u is not None:
return w_u
lgt = rutf8.codepoints_in_utf8(s)
> return W_UnicodeObject(s, lgt)
objspace/std/objspace.py:428:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = W_UnicodeObject('Cannot load library /tmp/buildbot-x86_64/usession-py3.11-601/...te/tmp/buildbot-x86_64/usession-py3.11-601/load_caf\\xe9.so\' (no such file)"')
utf8str = 'Cannot load library /tmp/buildbot-x86_64/usession-py3.11-601/load_caf\xe9.so: "Cannot load library /tmp/buildbot-x86_...ad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-x86_64/usession-py3.11-601/load_caf\\xe9.so\' (no such file)"'
length = 780
def __init__(self, utf8str, length):
if not we_are_translated():
typecheck(self, utf8str, length) # rpython.rlib.objectmodel
> return __init___original(self, utf8str, length)
<654-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:292>:5:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = W_UnicodeObject('Cannot load library /tmp/buildbot-x86_64/usession-py3.11-601/...te/tmp/buildbot-x86_64/usession-py3.11-601/load_caf\\xe9.so\' (no such file)"')
utf8str = 'Cannot load library /tmp/buildbot-x86_64/usession-py3.11-601/load_caf\xe9.so: "Cannot load library /tmp/buildbot-x86_...ad_caf\\xe9.so\' (no such file), \'/private/tmp/buildbot-x86_64/usession-py3.11-601/load_caf\\xe9.so\' (no such file)"'
length = 780
@enforceargs(utf8str=str)
def __init__(self, utf8str, length):
assert isinstance(utf8str, bytes)
# TODO: how to handle surrogates
assert length >= 0
self._utf8 = utf8str
self._length = length
self._index_storage = rutf8.null_storage()
if CHECK_ALL_STRINGS or not we_are_translated():
# utf8str must always be a valid utf8 string, except maybe with
# explicit surrogate characters---which .decode('utf-8') doesn't
# special-case in Python 2, which is exactly what we want here
try:
if sys.maxunicode == 0xffff:
# can't use .decode('utf-8') because it will add surrogates
real_length = rutf8.check_utf8(utf8str, True)
else:
real_length = len(utf8str.decode('utf-8'))
except (rutf8.CheckError, UnicodeDecodeError):
real_length = -999
if length != real_length:
from rpython.rlib.debug import debug_print
debug_print("!!! BAD UTF8 !!!")
debug_print(str([ord(c) for c in utf8str]))
debug_print("length", length, "real_length", real_length)
> raise BadUtf8
E BadUtf8
objspace/std/unicodeobject.py:86: BadUtf8
----------------------------- Captured stderr call -----------------------------
!!! BAD UTF8 !!!
[67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 233, 46, 115, 111, 58, 32, 34, 67, 97, 110, 110, 111, 116, 32, 108, 111, 97, 100, 32, 108, 105, 98, 114, 97, 114, 121, 32, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 58, 32, 100, 108, 111, 112, 101, 110, 40, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 44, 32, 48, 120, 48, 48, 48, 50, 41, 58, 32, 116, 114, 105, 101, 100, 58, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 83, 121, 115, 116, 101, 109, 47, 86, 111, 108, 117, 109, 101, 115, 47, 80, 114, 101, 98, 111, 111, 116, 47, 67, 114, 121, 112, 116, 101, 120, 101, 115, 47, 79, 83, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 44, 32, 39, 47, 112, 114, 105, 118, 97, 116, 101, 47, 116, 109, 112, 47, 98, 117, 105, 108, 100, 98, 111, 116, 45, 120, 56, 54, 95, 54, 52, 47, 117, 115, 101, 115, 115, 105, 111, 110, 45, 112, 121, 51, 46, 49, 49, 45, 54, 48, 49, 47, 108, 111, 97, 100, 95, 99, 97, 102, 92, 120, 101, 57, 46, 115, 111, 39, 32, 40, 110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 41, 34]
length 780 real_length -999
=========================== short test summary info ============================
FAIL module/_cffi_backend/test/test_re_python.py::AppTestRecompilerPython::()::test_dlopen_unicode
============= 1 failed, 329 passed, 137 skipped in 235.80 seconds ==============
++ 05:23:11 starting module/_cppyy/test [13 started in total]
__ module/_continuation/test [11 done in total, somefailed=True] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 72 items / 2 skipped
module/_continuation/test/test_generator.py ssss
module/_continuation/test/test_greenlet.py s.ssssss.sssssssssssssss.sss
module/_continuation/test/test_stacklet.py sssssssssssssss.ssssssssssssssssssssssssE
==================================== ERRORS ====================================
______ ERROR at teardown of AppTestStacklet.test_sampling_inside_callback ______
self = <CallInfo when='teardown' exception: Invalid value for fakevmprof._ignore_signals: expected 1, got 0. This probably means that you called {start,stop}_sampling() a wrong number of times>
func = <function <lambda> at 0x00007f82ca539c40>, when = 'teardown'
def __init__(self, func, when):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:150:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> return CallInfo(lambda: ihook(item=item, **kwds), when=when)
../_pytest/runner.py:138:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_teardown'>
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...ltiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None}
def __call__(self, **kwargs):
assert not self.is_historic()
> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
../_pytest/vendored_packages/pluggy.py:724:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00007f82d887a9c0>
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007f82d8bd0660>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...ltiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_teardown'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007f82d8bd0660>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'ne...ltiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None}
self._inner_hookexec = lambda hook, methods, kwargs: \
> _MultiCall(methods, kwargs, hook.spec_opts).execute()
../_pytest/vendored_packages/pluggy.py:333:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_teardown at 0x00007f82b8e3d858>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...titem': None, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007f82a92b73a0>
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 0x00007f82a92b73a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...titem': None, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_sampling_inside_callback'>, 'nextitem': None, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_sampling_inside_callback'>, nextitem = None
def pytest_runtest_teardown(item, nextitem):
> item.session._setupstate.teardown_exact(item, nextitem)
../_pytest/runner.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00007f82a83af440>
item = <AppTestMethod 'test_sampling_inside_callback'>, nextitem = None
def teardown_exact(self, item, nextitem):
needed_collectors = nextitem and nextitem.listchain() or []
> self._teardown_towards(needed_collectors)
../_pytest/runner.py:387:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00007f82a83af440>
needed_collectors = []
def _teardown_towards(self, needed_collectors):
while self.stack:
if self.stack == needed_collectors[:len(self.stack)]:
break
> self._pop_and_teardown()
../_pytest/runner.py:393:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00007f82a83af440>
def _pop_and_teardown(self):
colitem = self.stack.pop()
> self._teardown_with_finalization(colitem)
../_pytest/runner.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.runner.SetupState object at 0x00007f82a83af440>
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 0x00007f82a83af440>
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 0x00007f82a83af440>
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 0x00007f82da776608>
def check_status(self):
"""
To be called during test teardown
"""
if self._ignore_signals != 1:
msg = ('Invalid value for fakevmprof._ignore_signals: expected 1, '
'got %d. This probably means that you called '
'{start,stop}_sampling() a wrong number of times')
> raise ValueError(msg % self._ignore_signals)
E ValueError: Invalid value for fakevmprof._ignore_signals: expected 1, got 0. This probably means that you called {start,stop}_sampling() a wrong number of times
../rpython/rlib/rvmprof/test/support.py:37: ValueError
================ 4 passed, 70 skipped, 1 error in 53.99 seconds ================
++ 05:23:32 starting module/_csv/test [14 started in total]
__ module/_csv/test [12 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 34 items
module/_csv/test/test_dialect.py ..............
module/_csv/test/test_reader.py .............
module/_csv/test/test_writer.py ......
module/_csv/test/test_ztranslation.py .
========================== 34 passed in 49.20 seconds ==========================
++ 05:24:23 starting module/_demo/test [15 started in total]
__ module/_demo/test [13 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/_demo/test/test_import.py ..
module/_demo/test/test_sieve.py .
========================== 3 passed in 20.71 seconds ===========================
++ 05:24:47 starting module/_hpy_universal/test/_vendored/test_00_basic.py [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/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 165.26 seconds ===================
++ 05:26:12 starting module/_hpy_universal/test/_vendored/test_argparse.py [17 started in total]
__ interpreter/test [15 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
PYTHON3: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
(Version 3.11.5 (v3.11.5:cce6ba91b3, Aug 24 2023, 10:50:31) [Clang 13.0.0 (clang-1300.0.29.30)])
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1327 items
interpreter/test/apptest_annotations.py ..........................
interpreter/test/apptest_annotations_string.py ......
interpreter/test/apptest_class.py ................
interpreter/test/apptest_coroutine.py .....................................................
interpreter/test/apptest_descrtypecheck.py ..
interpreter/test/apptest_exceptions.py ..........................
interpreter/test/apptest_exctable_dis.py .........
interpreter/test/apptest_exec.py .........................
interpreter/test/apptest_extcall.py .....
interpreter/test/apptest_function.py .....................................s.....................................................
interpreter/test/apptest_generator.py ...................................................................
interpreter/test/apptest_nestedscope.py ..................
interpreter/test/apptest_pycode.py ....
interpreter/test/apptest_pyframe.py ................................................................
interpreter/test/apptest_raise.py .....................................................
interpreter/test/apptest_settrace_jump.py .
interpreter/test/apptest_sys_settrace.py ..............................................................................................................................................
interpreter/test/apptest_traceback.py ........
interpreter/test/apptest_unraisable.py ....
interpreter/test/apptest_with_leak.py .........
interpreter/test/test_app_main.py ....................s....................s...s.......................s....X.s...s..........
interpreter/test/test_appinterp.py .............
interpreter/test/test_argument.py ..............................................
interpreter/test/test_buffer.py ...
interpreter/test/test_cellfamily.py .......
interpreter/test/test_code.py ............
interpreter/test/test_compiler.py .............................................................................................................
interpreter/test/test_error.py ..............
interpreter/test/test_exceptcomp.py .........
interpreter/test/test_executioncontext.py ................
interpreter/test/test_extmodules.py .
interpreter/test/test_fsencode.py F..
interpreter/test/test_function.py .............
interpreter/test/test_gateway.py .........................................ss.........................
interpreter/test/test_generator.py .
interpreter/test/test_interpreter.py .................................................
interpreter/test/test_location.py ..........
interpreter/test/test_main.py .....
interpreter/test/test_mixedmodule.py ......
interpreter/test/test_module.py .......................
interpreter/test/test_objspace.py ..................................
interpreter/test/test_pycode.py ..
interpreter/test/test_pyframe.py ................................
interpreter/test/test_reverse_debugging.py ..
interpreter/test/test_special.py ...
interpreter/test/test_syntax.py .........................................................
interpreter/test/test_targetpypy.py ..
interpreter/test/test_typedef.py ...................
interpreter/test/test_unicodehelper.py ..........
interpreter/test/test_zpy.py ........
interpreter/test/test_zzpickle_and_slow.py s.....s..s..sss........ss...s.
=================================== FAILURES ===================================
_____________________ TestFSEncode.test_fsencode_fsdecode ______________________
self = <pypy.interpreter.test.test_fsencode.TestFSEncode instance at 0x00007fc219800ce0>
def test_fsencode_fsdecode(self):
space = self.space
strs = [u"/home/bar/baz", u"c:\\"]
if self.special_char:
strs.append(self.special_char)
for st in strs:
# check roundtrip
w_st = space.newtext(st.encode('utf8'), len(st))
w_enc = space.fsencode(w_st)
w_st2 = space.fsdecode(w_enc)
assert space.eq_w(w_st, w_st2)
> assert space.fsdecode_w(w_enc) == st
E assert 'a\xcc\x88' == u'a\u0308'
E - a\xcc\x88
E + a\u0308
interpreter/test/test_fsencode.py:77: AssertionError
----------------------------- Captured stderr call -----------------------------
/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/test/test_fsencode.py:77: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
assert space.fsdecode_w(w_enc) == st
/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/test/test_fsencode.py:1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
import sys
=========================== short test summary info ============================
FAIL interpreter/test/test_fsencode.py::TestFSEncode::()::test_fsencode_fsdecode
======== 1 failed, 1307 passed, 18 skipped, 1 xpassed in 617.09 seconds ========
++ 05:26:37 starting module/_hpy_universal/test/_vendored/test_call.py [18 started in total]
__ module/_hpy_universal/test/_vendored/test_00_basic.py [16 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 58 items
module/_hpy_universal/test/_vendored/test_00_basic.py ..........................................................
========================= 58 passed in 111.48 seconds ==========================
++ 05:26:51 starting module/_hpy_universal/test/_vendored/test_capsule.py [19 started in total]
__ module/_hpy_universal/test/_vendored/test_capsule.py [17 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_hpy_universal/test/_vendored/test_capsule.py ..........
========================== 10 passed in 66.93 seconds ==========================
++ 05:28:11 starting module/_hpy_universal/test/_vendored/test_capsule_legacy.py [20 started in total]
__ module/_hpy_universal/test/_vendored/test_call.py [18 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_hpy_universal/test/_vendored/test_call.py ..........
========================== 10 passed in 80.19 seconds ==========================
++ 05:28:12 starting module/_hpy_universal/test/_vendored/test_contextvar.py [21 started in total]
__ module/_hpy_universal/test/_vendored/test_argparse.py [19 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 90 items
module/_hpy_universal/test/_vendored/test_argparse.py ..........................................................................................
========================= 90 passed in 136.72 seconds ==========================
++ 05:28:44 starting module/_hpy_universal/test/_vendored/test_cpy_compat.py [22 started in total]
__ module/_hpy_universal/test/_vendored/test_contextvar.py [20 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_contextvar.py ..
========================== 2 passed in 53.74 seconds ===========================
++ 05:29:18 starting module/_hpy_universal/test/_vendored/test_eval.py [23 started in total]
__ module/_hpy_universal/test/_vendored/test_capsule_legacy.py [21 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_capsule_legacy.py ..
========================== 2 passed in 129.11 seconds ==========================
++ 05:30:29 starting module/_hpy_universal/test/_vendored/test_extra.py [24 started in total]
__ module/_hpy_universal/test/_vendored/test_eval.py [22 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/_hpy_universal/test/_vendored/test_eval.py ....
========================== 4 passed in 58.30 seconds ===========================
++ 05:30:31 starting module/_hpy_universal/test/_vendored/test_helpers.py [25 started in total]
__ module/_hpy_universal/test/_vendored/test_extra.py [23 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.01 seconds =========================
++ 05:30:39 starting module/_hpy_universal/test/_vendored/test_hpybuildvalue.py [26 started in total]
__ module/_hpy_universal/test/_vendored/test_cpy_compat.py [24 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/_hpy_universal/test/_vendored/test_cpy_compat.py ................
========================= 16 passed in 160.86 seconds ==========================
++ 05:31:38 starting module/_hpy_universal/test/_vendored/test_hpybytes.py [27 started in total]
__ module/_hpy_universal/test/_vendored/test_helpers.py [25 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_hpy_universal/test/_vendored/test_helpers.py ......
========================== 6 passed in 59.78 seconds ===========================
++ 05:31:44 starting module/_hpy_universal/test/_vendored/test_hpydict.py [28 started in total]
__ module/_hpy_universal/test/_vendored/test_hpybuildvalue.py [26 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/_hpy_universal/test/_vendored/test_hpybuildvalue.py ..............
========================== 14 passed in 73.17 seconds ==========================
++ 05:32:07 starting module/_hpy_universal/test/_vendored/test_hpyerr.py [29 started in total]
__ module/_hpy_universal/test/_vendored/test_hpybytes.py [27 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_hpy_universal/test/_vendored/test_hpybytes.py ............
========================== 12 passed in 64.13 seconds ==========================
++ 05:32:51 starting module/_hpy_universal/test/_vendored/test_hpyfield.py [30 started in total]
__ module/_hpy_universal/test/_vendored/test_hpydict.py [28 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_hpy_universal/test/_vendored/test_hpydict.py ............
========================== 12 passed in 63.77 seconds ==========================
++ 05:32:57 starting module/_hpy_universal/test/_vendored/test_hpyglobal.py [31 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyglobal.py [29 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_hpyglobal.py ..
========================== 2 passed in 56.41 seconds ===========================
++ 05:34:02 starting module/_hpy_universal/test/_vendored/test_hpyimport.py [32 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyfield.py [30 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/_hpy_universal/test/_vendored/test_hpyfield.py ssss........ssss..
==================== 10 passed, 8 skipped in 67.32 seconds =====================
++ 05:34:11 starting module/_hpy_universal/test/_vendored/test_hpyiter.py [33 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyerr.py [31 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
module/_hpy_universal/test/_vendored/test_hpyerr.py ..ss..............................ss..
==================== 34 passed, 4 skipped in 143.46 seconds ====================
++ 05:34:39 starting module/_hpy_universal/test/_vendored/test_hpylist.py [34 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyimport.py [32 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_hpyimport.py ..
========================== 2 passed in 55.06 seconds ===========================
++ 05:35:08 starting module/_hpy_universal/test/_vendored/test_hpylong.py [35 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyiter.py [33 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/_hpy_universal/test/_vendored/test_hpyiter.py ....
========================== 4 passed in 58.04 seconds ===========================
++ 05:35:24 starting module/_hpy_universal/test/_vendored/test_hpymodule.py [36 started in total]
__ module/_hpy_universal/test/_vendored/test_hpylist.py [34 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_hpy_universal/test/_vendored/test_hpylist.py ..........
========================== 10 passed in 62.76 seconds ==========================
++ 05:35:52 starting module/_hpy_universal/test/_vendored/test_hpyslice.py [37 started in total]
__ module/_hpy_universal/test/_vendored/test_hpymodule.py [35 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/_hpy_universal/test/_vendored/test_hpymodule.py ................
========================== 16 passed in 67.37 seconds ==========================
++ 05:36:45 starting module/_hpy_universal/test/_vendored/test_hpystructseq.py [38 started in total]
__ module/_hpy_universal/test/_vendored/test_hpylong.py [36 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 36 items
module/_hpy_universal/test/_vendored/test_hpylong.py ....................................
========================== 36 passed in 87.49 seconds ==========================
++ 05:36:50 starting module/_hpy_universal/test/_vendored/test_hpytuple.py [39 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyslice.py [37 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_hpy_universal/test/_vendored/test_hpyslice.py ......
========================== 6 passed in 66.35 seconds ===========================
++ 05:37:12 starting module/_hpy_universal/test/_vendored/test_hpytype.py [40 started in total]
__ module/_hpy_universal/test/_vendored/test_hpystructseq.py [38 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/_hpy_universal/test/_vendored/test_hpystructseq.py ....
========================== 4 passed in 59.41 seconds ===========================
++ 05:37:58 starting module/_hpy_universal/test/_vendored/test_hpytype_legacy.py [41 started in total]
__ module/_hpy_universal/test/_vendored/test_hpytuple.py [39 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/_hpy_universal/test/_vendored/test_hpytuple.py ........
========================== 8 passed in 59.18 seconds ===========================
++ 05:38:03 starting module/_hpy_universal/test/_vendored/test_hpyunicode.py [42 started in total]
__ module/_hpy_universal/test/_vendored/test_hpytype.py [40 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 74 items
module/_hpy_universal/test/_vendored/test_hpytype.py ................ss........................................................
==================== 72 passed, 2 skipped in 152.77 seconds ====================
++ 05:39:59 starting module/_hpy_universal/test/_vendored/test_importing.py [43 started in total]
__ module/_hpy_universal/test/_vendored/test_hpyunicode.py [41 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
module/_hpy_universal/test/_vendored/test_hpyunicode.py ..........................................
========================= 42 passed in 120.74 seconds ==========================
++ 05:40:14 starting module/_hpy_universal/test/_vendored/test_legacy_forbidden.py [44 started in total]
__ module/_hpy_universal/test/_vendored/test_importing.py [42 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/_hpy_universal/test/_vendored/test_importing.py ss
========================== 2 skipped in 17.22 seconds ==========================
++ 05:40:27 starting module/_hpy_universal/test/_vendored/test_number.py [45 started in total]
__ module/_hpy_universal/test/_vendored/test_legacy_forbidden.py [43 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/_hpy_universal/test/_vendored/test_legacy_forbidden.py ....ssss
===================== 4 passed, 4 skipped in 18.04 seconds =====================
++ 05:40:42 starting module/_hpy_universal/test/_vendored/test_object.py [46 started in total]
__ module/_hpy_universal/test/_vendored/test_number.py [44 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/_hpy_universal/test/_vendored/test_number.py ..................
========================= 18 passed in 115.52 seconds ==========================
++ 05:42:37 starting module/_hpy_universal/test/_vendored/test_slots.py [47 started in total]
__ module/_hpy_universal/test/_vendored/test_object.py [45 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
module/_hpy_universal/test/_vendored/test_object.py ..................................................
========================= 50 passed in 105.29 seconds ==========================
++ 05:42:38 starting module/_hpy_universal/test/_vendored/test_slots_legacy.py [48 started in total]
__ module/_hpy_universal/test/_vendored/test_slots.py [46 done in total, somefailed=True]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
module/_hpy_universal/test/_vendored/test_slots.py .....................................++ 05:44:26 starting module/_hpy_universal/test/_vendored/test_support.py [49 started in total]
__ module/_hpy_universal/test/_vendored/test_support.py [47 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.05 seconds ===========================
++ 05:44:37 starting module/_hpy_universal/test/_vendored/test_tracker.py [50 started in total]
__ module/_hpy_universal/test/_vendored/test_hpytype_legacy.py [48 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 84 items
module/_hpy_universal/test/_vendored/test_hpytype_legacy.py ................ss..................................................................
==================== 82 passed, 2 skipped in 398.10 seconds ====================
++ 05:44:49 starting module/_hpy_universal/test/pypy [51 started in total]
__ module/_hpy_universal/test/pypy [49 done in total, somefailed=False] _______
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 34 items
module/_hpy_universal/test/pypy/test_apiset.py .......
module/_hpy_universal/test/pypy/test_handlemanager.py ..................s......
module/_hpy_universal/test/pypy/test_storage.py .
module/_hpy_universal/test/pypy/test_ztranslation.py s
==================== 32 passed, 2 skipped in 19.65 seconds =====================
++ 05:45:17 starting module/_io/test [52 started in total]
__ module/_hpy_universal/test/_vendored/test_tracker.py [50 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_hpy_universal/test/_vendored/test_tracker.py ............
========================== 12 passed in 75.22 seconds ==========================
++ 05:46:04 starting module/_jitlog/test [53 started in total]
__ module/_jitlog/test [51 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/_jitlog/test/test__jitlog.py .
========================== 1 passed in 25.06 seconds ===========================
++ 05:46:32 starting module/_locale/test [54 started in total]
__ module/_locale/test [52 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
module/_locale/test/test_locale.py ssssssssssssss.
==================== 1 passed, 14 skipped in 27.31 seconds =====================
++ 05:47:05 starting module/_lsprof/test [55 started in total]
__ module/_lsprof/test [53 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_lsprof/test/test_cprofile.py ......
========================== 6 passed in 18.90 seconds ===========================
++ 05:47:25 starting module/_md5/test [56 started in total]
__ module/_md5/test [54 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/_md5/test/test_md5.py ........
========================== 8 passed in 15.02 seconds ===========================
++ 05:47:42 starting module/_minimal_curses/test [57 started in total]
__ module/_hpy_universal/test/_vendored/test_slots_legacy.py [55 done in total, somefailed=False]
('warning: setuptools.command.build does not exist in setuptools', '44.1.1', 'on', '2.7.18 (c7f2b53ceffe, Aug 28 2024, 05:06:55)\n[PyPy 7.3.17 with GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)]')
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 54 items
module/_hpy_universal/test/_vendored/test_slots_legacy.py ......................................................
========================= 54 passed in 301.95 seconds ==========================
++ 05:47:56 starting module/_multibytecodec/test [58 started in total]
__ module/_io/test [56 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 285 items / 1 skipped
module/_io/test/apptest_bytesio.py .................
module/_io/test/apptest_io.py ...........................................
module/_io/test/apptest_stringio.py ...........................
module/_io/test/apptest_textio.py ..............................s.................
module/_io/test/test_bufferedio.py .......................................................................ss................................
module/_io/test/test_fileio.py ....................................
module/_io/test/test_interp_textio.py .........
=================== 282 passed, 4 skipped in 176.52 seconds ====================
++ 05:48:19 starting module/_multiprocessing/test [59 started in total]
__ module/_multibytecodec/test [57 done in total, somefailed=False] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 67 items
module/_multibytecodec/test/apptest_codecs.py ...................
module/_multibytecodec/test/apptest_incremental.py ....................
module/_multibytecodec/test/apptest_stream.py .....
module/_multibytecodec/test/test_c_codecs.py ..................s
module/_multibytecodec/test/test_multibtye_codecs.py ...
module/_multibytecodec/test/test_translation.py s
==================== 65 passed, 2 skipped in 53.36 seconds =====================
++ 05:48:55 starting module/_opcode/test [60 started in total]
__ module/_multiprocessing/test [58 done in total, somefailed=False] __________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/_multiprocessing/test/test_interp_semaphore.py s
module/_multiprocessing/test/test_semaphore.py ..sssss.s
module/_multiprocessing/test/test_win32.py s
module/_multiprocessing/test/test_ztranslation.py .
===================== 4 passed, 8 skipped in 36.73 seconds =====================
++ 05:48:57 starting module/_pickle/test [61 started in total]
__ module/_opcode/test [59 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/_opcode/test/apptest_opcode.py .....
========================== 5 passed in 23.97 seconds ===========================
++ 05:49:23 starting module/_pickle_support/test [62 started in total]
__ module/_pickle_support/test [60 done in total, somefailed=False] ___________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/_pickle_support/test/apptest__pickle_support.py .
========================== 1 passed in 14.03 seconds ===========================
++ 05:49:40 starting module/_posixsubprocess/test [63 started in total]
__ module/_minimal_curses/test [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/_minimal_curses/test/test_curses.py ......
========================== 6 passed in 137.63 seconds ==========================
++ 05:50:08 starting module/_pypyjson/test [64 started in total]
__ module/_pickle/test [62 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 92 items
module/_pickle/test/apptest_pickle.py ...............................................................s.
module/_pickle/test/apptest_pypy_extensions.py ...........................
==================== 91 passed, 1 skipped in 78.47 seconds =====================
++ 05:50:17 starting module/_random/test [65 started in total]
__ module/_random/test [63 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
module/_random/test/test_random.py ............
module/_random/test/test_ztranslation.py .
========================== 13 passed in 31.74 seconds ==========================
++ 05:50:50 starting module/_rawffi/alt/test [66 started in total]
__ module/_pypyjson/test [64 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 55 items
module/_pypyjson/test/apptest__pypyjson.py ........
module/_pypyjson/test/test__pypyjson.py ............................................
module/_pypyjson/test/test_simd.py ...
========================== 55 passed in 48.82 seconds ==========================
++ 05:50:59 starting module/_rawffi/test [67 started in total]
__ module/_rawffi/alt/test [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 73 items
module/_rawffi/alt/test/test_ffitype.py .....
module/_rawffi/alt/test/test_funcptr.py ..................................ssssss.s
module/_rawffi/alt/test/test_struct.py ...............
module/_rawffi/alt/test/test_type_converter.py ...........
==================== 66 passed, 7 skipped in 24.51 seconds =====================
++ 05:51:18 starting module/_socket/test [68 started in total]
__ module/_posixsubprocess/test [66 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/_posixsubprocess/test/apptest_subprocess.py ......F.F
module/_posixsubprocess/test/test_ztranslation.py .
=================================== FAILURES ===================================
__________________________________ test_umask __________________________________
def test_umask():
import tempfile, shutil
tmpdir = None
try:
tmpdir = tempfile.mkdtemp()
name = os.path.join(tmpdir, "beans")
# We set an unusual umask in the child so as a unique mode
# for us to test the child's touched file for.
subprocess.check_call(
["python", "-c", f"open({name!r}, 'w').close()"],
umask=0o053)
# Ignore execute permissions entirely in our test,
# filesystems could be mounted to ignore or force that.
st_mode = os.stat(name).st_mode & 0o666
expected_mode = 0o624
assert expected_mode == st_mode
finally:
if tmpdir is not None:
> shutil.rmtree(tmpdir)
module/_posixsubprocess/test/apptest_subprocess.py:154:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = W_UnicodeObject('/tmp/buildbot-x86_64/pytest/tmpn1llgn05')
ignore_errors = W_BoolObject(False), onerror = <Function onerror>
def rmtree(path, ignore_errors=False, onerror=None, *, dir_fd=None):
"""Recursively delete a directory tree.
If dir_fd is not None, it should be a file descriptor open to a directory;
path will then be relative to that directory.
dir_fd may not be implemented on your platform.
If it is unavailable, using it will raise a NotImplementedError.
If ignore_errors is set, errors are ignored; otherwise, if onerror
is set, it is called to handle the error with arguments (func,
path, exc_info) where func is platform and implementation dependent;
path is the argument to that function that caused it to fail; and
exc_info is a tuple returned by sys.exc_info(). If ignore_errors
is false and onerror is None, an exception is raised.
"""
sys.audit("shutil.rmtree", path, dir_fd)
if ignore_errors:
def onerror(*args):
pass
elif onerror is None:
def onerror(*args):
raise
if _use_fd_functions:
# While the unsafe rmtree works fine on bytes, the fd based does not.
if isinstance(path, bytes):
path = os.fsdecode(path)
# Note: To guard against symlink races, we use the standard
# lstat()/open()/fstat() trick.
try:
orig_st = os.lstat(path, dir_fd=dir_fd)
except Exception:
onerror(os.lstat, path, sys.exc_info())
return
try:
fd = os.open(path, os.O_RDONLY | os.O_NONBLOCK, dir_fd=dir_fd)
fd_closed = False
except Exception:
onerror(os.open, path, sys.exc_info())
return
try:
if os.path.samestat(orig_st, os.fstat(fd)):
> _rmtree_safe_fd(fd, path, onerror)
../lib-python/3/shutil.py:752:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
topfd = W_IntObject(24)
path = W_UnicodeObject('/tmp/buildbot-x86_64/pytest/tmpn1llgn05')
onerror = <Function onerror>
def _rmtree_safe_fd(topfd, path, onerror):
try:
with os.scandir(topfd) as scandir_it:
entries = list(scandir_it)
except OSError as err:
err.filename = path
onerror(os.scandir, path, sys.exc_info())
return
for entry in entries:
fullname = os.path.join(path, entry.name)
try:
is_dir = entry.is_dir(follow_symlinks=False)
except OSError:
is_dir = False
else:
if is_dir:
try:
orig_st = entry.stat(follow_symlinks=False)
is_dir = stat.S_ISDIR(orig_st.st_mode)
except OSError:
onerror(os.lstat, fullname, sys.exc_info())
continue
if is_dir:
try:
dirfd = os.open(entry.name, os.O_RDONLY | os.O_NONBLOCK, dir_fd=topfd)
dirfd_closed = False
except OSError:
onerror(os.open, fullname, sys.exc_info())
else:
try:
if os.path.samestat(orig_st, os.fstat(dirfd)):
_rmtree_safe_fd(dirfd, fullname, onerror)
try:
os.close(dirfd)
except OSError:
# close() should not be retried after an error.
dirfd_closed = True
onerror(os.close, fullname, sys.exc_info())
dirfd_closed = True
try:
os.rmdir(entry.name, dir_fd=topfd)
except OSError:
onerror(os.rmdir, fullname, sys.exc_info())
else:
try:
# This can only happen if someone replaces
# a directory with a symlink after the call to
# os.scandir or stat.S_ISDIR above.
raise OSError("Cannot call rmtree on a symbolic "
"link")
except OSError:
onerror(os.path.islink, fullname, sys.exc_info())
finally:
if not dirfd_closed:
try:
os.close(dirfd)
except OSError:
onerror(os.close, fullname, sys.exc_info())
else:
try:
os.unlink(entry.name, dir_fd=topfd)
except OSError:
> onerror(os.unlink, fullname, sys.exc_info())
../lib-python/3/shutil.py:703:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
topfd = W_IntObject(24)
path = W_UnicodeObject('/tmp/buildbot-x86_64/pytest/tmpn1llgn05')
onerror = <Function onerror>
def _rmtree_safe_fd(topfd, path, onerror):
try:
with os.scandir(topfd) as scandir_it:
entries = list(scandir_it)
except OSError as err:
err.filename = path
onerror(os.scandir, path, sys.exc_info())
return
for entry in entries:
fullname = os.path.join(path, entry.name)
try:
is_dir = entry.is_dir(follow_symlinks=False)
except OSError:
is_dir = False
else:
if is_dir:
try:
orig_st = entry.stat(follow_symlinks=False)
is_dir = stat.S_ISDIR(orig_st.st_mode)
except OSError:
onerror(os.lstat, fullname, sys.exc_info())
continue
if is_dir:
try:
dirfd = os.open(entry.name, os.O_RDONLY | os.O_NONBLOCK, dir_fd=topfd)
dirfd_closed = False
except OSError:
onerror(os.open, fullname, sys.exc_info())
else:
try:
if os.path.samestat(orig_st, os.fstat(dirfd)):
_rmtree_safe_fd(dirfd, fullname, onerror)
try:
os.close(dirfd)
except OSError:
# close() should not be retried after an error.
dirfd_closed = True
onerror(os.close, fullname, sys.exc_info())
dirfd_closed = True
try:
os.rmdir(entry.name, dir_fd=topfd)
except OSError:
onerror(os.rmdir, fullname, sys.exc_info())
else:
try:
# This can only happen if someone replaces
# a directory with a symlink after the call to
# os.scandir or stat.S_ISDIR above.
raise OSError("Cannot call rmtree on a symbolic "
"link")
except OSError:
onerror(os.path.islink, fullname, sys.exc_info())
finally:
if not dirfd_closed:
try:
os.close(dirfd)
except OSError:
onerror(os.close, fullname, sys.exc_info())
else:
try:
> os.unlink(entry.name, dir_fd=topfd)
E (application-level) FileNotFoundError: [Errno 2] No such file or directory: 'eans'
../lib-python/3/shutil.py:701: FileNotFoundError
_____________________________ test_restore_signals _____________________________
def test_restore_signals():
import posix as os
# Copied from lib-python/3/subprocess._execute_child
# when calling subprocess.check_output(['cat', '/proc/self/status'],
# restore_signals=True, universal_newlines=True)
def check_output(restore_signals):
c2pread, c2pwrite = os.pipe()
errpipe_read, errpipe_write = os.pipe()
try:
low_fds_to_close = []
while errpipe_write < 3:
low_fds_to_close.append(errpipe_write)
errpipe_write = os.dup(errpipe_write)
for low_fd in low_fds_to_close:
os.close(low_fd)
args = [b'cat', b'/proc/self/status']
executable_list=[b'/usr/bin/cat']
close_fds = True
fds_to_keep = (errpipe_write,)
cwd = None
env_list = None
p2cread = p2cwrite = -1
errread = errwrite = umask = -1
call_setsid = False
pgid_to_set = -1
preexec_fn = None
gid = gids = uid = None
pid = _posixsubprocess.fork_exec(args, executable_list, close_fds,
fds_to_keep, cwd, env_list, p2cread, p2cwrite, c2pread,
c2pwrite, errread, errwrite, errpipe_read,
errpipe_write, restore_signals, call_setsid, pgid_to_set,
gid, gids, uid, umask,
preexec_fn, subprocess._USE_VFORK)
os.close(errpipe_write)
# Wait for exec to fail or succeed; possibly raising an
# exception (limited in size)
errpipe_data = bytearray()
while True:
part = os.read(errpipe_read, 50000)
errpipe_data += part
if not part or len(errpipe_data) > 50000:
break
if errpipe_data:
newpid, sts = os.waitpid(pid, 0)
raise RuntimeError('running commande returned %s' % sts)
out = os.read(c2pread, 50000)
finally:
os.close(c2pwrite)
os.close(c2pread)
os.close(errpipe_read)
return out
sig_ign_mask1 = ''
sig_ign_mask2 = ''
> for line in check_output(True).splitlines():
module/_posixsubprocess/test/apptest_subprocess.py:287:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
restore_signals = W_BoolObject(True)
def check_output(restore_signals):
c2pread, c2pwrite = os.pipe()
errpipe_read, errpipe_write = os.pipe()
try:
low_fds_to_close = []
while errpipe_write < 3:
low_fds_to_close.append(errpipe_write)
errpipe_write = os.dup(errpipe_write)
for low_fd in low_fds_to_close:
os.close(low_fd)
args = [b'cat', b'/proc/self/status']
executable_list=[b'/usr/bin/cat']
close_fds = True
fds_to_keep = (errpipe_write,)
cwd = None
env_list = None
p2cread = p2cwrite = -1
errread = errwrite = umask = -1
call_setsid = False
pgid_to_set = -1
preexec_fn = None
gid = gids = uid = None
pid = _posixsubprocess.fork_exec(args, executable_list, close_fds,
fds_to_keep, cwd, env_list, p2cread, p2cwrite, c2pread,
c2pwrite, errread, errwrite, errpipe_read,
errpipe_write, restore_signals, call_setsid, pgid_to_set,
gid, gids, uid, umask,
preexec_fn, subprocess._USE_VFORK)
os.close(errpipe_write)
# Wait for exec to fail or succeed; possibly raising an
# exception (limited in size)
errpipe_data = bytearray()
while True:
part = os.read(errpipe_read, 50000)
errpipe_data += part
if not part or len(errpipe_data) > 50000:
break
if errpipe_data:
newpid, sts = os.waitpid(pid, 0)
> raise RuntimeError('running commande returned %s' % sts)
E (application-level) RuntimeError: running commande returned 65280
module/_posixsubprocess/test/apptest_subprocess.py:277: RuntimeError
=========================== short test summary info ============================
FAIL module/_posixsubprocess/test/apptest_subprocess.py::test_umask
FAIL module/_posixsubprocess/test/apptest_subprocess.py::test_restore_signals
===================== 2 failed, 8 passed in 94.12 seconds ======================
++ 05:51:22 starting module/_sre/test [69 started in total]
__ module/_rawffi/test [67 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 84 items
module/_rawffi/test/apptest_rawffi.py .
module/_rawffi/test/test__rawffi.py .....s.............................................s..........s......
module/_rawffi/test/test_exit.py .
module/_rawffi/test/test_nested.py ......
module/_rawffi/test/test_struct.py ...
module/_rawffi/test/test_tracker.py ...
module/_rawffi/test/test_ztranslation.py .
==================== 81 passed, 3 skipped in 90.57 seconds =====================
n: 2
Arg 0: 3
Arg 1: 15
++ 05:52:34 starting module/_vmprof/test [70 started in total]
__ module/_sre/test [68 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 158 items
module/_sre/test/test_app_sre.py ..................................................................................................................................
module/_sre/test/test_sre_buf.py ............................
========================= 158 passed in 70.66 seconds ==========================
++ 05:52:35 starting module/_warnings/test [71 started in total]
__ module/_warnings/test [69 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
module/_warnings/test/apptest_warnings.py ........s.s.....
module/_warnings/test/test_warnings.py .
==================== 15 passed, 2 skipped in 31.59 seconds =====================
++ 05:53:08 starting module/_weakref/test [72 started in total]
__ module/_vmprof/test [70 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/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 44.35 seconds =====================
++ 05:53:25 starting module/_winreg/test [73 started in total]
__ module/_winreg/test [71 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.26 seconds ===========================
++ 05:53:26 starting module/array/test [74 started in total]
__ module/_socket/test [72 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 83 items
module/_socket/test/apptest_socket.py ......................ss..s............s.ss...........F...
module/_socket/test/test_sock_app.py ....................s...
module/_socket/test/test_ztranslation.py .
=================================== FAILURES ===================================
___________________________ test_tcp_bytearray_name ____________________________
def test_tcp_bytearray_name():
import _socket as socket
if not hasattr(socket, 'AF_UNIX'):
pytest.skip('AF_UNIX not supported.')
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
> s.bind(bytearray(b"\x00python\x00test\x00"))
E (application-level) FileNotFoundError: [Errno 2] No such file or directory
module/_socket/test/apptest_socket.py:816: OSError
=========================== short test summary info ============================
FAIL module/_socket/test/apptest_socket.py::test_tcp_bytearray_name
=============== 1 failed, 75 passed, 7 skipped in 148.83 seconds ===============
++ 05:53:50 starting module/atexit/test [75 started in total]
__ module/_weakref/test [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
module/_weakref/test/apptest_weakref.py ...........................................
========================== 43 passed in 50.82 seconds ==========================
++ 05:54:06 starting module/binascii/test [76 started in total]
__ module/atexit/test [74 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/atexit/test/apptest_atexit.py ..
========================== 2 passed in 26.64 seconds ===========================
++ 05:54:18 starting module/bz2/test [77 started in total]
__ module/binascii/test [75 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/binascii/test/test_binascii.py ..................
========================== 18 passed in 31.22 seconds ==========================
++ 05:54:39 starting module/cmath/test [78 started in total]
__ module/cmath/test [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/cmath/test/test_cmath.py ..................
========================== 18 passed in 17.57 seconds ==========================
++ 05:54:59 starting module/cpyext/test/test_api.py [79 started in total]
__ module/array/test [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 64 items
module/array/test/apptest_array.py ...
module/array/test/test_array.py ................E.....s..................s...................
module/array/test/test_ztranslation.py .
==================================== ERRORS ====================================
____________ ERROR at teardown of AppTestArray.test_reversingslice _____________
self = <CallInfo when='teardown' exception: {
<C object Array of Char {'nolength': True} at 0x600002b7f860>:
<C object Arra...os-x86-64/build/pypy/module/array/interp_array.py", line 213, in setlen
rffi.CCHARP.TO, byte_size, flavor='raw')
}>
func = <function <lambda> at 0x00007f9783211e20>, 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 0x00007f97908fe9c0>
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 0x00007f97629c7498>
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 0x00007f9781b028a0>
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 0x00007f9781b028a0>
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 0x00007f9790ad79e0>
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 0x600002b7f860>:
E <C object Array of Char {'nolength': True} at 0x600002b7fb40>:
E <C object Array of Char {'nolength': True} at 0x6000029160d0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fc60>:
E <C object Array of Char {'nolength': True} at 0x600002b7fbe0>:
E <C object Array of Char {'nolength': True} at 0x600002b7f360>:
E <C object Array of Char {'nolength': True} at 0x60000296db50>:
E <C object Array of Char {'nolength': True} at 0x60000290c580>:
E <C object Array of Char {'nolength': True} at 0x600002b7fc00>:
E <C object Array of Char {'nolength': True} at 0x600002b7fca0>:
E <C object Array of Char {'nolength': True} at 0x600002917a30>:
E <C object Array of Char {'nolength': True} at 0x60000296ca80>:
E <C object Array of Char {'nolength': True} at 0x600002b7f8e0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fc40>:
E <C object Array of Char {'nolength': True} at 0x60000290cfd0>:
E <C object Array of Char {'nolength': True} at 0x60000290d910>:
E <C object Array of Char {'nolength': True} at 0x600002b7fcc0>:
E <C object Array of Char {'nolength': True} at 0x600002b7faa0>:
E <C object Array of Char {'nolength': True} at 0x600002962090>:
E <C object Array of Char {'nolength': True} at 0x600002915440>:
E <C object Array of Char {'nolength': True} at 0x600002b7fa60>:
E <C object Array of Char {'nolength': True} at 0x600002b7fce0>:
E <C object Array of Char {'nolength': True} at 0x6000029798b0>:
E <C object Array of Char {'nolength': True} at 0x6000029166c0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fd60>:
E <C object Array of Char {'nolength': True} at 0x600002b7f4a0>:
E <C object Array of Char {'nolength': True} at 0x600002904000>:
E <C object Array of Char {'nolength': True} at 0x6000029051c0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fd40>:
E <C object Array of Char {'nolength': True} at 0x600002b7f2c0>:
E <C object Array of Char {'nolength': True} at 0x60000290cef0>:
E <C object Array of Char {'nolength': True} at 0x6000029147d0>:
E <C object Array of Char {'nolength': True} at 0x600002b74000>:
E <C object Array of Char {'nolength': True} at 0x600002b6f040>:
E <C object Array of Char {'nolength': True} at 0x600002b6efe0>:
E <C object Array of Char {'nolength': True} at 0x6000029119e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f200>:
E <C object Array of Char {'nolength': True} at 0x600002b6eca0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f120>:
E <C object Array of Char {'nolength': True} at 0x600002b6f080>:
E <C object Array of Char {'nolength': True} at 0x600002b6ef80>:
E <C object Array of Char {'nolength': True} at 0x600002b6efa0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f140>:
E <C object Array of Char {'nolength': True} at 0x600002b6f360>:
E <C object Array of Char {'nolength': True} at 0x600002b6ea00>:
E <C object Array of Char {'nolength': True} at 0x600002b6e8c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6eea0>:
E <C object Array of Char {'nolength': True} at 0x600002b6e320>:
E <C object Array of Char {'nolength': True} at 0x600002b6f100>:
E <C object Array of Char {'nolength': True} at 0x600002b6ef40>:
E <C object Array of Char {'nolength': True} at 0x600002b6e080>:
E <C object Array of Char {'nolength': True} at 0x600002b6f1e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f420>:
E <C object Array of Char {'nolength': True} at 0x600002b6f440>:
E <C object Array of Char {'nolength': True} at 0x600002904020>:
E <C object Array of Char {'nolength': True} at 0x600002b6ed40>:
E <C object Array of Char {'nolength': True} at 0x600002b6f400>:
E <C object Array of Char {'nolength': True} at 0x600002b6e840>:
E <C object Array of Char {'nolength': True} at 0x600002b6e960>:
E <C object Array of Char {'nolength': True} at 0x600002b6f580>:
E <C object Array of Char {'nolength': True} at 0x600002b6f3e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f500>:
E <C object Array of Char {'nolength': True} at 0x600002b6f6c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f4a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f160>:
E <C object Array of Char {'nolength': True} at 0x600002b6f640>:
E <C object Array of Char {'nolength': True} at 0x600002b6f280>:
E <C object Array of Char {'nolength': True} at 0x600002b6f4e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6e760>:
E <C object Array of Char {'nolength': True} at 0x600002b6f700>:
E <C object Array of Char {'nolength': True} at 0x600002b6f2c0>:
E <C object Array of Char {'nolength': True} at 0x60000294cd70>:
E <C object Array of Char {'nolength': True} at 0x600002b6f600>:
E <C object Array of Char {'nolength': True} at 0x600002b6f320>:
E <C object Array of Char {'nolength': True} at 0x600002910170>:
E <C object Array of Char {'nolength': True} at 0x600002b715e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f480>:
E <C object Array of Char {'nolength': True} at 0x600002b6f300>:
E <C object Array of Char {'nolength': True} at 0x600002905a50>:
E <C object Array of Char {'nolength': True} at 0x600002904ee0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f5a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f340>:
E <C object Array of Char {'nolength': True} at 0x600002913400>:
E <C object Array of Char {'nolength': True} at 0x6000029566d0>:
E <C object Array of Char {'nolength': True} at 0x600002b6e800>:
E <C object Array of Char {'nolength': True} at 0x600002b6f760>:
E <C object Array of Char {'nolength': True} at 0x6000029069f0>:
E <C object Array of Char {'nolength': True} at 0x600002910c70>:
E <C object Array of Char {'nolength': True} at 0x600002b6a380>:
E <C object Array of Char {'nolength': True} at 0x600002b69f40>:
E <C object Array of Char {'nolength': True} at 0x600002b6a480>:
E <C object Array of Char {'nolength': True} at 0x600002b6a200>:
E <C object Array of Char {'nolength': True} at 0x600002b6a560>:
E <C object Array of Char {'nolength': True} at 0x600002b6a880>:
E <C object Array of Char {'nolength': True} at 0x600002b6a1a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a100>:
E <C object Array of Char {'nolength': True} at 0x600002b6a4c0>:
E <C object Array of Char {'nolength': True} at 0x600002b71100>:
E <C object Array of Char {'nolength': True} at 0x600002b706a0>:
E <C object Array of Char {'nolength': True} at 0x600002b71de0>:
E <C object Array of Char {'nolength': True} at 0x6000029096a0>:
E <C object Array of Char {'nolength': True} at 0x600002b70ac0>:
E <C object Array of Char {'nolength': True} at 0x6000029093b0>:
E <C object Array of Char {'nolength': True} at 0x600002b71fe0>:
E <C object Array of Char {'nolength': True} at 0x60000290b340>:
E <C object Array of Char {'nolength': True} at 0x6000029040c0>:
E <C object Array of Char {'nolength': True} at 0x600002b71960>:
E <C object Array of Char {'nolength': True} at 0x600002b70700>:
E <C object Array of Char {'nolength': True} at 0x600002908770>:
E <C object Array of Char {'nolength': True} at 0x600002908920>:
E <C object Array of Char {'nolength': True} at 0x600002b70ce0>:
E <C object Array of Char {'nolength': True} at 0x600002b72020>:
E <C object Array of Char {'nolength': True} at 0x600002919c70>:
E <C object Array of Char {'nolength': True} at 0x600002919bb0>:
E <C object Array of Char {'nolength': True} at 0x600002b71ec0>:
E <C object Array of Char {'nolength': True} at 0x600002b71f20>:
E <C object Array of Char {'nolength': True} at 0x600002b71fc0>:
E <C object Array of Char {'nolength': True} at 0x600002b71560>:
E <C object Array of Char {'nolength': True} at 0x600002b72280>:
E <C object Array of Char {'nolength': True} at 0x600002b71ea0>:
E <C object Array of Char {'nolength': True} at 0x600002b71980>:
E <C object Array of Char {'nolength': True} at 0x600002b71ee0>:
E <C object Array of Char {'nolength': True} at 0x600002b71060>:
E <C object Array of Char {'nolength': True} at 0x600002b70f40>:
E <C object Array of Char {'nolength': True} at 0x600002b7fb00>:
E <C object Array of Char {'nolength': True} at 0x60000291bcc0>:
E <C object Array of Char {'nolength': True} at 0x600002576640>:
E <C object Array of Char {'nolength': True} at 0x6000025765b0>:
E <C object Array of Char {'nolength': True} at 0x600002b43200>:
E <C object Array of Char {'nolength': True} at 0x600002b42ca0>:
E <C object Array of Char {'nolength': True} at 0x600002b42f60>:
E <C object Array of Char {'nolength': True} at 0x600002b42920>:
E <C object Array of Char {'nolength': True} at 0x600002b42d60>:
E <C object Array of Char {'nolength': True} at 0x600002b42e20>:
E <C object Array of Char {'nolength': True} at 0x600002b42800>:
E <C object Array of Char {'nolength': True} at 0x600002b42f20>:
E <C object Array of Char {'nolength': True} at 0x600002b402a0>:
E <C object Array of Char {'nolength': True} at 0x600002b42fc0>:
E <C object Array of Char {'nolength': True} at 0x600002b43180>:
E <C object Array of Char {'nolength': True} at 0x600002b42ee0>:
E <C object Array of Char {'nolength': True} at 0x600002b430a0>:
E <C object Array of Char {'nolength': True} at 0x600002b42ea0>:
E <C object Array of Char {'nolength': True} at 0x600002902960>:
E <C object Array of Char {'nolength': True} at 0x600002b427c0>:
E <C object Array of Char {'nolength': True} at 0x600002b43240>:
E <C object Array of Char {'nolength': True} at 0x600002901e00>:
E <C object Array of Char {'nolength': True} at 0x600002b433e0>:
E <C object Array of Char {'nolength': True} at 0x600002b43060>:
E <C object Array of Char {'nolength': True} at 0x600002b42f80>:
E <C object Array of Char {'nolength': True} at 0x6000029015b0>:
E <C object Array of Char {'nolength': True} at 0x600002902bf0>:
E <C object Array of Char {'nolength': True} at 0x600002b42f40>:
E <C object Array of Char {'nolength': True} at 0x600002b40180>:
E <C object Array of Char {'nolength': True} at 0x6000029177b0>:
E <C object Array of Char {'nolength': True} at 0x60000291bc80>:
E <C object Array of Char {'nolength': True} at 0x600002b42d20>:
E <C object Array of Char {'nolength': True} at 0x600002b42f00>:
E <C object Array of Char {'nolength': True} at 0x600002901850>:
E <C object Array of Char {'nolength': True} at 0x600002902ef0>:
E <C object Array of Char {'nolength': True} at 0x600002b42ec0>:
E <C object Array of Char {'nolength': True} at 0x600002b43140>:
E <C object Array of Char {'nolength': True} at 0x600002b431a0>:
E <C object Array of Char {'nolength': True} at 0x600002b42720>:
E <C object Array of Char {'nolength': True} at 0x600002b432c0>:
E <C object Array of Char {'nolength': True} at 0x600002b42ce0>:
E <C object Array of Char {'nolength': True} at 0x600002b42e00>:
E <C object Array of Char {'nolength': True} at 0x600002b429c0>:
E <C object Array of Char {'nolength': True} at 0x600002b434c0>:
E <C object Array of Char {'nolength': True} at 0x600002b42940>:
E <C object Array of Char {'nolength': True} at 0x600002b40100>:
E <C object Array of Char {'nolength': True} at 0x600002b43540>:
E <C object Array of Char {'nolength': True} at 0x6000029145c0>:
E <C object Array of Char {'nolength': True} at 0x600002b42700>:
E <C object Array of Char {'nolength': True} at 0x600002b434e0>:
E <C object Array of Char {'nolength': True} at 0x600002902200>:
E <C object Array of Char {'nolength': True} at 0x600002903e90>:
E <C object Array of Char {'nolength': True} at 0x600002b43560>:
E <C object Array of Char {'nolength': True} at 0x600002b438e0>:
E <C object Array of Char {'nolength': True} at 0x6000029162d0>:
E <C object Array of Char {'nolength': True} at 0x6000029013c0>:
E <C object Array of Char {'nolength': True} at 0x600002b42860>:
E <C object Array of Char {'nolength': True} at 0x600002b439e0>:
E <C object Array of Char {'nolength': True} at 0x600002903400>:
E <C object Array of Char {'nolength': True} at 0x600002917ab0>:
E <C object Array of Char {'nolength': True} at 0x600002b428a0>:
E <C object Array of Char {'nolength': True} at 0x600002b42cc0>:
E <C object Array of Char {'nolength': True} at 0x600002b43980>:
E <C object Array of Char {'nolength': True} at 0x600002b42c00>:
E <C object Array of Char {'nolength': True} at 0x600002b43280>:
E <C object Array of Char {'nolength': True} at 0x600002b43c20>:
E <C object Array of Char {'nolength': True} at 0x600002b43000>:
E <C object Array of Char {'nolength': True} at 0x600002b401a0>:
E <C object Array of Char {'nolength': True} at 0x600002b43c80>:
E <C object Array of Char {'nolength': True} at 0x600002b428c0>:
E <C object Array of Char {'nolength': True} at 0x600002b427e0>:
E <C object Array of Char {'nolength': True} at 0x600002b43040>:
E <C object Array of Char {'nolength': True} at 0x60000290e160>:
E <C object Array of Char {'nolength': True} at 0x600002902520>:
E <C object Array of Char {'nolength': True} at 0x600002b42ae0>:
E <C object Array of Char {'nolength': True} at 0x600002b42dc0>:
E <C object Array of Char {'nolength': True} at 0x600002b435a0>:
E <C object Array of Char {'nolength': True} at 0x600002b402c0>:
E <C object Array of Char {'nolength': True} at 0x600002b43e20>:
E <C object Array of Char {'nolength': True} at 0x60000293c290>:
E <C object Array of Char {'nolength': True} at 0x60000293cbd0>:
E <C object Array of Char {'nolength': True} at 0x600002b43380>:
E <C object Array of Char {'nolength': True} at 0x600002b43480>:
E <C object Array of Char {'nolength': True} at 0x60000293fff0>:
E <C object Array of Char {'nolength': True} at 0x600002902720>:
E <C object Array of Char {'nolength': True} at 0x600002b43680>:
E <C object Array of Char {'nolength': True} at 0x600002b42aa0>:
E <C object Array of Char {'nolength': True} at 0x600002b43a40>:
E <C object Array of Char {'nolength': True} at 0x600002b43bc0>:
E <C object Array of Char {'nolength': True} at 0x600002b43e40>:
E <C object Array of Char {'nolength': True} at 0x600002b40000>:
E <C object Array of Char {'nolength': True} at 0x600002b49960>:
E <C object Array of Char {'nolength': True} at 0x600002b6a5e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a8c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a840>:
E <C object Array of Char {'nolength': True} at 0x600002b6a940>:
E <C object Array of Char {'nolength': True} at 0x600002b6a680>:
E <C object Array of Char {'nolength': True} at 0x600002914eb0>:
E <C object Array of Char {'nolength': True} at 0x600002909590>:
E <C object Array of Char {'nolength': True} at 0x600002b72180>:
E <C object Array of Char {'nolength': True} at 0x600002b71f00>:
E <C object Array of Char {'nolength': True} at 0x600002b72260>:
E <C object Array of Char {'nolength': True} at 0x600002b721e0>:
E <C object Array of Char {'nolength': True} at 0x600002b722e0>:
E <C object Array of Char {'nolength': True} at 0x6000029044e0>:
E <C object Array of Char {'nolength': True} at 0x600002905e40>:
E <C object Array of Char {'nolength': True} at 0x600002b71d00>:
E <C object Array of Char {'nolength': True} at 0x600002b712a0>:
E <C object Array of Char {'nolength': True} at 0x60000290b9c0>:
E <C object Array of Char {'nolength': True} at 0x60000291b9a0>:
E <C object Array of Char {'nolength': True} at 0x600002b72300>:
E <C object Array of Char {'nolength': True} at 0x600002b710a0>:
E <C object Array of Char {'nolength': True} at 0x600002904140>:
E <C object Array of Char {'nolength': True} at 0x600002906fb0>:
E <C object Array of Char {'nolength': True} at 0x600002b71e80>:
E <C object Array of Char {'nolength': True} at 0x600002b72060>:
E <C object Array of Char {'nolength': True} at 0x60000290d900>:
E <C object Array of Char {'nolength': True} at 0x600002904530>:
E <C object Array of Char {'nolength': True} at 0x600002b722c0>:
E <C object Array of Char {'nolength': True} at 0x600002b71760>:
E <C object Array of Char {'nolength': True} at 0x60000290a150>:
E <C object Array of Char {'nolength': True} at 0x60000290bdd0>:
E <C object Array of Char {'nolength': True} at 0x600002b72140>:
E <C object Array of Char {'nolength': True} at 0x600002b716a0>:
E <C object Array of Char {'nolength': True} at 0x600002b72380>:
E <C object Array of Char {'nolength': True} at 0x600002b724a0>:
E <C object Array of Char {'nolength': True} at 0x600002b71ba0>:
E <C object Array of Char {'nolength': True} at 0x600002b724c0>:
E <C object Array of Char {'nolength': True} at 0x600002b71ac0>:
E <C object Array of Char {'nolength': True} at 0x6000029056f0>:
E <C object Array of Char {'nolength': True} at 0x60000257f270>:
E <C object Array of Char {'nolength': True} at 0x600002b724e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72560>:
E <C object Array of Char {'nolength': True} at 0x600002b72740>:
E <C object Array of Char {'nolength': True} at 0x600002b71d60>:
E <C object Array of Char {'nolength': True} at 0x600002b71a20>:
E <C object Array of Char {'nolength': True} at 0x600002b721a0>:
E <C object Array of Char {'nolength': True} at 0x600002b71da0>:
E <C object Array of Char {'nolength': True} at 0x600002b720c0>:
E <C object Array of Char {'nolength': True} at 0x60000290a820>:
E <C object Array of Char {'nolength': True} at 0x600002904a60>:
E <C object Array of Char {'nolength': True} at 0x600002b71e60>:
E <C object Array of Char {'nolength': True} at 0x600002b71f60>:
E <C object Array of Char {'nolength': True} at 0x600002906250>:
E <C object Array of Char {'nolength': True} at 0x600002909970>:
E <C object Array of Char {'nolength': True} at 0x600002b72440>:
E <C object Array of Char {'nolength': True} at 0x600002b72520>:
E <C object Array of Char {'nolength': True} at 0x60000290be90>:
E <C object Array of Char {'nolength': True} at 0x6000029041e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72700>:
E <C object Array of Char {'nolength': True} at 0x600002b72620>:
E <C object Array of Char {'nolength': True} at 0x600002901240>:
E <C object Array of Char {'nolength': True} at 0x600002938000>:
E <C object Array of Char {'nolength': True} at 0x600002b70cc0>:
E <C object Array of Char {'nolength': True} at 0x600002b72720>:
E <C object Array of Char {'nolength': True} at 0x600002b6c980>:
E <C object Array of Char {'nolength': True} at 0x60000290bb10>:
E <C object Array of Char {'nolength': True} at 0x600002b6fa80>:
E <C object Array of Char {'nolength': True} at 0x600002b43b80>:
E <C object Array of Char {'nolength': True} at 0x600002b43f40>:
E <C object Array of Char {'nolength': True} at 0x600002b43120>:
E <C object Array of Char {'nolength': True} at 0x600002b43d40>:
E <C object Array of Char {'nolength': True} at 0x600002b42840>:
E <C object Array of Char {'nolength': True} at 0x600002b43f80>:
E <C object Array of Char {'nolength': True} at 0x600002b43d20>:
E <C object Array of Char {'nolength': True} at 0x600002b439a0>:
E <C object Array of Char {'nolength': True} at 0x600002b43da0>:
E <C object Array of Char {'nolength': True} at 0x600002b43ee0>:
E <C object Array of Char {'nolength': True} at 0x600002b43080>:
E <C object Array of Char {'nolength': True} at 0x600002b49920>:
E <C object Array of Char {'nolength': True} at 0x600002b43ce0>:
E <C object Array of Char {'nolength': True} at 0x600002b580c0>:
E <C object Array of Char {'nolength': True} at 0x600002b42c80>:
E <C object Array of Char {'nolength': True} at 0x600002b72400>:
E <C object Array of Char {'nolength': True} at 0x600002b72780>:
E <C object Array of Char {'nolength': True} at 0x6000029396d0>:
E <C object Array of Char {'nolength': True} at 0x600002b72760>:
E <C object Array of Char {'nolength': True} at 0x600002b722a0>:
E <C object Array of Char {'nolength': True} at 0x600002b728a0>:
E <C object Array of Char {'nolength': True} at 0x600002b725a0>:
E <C object Array of Char {'nolength': True} at 0x600002b72360>:
E <C object Array of Char {'nolength': True} at 0x600002b710c0>:
E <C object Array of Char {'nolength': True} at 0x600002b72120>:
E <C object Array of Char {'nolength': True} at 0x600002b72600>:
E <C object Array of Char {'nolength': True} at 0x600002b72880>:
E <C object Array of Char {'nolength': True} at 0x600002b72a40>:
E <C object Array of Char {'nolength': True} at 0x600002b725e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72200>:
E <C object Array of Char {'nolength': True} at 0x600002b72ae0>:
E <C object Array of Char {'nolength': True} at 0x600002b71aa0>:
E <C object Array of Char {'nolength': True} at 0x600002b727c0>:
E <C object Array of Char {'nolength': True} at 0x600002b729a0>:
E <C object Array of Char {'nolength': True} at 0x60000293a7c0>:
E <C object Array of Char {'nolength': True} at 0x600002b71680>:
E <C object Array of Char {'nolength': True} at 0x600002b729e0>:
E <C object Array of Char {'nolength': True} at 0x6000029113e0>:
E <C object Array of Char {'nolength': True} at 0x600002b727e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72960>:
E <C object Array of Char {'nolength': True} at 0x600002b71b00>:
E <C object Array of Char {'nolength': True} at 0x600002911030>:
E <C object Array of Char {'nolength': True} at 0x60000290d6b0>:
E <C object Array of Char {'nolength': True} at 0x600002b72860>:
E <C object Array of Char {'nolength': True} at 0x600002b72920>:
E <C object Array of Char {'nolength': True} at 0x600002939640>:
E <C object Array of Char {'nolength': True} at 0x60000293b460>:
E <C object Array of Char {'nolength': True} at 0x600002b72100>:
E <C object Array of Char {'nolength': True} at 0x600002b72240>:
E <C object Array of Char {'nolength': True} at 0x6000029399f0>:
E <C object Array of Char {'nolength': True} at 0x60000293ba40>:
E <C object Array of Char {'nolength': True} at 0x600002b720e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72b20>:
E <C object Array of Char {'nolength': True} at 0x600002939730>:
E <C object Array of Char {'nolength': True} at 0x60000293b720>:
E <C object Array of Char {'nolength': True} at 0x600002b72220>:
E <C object Array of Char {'nolength': True} at 0x600002b72b60>:
E <C object Array of Char {'nolength': True} at 0x600002906370>:
E <C object Array of Char {'nolength': True} at 0x600002912700>:
E <C object Array of Char {'nolength': True} at 0x600002b72000>:
E <C object Array of Char {'nolength': True} at 0x600002b72b40>:
E <C object Array of Char {'nolength': True} at 0x600002939580>:
E <C object Array of Char {'nolength': True} at 0x60000293b7e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72800>:
E <C object Array of Char {'nolength': True} at 0x600002b72ca0>:
E <C object Array of Char {'nolength': True} at 0x60000291bf60>:
E <C object Array of Char {'nolength': True} at 0x60000293aa50>:
E <C object Array of Char {'nolength': True} at 0x600002b729c0>:
E <C object Array of Char {'nolength': True} at 0x600002b723e0>:
E <C object Array of Char {'nolength': True} at 0x600002b43e00>:
E <C object Array of Char {'nolength': True} at 0x60000293de10>:
E <C object Array of Char {'nolength': True} at 0x600002576670>:
E <C object Array of Char {'nolength': True} at 0x600002576be0>:
E <C object Array of Char {'nolength': True} at 0x600002b43340>:
E <C object Array of Char {'nolength': True} at 0x600002b43fe0>:
E <C object Array of Char {'nolength': True} at 0x600002b43b20>:
E <C object Array of Char {'nolength': True} at 0x600002b42740>:
E <C object Array of Char {'nolength': True} at 0x600002b43c40>:
E <C object Array of Char {'nolength': True} at 0x600002b7fde0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fa80>:
E <C object Array of Char {'nolength': True} at 0x600002b7fe80>:
E <C object Array of Char {'nolength': True} at 0x600002b7fa20>:
E <C object Array of Char {'nolength': True} at 0x600002b7fd80>:
E <C object Array of Char {'nolength': True} at 0x600002b7f2a0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fee0>:
E <C object Array of Char {'nolength': True} at 0x600002b7f960>:
E <C object Array of Char {'nolength': True} at 0x600002b43e80>:
E <C object Array of Char {'nolength': True} at 0x600002b7fc80>:
E <C object Array of Char {'nolength': True} at 0x600002b6f7a0>:
E <C object Array of Char {'nolength': True} at 0x600002900f40>:
E <C object Array of Char {'nolength': True} at 0x60000257aa90>:
E <C object Array of Char {'nolength': True} at 0x60000257b6c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ee60>:
E <C object Array of Char {'nolength': True} at 0x600002b6ee20>:
E <C object Array of Char {'nolength': True} at 0x600002b6f940>:
E <C object Array of Char {'nolength': True} at 0x600002b6e700>:
E <C object Array of Char {'nolength': True} at 0x600002b6eae0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f820>:
E <C object Array of Char {'nolength': True} at 0x600002b6f8a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f540>:
E <C object Array of Char {'nolength': True} at 0x600002b6f020>:
E <C object Array of Char {'nolength': True} at 0x600002b6f880>:
E <C object Array of Char {'nolength': True} at 0x600002b6f920>:
E <C object Array of Char {'nolength': True} at 0x600002b6fa60>:
E <C object Array of Char {'nolength': True} at 0x600002b6f1a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f9e0>:
E <C object Array of Char {'nolength': True} at 0x600002934240>:
E <C object Array of Char {'nolength': True} at 0x600002b6f000>:
E <C object Array of Char {'nolength': True} at 0x600002b6a460>:
E <C object Array of Char {'nolength': True} at 0x600002907d00>:
E <C object Array of Char {'nolength': True} at 0x600002b6ab60>:
E <C object Array of Char {'nolength': True} at 0x600002b69620>:
E <C object Array of Char {'nolength': True} at 0x600002b68d60>:
E <C object Array of Char {'nolength': True} at 0x600002931710>:
E <C object Array of Char {'nolength': True} at 0x600002930020>:
E <C object Array of Char {'nolength': True} at 0x600002b6a780>:
E <C object Array of Char {'nolength': True} at 0x600002b6a640>:
E <C object Array of Char {'nolength': True} at 0x6000029338d0>:
E <C object Array of Char {'nolength': True} at 0x6000029080f0>:
E <C object Array of Char {'nolength': True} at 0x600002b68e00>:
E <C object Array of Char {'nolength': True} at 0x600002b6a960>:
E <C object Array of Char {'nolength': True} at 0x600002934030>:
E <C object Array of Char {'nolength': True} at 0x6000029380b0>:
E <C object Array of Char {'nolength': True} at 0x600002b727a0>:
E <C object Array of Char {'nolength': True} at 0x600002b72840>:
E <C object Array of Char {'nolength': True} at 0x600002b72be0>:
E <C object Array of Char {'nolength': True} at 0x600002b72b00>:
E <C object Array of Char {'nolength': True} at 0x600002b72ea0>:
E <C object Array of Char {'nolength': True} at 0x600002b728e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72d60>:
E <C object Array of Char {'nolength': True} at 0x600002b72e20>:
E <C object Array of Char {'nolength': True} at 0x600002b72d00>:
E <C object Array of Char {'nolength': True} at 0x600002b72e60>:
E <C object Array of Char {'nolength': True} at 0x600002b72c20>:
E <C object Array of Char {'nolength': True} at 0x600002b72ec0>:
E <C object Array of Char {'nolength': True} at 0x600002907a60>:
E <C object Array of Char {'nolength': True} at 0x600002b72820>:
E <C object Array of Char {'nolength': True} at 0x60000290bfe0>:
E <C object Array of Char {'nolength': True} at 0x600002b72b80>:
E <C object Array of Char {'nolength': True} at 0x600002939c00>:
E <C object Array of Char {'nolength': True} at 0x60000292c000>:
E <C object Array of Char {'nolength': True} at 0x600002b72ba0>:
E <C object Array of Char {'nolength': True} at 0x600002b72320>:
E <C object Array of Char {'nolength': True} at 0x60000292f420>:
E <C object Array of Char {'nolength': True} at 0x600002938140>:
E <C object Array of Char {'nolength': True} at 0x600002b723c0>:
E <C object Array of Char {'nolength': True} at 0x600002b72420>:
E <C object Array of Char {'nolength': True} at 0x6000029172c0>:
E <C object Array of Char {'nolength': True} at 0x60000292c020>:
E <C object Array of Char {'nolength': True} at 0x600002b72ee0>:
E <C object Array of Char {'nolength': True} at 0x600002b71f40>:
E <C object Array of Char {'nolength': True} at 0x600002b72d20>:
E <C object Array of Char {'nolength': True} at 0x600002b73000>:
E <C object Array of Char {'nolength': True} at 0x600002b72de0>:
E <C object Array of Char {'nolength': True} at 0x600002b72f00>:
E <C object Array of Char {'nolength': True} at 0x600002b72c00>:
E <C object Array of Char {'nolength': True} at 0x600002b728c0>:
E <C object Array of Char {'nolength': True} at 0x600002b731a0>:
E <C object Array of Char {'nolength': True} at 0x600002b72aa0>:
E <C object Array of Char {'nolength': True} at 0x600002b72fc0>:
E <C object Array of Char {'nolength': True} at 0x600002b73260>:
E <C object Array of Char {'nolength': True} at 0x60000292d280>:
E <C object Array of Char {'nolength': True} at 0x600002b72c40>:
E <C object Array of Char {'nolength': True} at 0x60000292c0b0>:
E <C object Array of Char {'nolength': True} at 0x600002b730c0>:
E <C object Array of Char {'nolength': True} at 0x60000292e2d0>:
E <C object Array of Char {'nolength': True} at 0x60000292f780>:
E <C object Array of Char {'nolength': True} at 0x600002b72f40>:
E <C object Array of Char {'nolength': True} at 0x600002b73320>:
E <C object Array of Char {'nolength': True} at 0x6000029171a0>:
E <C object Array of Char {'nolength': True} at 0x60000293b7b0>:
E <C object Array of Char {'nolength': True} at 0x600002b72a00>:
E <C object Array of Char {'nolength': True} at 0x600002b72540>:
E <C object Array of Char {'nolength': True} at 0x60000292e750>:
E <C object Array of Char {'nolength': True} at 0x60000292fc60>:
E <C object Array of Char {'nolength': True} at 0x600002b72e40>:
E <C object Array of Char {'nolength': True} at 0x600002b73360>:
E <C object Array of Char {'nolength': True} at 0x600002938300>:
E <C object Array of Char {'nolength': True} at 0x60000292c230>:
E <C object Array of Char {'nolength': True} at 0x600002b72a60>:
E <C object Array of Char {'nolength': True} at 0x600002b72cc0>:
E <C object Array of Char {'nolength': True} at 0x60000292f560>:
E <C object Array of Char {'nolength': True} at 0x60000293b020>:
E <C object Array of Char {'nolength': True} at 0x600002b73060>:
E <C object Array of Char {'nolength': True} at 0x600002b72a80>:
E <C object Array of Char {'nolength': True} at 0x600002b733e0>:
E <C object Array of Char {'nolength': True} at 0x600002b72940>:
E <C object Array of Char {'nolength': True} at 0x600002b734e0>:
E <C object Array of Char {'nolength': True} at 0x600002b73100>:
E <C object Array of Char {'nolength': True} at 0x600002b73380>:
E <C object Array of Char {'nolength': True} at 0x600002b726e0>:
E <C object Array of Char {'nolength': True} at 0x600002b733c0>:
E <C object Array of Char {'nolength': True} at 0x60000293bdd0>:
E <C object Array of Char {'nolength': True} at 0x60000257e8b0>:
E <C object Array of Char {'nolength': True} at 0x60000257ea60>:
E <C object Array of Char {'nolength': True} at 0x600002b72e80>:
E <C object Array of Char {'nolength': True} at 0x600002b72dc0>:
E <C object Array of Char {'nolength': True} at 0x600002b73180>:
E <C object Array of Char {'nolength': True} at 0x600002b73560>:
E <C object Array of Char {'nolength': True} at 0x600002b73440>:
E <C object Array of Char {'nolength': True} at 0x600002b73340>:
E <C object Array of Char {'nolength': True} at 0x600002b73480>:
E <C object Array of Char {'nolength': True} at 0x60000292d1b0>:
E <C object Array of Char {'nolength': True} at 0x60000292f320>:
E <C object Array of Char {'nolength': True} at 0x600002b72680>:
E <C object Array of Char {'nolength': True} at 0x600002b73400>:
E <C object Array of Char {'nolength': True} at 0x600002928690>:
E <C object Array of Char {'nolength': True} at 0x600002929850>:
E <C object Array of Char {'nolength': True} at 0x600002b72fe0>:
E <C object Array of Char {'nolength': True} at 0x600002b73040>:
E <C object Array of Char {'nolength': True} at 0x60000292ae30>:
E <C object Array of Char {'nolength': True} at 0x60000292bff0>:
E <C object Array of Char {'nolength': True} at 0x600002b725c0>:
E <C object Array of Char {'nolength': True} at 0x600002b734a0>:
E <C object Array of Char {'nolength': True} at 0x600002b72500>:
E <C object Array of Char {'nolength': True} at 0x600002b73680>:
E <C object Array of Char {'nolength': True} at 0x600002b726c0>:
E <C object Array of Char {'nolength': True} at 0x600002b72080>:
E <C object Array of Char {'nolength': True} at 0x600002b735c0>:
E <C object Array of Char {'nolength': True} at 0x600002963df0>:
E <C object Array of Char {'nolength': True} at 0x60000257e970>:
E <C object Array of Char {'nolength': True} at 0x600002b73160>:
E <C object Array of Char {'nolength': True} at 0x600002b73660>:
E <C object Array of Char {'nolength': True} at 0x600002b735e0>:
E <C object Array of Char {'nolength': True} at 0x600002b730a0>:
E <C object Array of Char {'nolength': True} at 0x600002b73200>:
E <C object Array of Char {'nolength': True} at 0x600002b737c0>:
E <C object Array of Char {'nolength': True} at 0x600002b73300>:
E <C object Array of Char {'nolength': True} at 0x600002b723a0>:
E <C object Array of Char {'nolength': True} at 0x6000029284f0>:
E <C object Array of Char {'nolength': True} at 0x600002928ca0>:
E <C object Array of Char {'nolength': True} at 0x600002b732e0>:
E <C object Array of Char {'nolength': True} at 0x600002b73800>:
E <C object Array of Char {'nolength': True} at 0x60000292dbe0>:
E <C object Array of Char {'nolength': True} at 0x60000292e270>:
E <C object Array of Char {'nolength': True} at 0x600002b732a0>:
E <C object Array of Char {'nolength': True} at 0x600002b737a0>:
E <C object Array of Char {'nolength': True} at 0x6000029294e0>:
E <C object Array of Char {'nolength': True} at 0x600002929180>:
E <C object Array of Char {'nolength': True} at 0x600002b73540>:
E <C object Array of Char {'nolength': True} at 0x600002b732c0>:
E <C object Array of Char {'nolength': True} at 0x60000292d990>:
E <C object Array of Char {'nolength': True} at 0x60000293aa30>:
E <C object Array of Char {'nolength': True} at 0x600002b73580>:
E <C object Array of Char {'nolength': True} at 0x600002b73220>:
E <C object Array of Char {'nolength': True} at 0x600002b6a860>:
E <C object Array of Char {'nolength': True} at 0x600002928150>:
E <C object Array of Char {'nolength': True} at 0x600002b73820>:
E <C object Array of Char {'nolength': True} at 0x600002b72900>:
E <C object Array of Char {'nolength': True} at 0x600002b7ec20>:
E <C object Array of Char {'nolength': True} at 0x600002b73420>:
E <C object Array of Char {'nolength': True} at 0x600002b73860>:
E <C object Array of Char {'nolength': True} at 0x600002b72d80>:
E <C object Array of Char {'nolength': True} at 0x600002b73640>:
E <C object Array of Char {'nolength': True} at 0x600002b73120>:
E <C object Array of Char {'nolength': True} at 0x600002b731c0>:
E <C object Array of Char {'nolength': True} at 0x600002b739e0>:
E <C object Array of Char {'nolength': True} at 0x600002b73700>:
E <C object Array of Char {'nolength': True} at 0x600002b739a0>:
E <C object Array of Char {'nolength': True} at 0x600002b73a40>:
E <C object Array of Char {'nolength': True} at 0x600002b68ae0>:
E <C object Array of Char {'nolength': True} at 0x600002b697e0>:
E <C object Array of Char {'nolength': True} at 0x600002b69960>:
E <C object Array of Char {'nolength': True} at 0x600002b6abc0>:
E <C object Array of Char {'nolength': True} at 0x600002b7ff80>:
E <C object Array of Char {'nolength': True} at 0x60000292e740>:
E <C object Array of Char {'nolength': True} at 0x600002b7fec0>:
E <C object Array of Char {'nolength': True} at 0x600002b581a0>:
E <C object Array of Char {'nolength': True} at 0x600002b43be0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fc20>:
E <C object Array of Char {'nolength': True} at 0x600002b7f780>:
E <C object Array of Char {'nolength': True} at 0x600002b7ff20>:
E <C object Array of Char {'nolength': True} at 0x600002b43ec0>:
E <C object Array of Char {'nolength': True} at 0x600002b581c0>:
E <C object Array of Char {'nolength': True} at 0x600002b7ffa0>:
E <C object Array of Char {'nolength': True} at 0x600002926ca0>:
E <C object Array of Char {'nolength': True} at 0x600002927ec0>:
E <C object Array of Char {'nolength': True} at 0x600002b7f2e0>:
E <C object Array of Char {'nolength': True} at 0x600002b43d00>:
E <C object Array of Char {'nolength': True} at 0x600002927860>:
E <C object Array of Char {'nolength': True} at 0x60000292c420>:
E <C object Array of Char {'nolength': True} at 0x600002b4ee60>:
E <C object Array of Char {'nolength': True} at 0x600002b7f5e0>:
E <C object Array of Char {'nolength': True} at 0x60000290f720>:
E <C object Array of Char {'nolength': True} at 0x600002924060>:
E <C object Array of Char {'nolength': True} at 0x600002b7fdc0>:
E <C object Array of Char {'nolength': True} at 0x600002b43e60>:
E <C object Array of Char {'nolength': True} at 0x600002b58220>:
E <C object Array of Char {'nolength': True} at 0x600002b7fe20>:
E <C object Array of Char {'nolength': True} at 0x600002b43900>:
E <C object Array of Char {'nolength': True} at 0x600002b7fd00>:
E <C object Array of Char {'nolength': True} at 0x600002b643e0>:
E <C object Array of Char {'nolength': True} at 0x600002927370>:
E <C object Array of Char {'nolength': True} at 0x600002576a30>:
E <C object Array of Char {'nolength': True} at 0x600002576c70>:
E <C object Array of Char {'nolength': True} at 0x600002b641e0>:
E <C object Array of Char {'nolength': True} at 0x600002b64400>:
E <C object Array of Char {'nolength': True} at 0x600002b64240>:
E <C object Array of Char {'nolength': True} at 0x600002b64600>:
E <C object Array of Char {'nolength': True} at 0x600002b64180>:
E <C object Array of Char {'nolength': True} at 0x600002b644c0>:
E <C object Array of Char {'nolength': True} at 0x600002b64500>:
E <C object Array of Char {'nolength': True} at 0x600002924d00>:
E <C object Array of Char {'nolength': True} at 0x600002926680>:
E <C object Array of Char {'nolength': True} at 0x600002b64300>:
E <C object Array of Char {'nolength': True} at 0x600002b645c0>:
E <C object Array of Char {'nolength': True} at 0x60000293d830>:
E <C object Array of Char {'nolength': True} at 0x6000029023e0>:
E <C object Array of Char {'nolength': True} at 0x600002b645e0>:
E <C object Array of Char {'nolength': True} at 0x600002b646a0>:
E <C object Array of Char {'nolength': True} at 0x6000029251f0>:
E <C object Array of Char {'nolength': True} at 0x600002926cc0>:
E <C object Array of Char {'nolength': True} at 0x600002b64120>:
E <C object Array of Char {'nolength': True} at 0x600002b6f980>:
E <C object Array of Char {'nolength': True} at 0x600002935110>:
E <C object Array of Char {'nolength': True} at 0x6000029369b0>:
E <C object Array of Char {'nolength': True} at 0x600002b6eb80>:
E <C object Array of Char {'nolength': True} at 0x600002b6f0c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6faa0>:
E <C object Array of Char {'nolength': True} at 0x600002935fb0>:
E <C object Array of Char {'nolength': True} at 0x600002570900>:
E <C object Array of Char {'nolength': True} at 0x600002570ed0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a9c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ab20>:
E <C object Array of Char {'nolength': True} at 0x600002b6a0e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ab80>:
E <C object Array of Char {'nolength': True} at 0x600002b6acc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a4e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6aa20>:
E <C object Array of Char {'nolength': True} at 0x600002b6aba0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a8e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a3a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6aac0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a7a0>:
E <C object Array of Char {'nolength': True} at 0x600002b69fe0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ad80>:
E <C object Array of Char {'nolength': True} at 0x600002b6a800>:
E <C object Array of Char {'nolength': True} at 0x600002b6a9e0>:
E <C object Array of Char {'nolength': True} at 0x600002924db0>:
E <C object Array of Char {'nolength': True} at 0x6000025709c0>:
E <C object Array of Char {'nolength': True} at 0x600002570fc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a8a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a740>:
E <C object Array of Char {'nolength': True} at 0x600002b6f5e0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fb20>:
E <C object Array of Char {'nolength': True} at 0x600002b6fbe0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f520>:
E <C object Array of Char {'nolength': True} at 0x600002b6f680>:
E <C object Array of Char {'nolength': True} at 0x600002b6f840>:
E <C object Array of Char {'nolength': True} at 0x600002b6fbc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fd40>:
E <C object Array of Char {'nolength': True} at 0x600002b6f660>:
E <C object Array of Char {'nolength': True} at 0x600002b6f380>:
E <C object Array of Char {'nolength': True} at 0x600002b6fc60>:
E <C object Array of Char {'nolength': True} at 0x600002b6f560>:
E <C object Array of Char {'nolength': True} at 0x600002924bd0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f8c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fae0>:
E <C object Array of Char {'nolength': True} at 0x600002924470>:
E <C object Array of Char {'nolength': True} at 0x600002b6f860>:
E <C object Array of Char {'nolength': True} at 0x600002b6fc80>:
E <C object Array of Char {'nolength': True} at 0x600002b6fb40>:
E <C object Array of Char {'nolength': True} at 0x600002934b70>:
E <C object Array of Char {'nolength': True} at 0x600002936d40>:
E <C object Array of Char {'nolength': True} at 0x600002b6fde0>:
E <C object Array of Char {'nolength': True} at 0x600002b73960>:
E <C object Array of Char {'nolength': True} at 0x600002929d70>:
E <C object Array of Char {'nolength': True} at 0x60000292ba40>:
E <C object Array of Char {'nolength': True} at 0x600002b73620>:
E <C object Array of Char {'nolength': True} at 0x600002b733a0>:
E <C object Array of Char {'nolength': True} at 0x600002937740>:
E <C object Array of Char {'nolength': True} at 0x600002930120>:
E <C object Array of Char {'nolength': True} at 0x600002b6ad20>:
E <C object Array of Char {'nolength': True} at 0x600002b6a6c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6aaa0>:
E <C object Array of Char {'nolength': True} at 0x600002b6aec0>:
E <C object Array of Char {'nolength': True} at 0x600002b6abe0>:
E <C object Array of Char {'nolength': True} at 0x600002b6a720>:
E <C object Array of Char {'nolength': True} at 0x600002b69440>:
E <C object Array of Char {'nolength': True} at 0x600002b6ae00>:
E <C object Array of Char {'nolength': True} at 0x600002b6aca0>:
E <C object Array of Char {'nolength': True} at 0x600002937c40>:
E <C object Array of Char {'nolength': True} at 0x600002b6ae60>:
E <C object Array of Char {'nolength': True} at 0x600002b6af20>:
E <C object Array of Char {'nolength': True} at 0x600002935c90>:
E <C object Array of Char {'nolength': True} at 0x600002b6af00>:
E <C object Array of Char {'nolength': True} at 0x600002b64000>:
E <C object Array of Char {'nolength': True} at 0x600002b64560>:
E <C object Array of Char {'nolength': True} at 0x600002937660>:
E <C object Array of Char {'nolength': True} at 0x60000293e900>:
E <C object Array of Char {'nolength': True} at 0x600002b64360>:
E <C object Array of Char {'nolength': True} at 0x600002b64620>:
E <C object Array of Char {'nolength': True} at 0x600002921000>:
E <C object Array of Char {'nolength': True} at 0x6000029221c0>:
E <C object Array of Char {'nolength': True} at 0x600002b73a00>:
E <C object Array of Char {'nolength': True} at 0x600002b73280>:
E <C object Array of Char {'nolength': True} at 0x60000292a0e0>:
E <C object Array of Char {'nolength': True} at 0x60000292be40>:
E <C object Array of Char {'nolength': True} at 0x600002b72ac0>:
E <C object Array of Char {'nolength': True} at 0x600002b73140>:
E <C object Array of Char {'nolength': True} at 0x60000293f2c0>:
E <C object Array of Char {'nolength': True} at 0x600002936500>:
E <C object Array of Char {'nolength': True} at 0x600002b73900>:
E <C object Array of Char {'nolength': True} at 0x600002b73a60>:
E <C object Array of Char {'nolength': True} at 0x60000292b330>:
E <C object Array of Char {'nolength': True} at 0x600002936470>:
E <C object Array of Char {'nolength': True} at 0x600002b736c0>:
E <C object Array of Char {'nolength': True} at 0x600002b73720>:
E <C object Array of Char {'nolength': True} at 0x600002b73080>:
E <C object Array of Char {'nolength': True} at 0x600002b73600>:
E <C object Array of Char {'nolength': True} at 0x600002b73c60>:
E <C object Array of Char {'nolength': True} at 0x600002b731e0>:
E <C object Array of Char {'nolength': True} at 0x600002b73ac0>:
E <C object Array of Char {'nolength': True} at 0x600002b73a20>:
E <C object Array of Char {'nolength': True} at 0x600002b72660>:
E <C object Array of Char {'nolength': True} at 0x600002929cf0>:
E <C object Array of Char {'nolength': True} at 0x60000257f6f0>:
E <C object Array of Char {'nolength': True} at 0x60000257fc60>:
E <C object Array of Char {'nolength': True} at 0x600002b73020>:
E <C object Array of Char {'nolength': True} at 0x600002b72980>:
E <C object Array of Char {'nolength': True} at 0x600002b73ba0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ade0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ad60>:
E <C object Array of Char {'nolength': True} at 0x600002b6b080>:
E <C object Array of Char {'nolength': True} at 0x600002b6b1e0>:
E <C object Array of Char {'nolength': True} at 0x60000292a9b0>:
E <C object Array of Char {'nolength': True} at 0x6000029314e0>:
E <C object Array of Char {'nolength': True} at 0x600002b69e40>:
E <C object Array of Char {'nolength': True} at 0x600002b6a6a0>:
E <C object Array of Char {'nolength': True} at 0x60000293fe30>:
E <C object Array of Char {'nolength': True} at 0x600002932cc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6b180>:
E <C object Array of Char {'nolength': True} at 0x600002b6ac00>:
E <C object Array of Char {'nolength': True} at 0x600002928950>:
E <C object Array of Char {'nolength': True} at 0x600002928240>:
E <C object Array of Char {'nolength': True} at 0x600002b6a760>:
E <C object Array of Char {'nolength': True} at 0x600002b6af80>:
E <C object Array of Char {'nolength': True} at 0x600002b6b020>:
E <C object Array of Char {'nolength': True} at 0x600002b6b2c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6b060>:
E <C object Array of Char {'nolength': True} at 0x600002b6b2a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ae80>:
E <C object Array of Char {'nolength': True} at 0x600002931400>:
E <C object Array of Char {'nolength': True} at 0x600002576cd0>:
E <C object Array of Char {'nolength': True} at 0x600002577240>:
E <C object Array of Char {'nolength': True} at 0x600002b645a0>:
E <C object Array of Char {'nolength': True} at 0x600002b641a0>:
E <C object Array of Char {'nolength': True} at 0x600002b64700>:
E <C object Array of Char {'nolength': True} at 0x600002b640a0>:
E <C object Array of Char {'nolength': True} at 0x600002b64680>:
E <C object Array of Char {'nolength': True} at 0x600002b64920>:
E <C object Array of Char {'nolength': True} at 0x600002b64540>:
E <C object Array of Char {'nolength': True} at 0x6000029317e0>:
E <C object Array of Char {'nolength': True} at 0x60000293ce90>:
E <C object Array of Char {'nolength': True} at 0x600002b64280>:
E <C object Array of Char {'nolength': True} at 0x600002b642e0>:
E <C object Array of Char {'nolength': True} at 0x600002921ca0>:
E <C object Array of Char {'nolength': True} at 0x600002923010>:
E <C object Array of Char {'nolength': True} at 0x600002b64780>:
E <C object Array of Char {'nolength': True} at 0x600002b643a0>:
E <C object Array of Char {'nolength': True} at 0x60000293d4a0>:
E <C object Array of Char {'nolength': True} at 0x600002920ad0>:
E <C object Array of Char {'nolength': True} at 0x600002b641c0>:
E <C object Array of Char {'nolength': True} at 0x600002b64480>:
E <C object Array of Char {'nolength': True} at 0x600002922600>:
E <C object Array of Char {'nolength': True} at 0x600002923a20>:
E <C object Array of Char {'nolength': True} at 0x600002b646e0>:
E <C object Array of Char {'nolength': True} at 0x600002b647c0>:
E <C object Array of Char {'nolength': True} at 0x600002b649e0>:
E <C object Array of Char {'nolength': True} at 0x600002922c80>:
E <C object Array of Char {'nolength': True} at 0x600002576e20>:
E <C object Array of Char {'nolength': True} at 0x600002b64940>:
E <C object Array of Char {'nolength': True} at 0x600002b648e0>:
E <C object Array of Char {'nolength': True} at 0x600002b64aa0>:
E <C object Array of Char {'nolength': True} at 0x600002b64c00>:
E <C object Array of Char {'nolength': True} at 0x600002b64380>:
E <C object Array of Char {'nolength': True} at 0x600002b64340>:
E <C object Array of Char {'nolength': True} at 0x600002b64420>:
E <C object Array of Char {'nolength': True} at 0x600002b64960>:
E <C object Array of Char {'nolength': True} at 0x600002b64c40>:
E <C object Array of Char {'nolength': True} at 0x600002b64080>:
E <C object Array of Char {'nolength': True} at 0x600002b64980>:
E <C object Array of Char {'nolength': True} at 0x600002b649a0>:
E <C object Array of Char {'nolength': True} at 0x600002b642a0>:
E <C object Array of Char {'nolength': True} at 0x600002b64a80>:
E <C object Array of Char {'nolength': True} at 0x600002b64140>:
E <C object Array of Char {'nolength': True} at 0x600002b64ae0>:
E <C object Array of Char {'nolength': True} at 0x600002b642c0>:
E <C object Array of Char {'nolength': True} at 0x60000293c690>:
E <C object Array of Char {'nolength': True} at 0x600002b64ca0>:
E <C object Array of Char {'nolength': True} at 0x600002b648a0>:
E <C object Array of Char {'nolength': True} at 0x600002b64ba0>:
E <C object Array of Char {'nolength': True} at 0x600002b647a0>:
E <C object Array of Char {'nolength': True} at 0x600002b64b00>:
E <C object Array of Char {'nolength': True} at 0x600002b64840>:
E <C object Array of Char {'nolength': True} at 0x600002b64660>:
E <C object Array of Char {'nolength': True} at 0x600002b64dc0>:
E <C object Array of Char {'nolength': True} at 0x600002b640c0>:
E <C object Array of Char {'nolength': True} at 0x6000029de080>:
E <C object Array of Char {'nolength': True} at 0x6000029df260>:
E <C object Array of Char {'nolength': True} at 0x600002b649c0>:
E <C object Array of Char {'nolength': True} at 0x600002b64520>:
E <C object Array of Char {'nolength': True} at 0x600002923dd0>:
E <C object Array of Char {'nolength': True} at 0x600002932610>:
E <C object Array of Char {'nolength': True} at 0x600002b64be0>:
E <C object Array of Char {'nolength': True} at 0x600002b64440>:
E <C object Array of Char {'nolength': True} at 0x6000029dc4b0>:
E <C object Array of Char {'nolength': True} at 0x6000029dd8b0>:
E <C object Array of Char {'nolength': True} at 0x600002b64ce0>:
E <C object Array of Char {'nolength': True} at 0x600002b64880>:
E <C object Array of Char {'nolength': True} at 0x600002b64580>:
E <C object Array of Char {'nolength': True} at 0x600002b64800>:
E <C object Array of Char {'nolength': True} at 0x600002b64e00>:
E <C object Array of Char {'nolength': True} at 0x600002b64d00>:
E <C object Array of Char {'nolength': True} at 0x600002b65000>:
E <C object Array of Char {'nolength': True} at 0x6000029dc280>:
E <C object Array of Char {'nolength': True} at 0x600002576eb0>:
E <C object Array of Char {'nolength': True} at 0x600002577450>:
E <C object Array of Char {'nolength': True} at 0x600002b64760>:
E <C object Array of Char {'nolength': True} at 0x600002b64a60>:
E <C object Array of Char {'nolength': True} at 0x600002b64e20>:
E <C object Array of Char {'nolength': True} at 0x600002b64bc0>:
E <C object Array of Char {'nolength': True} at 0x600002b64d60>:
E <C object Array of Char {'nolength': True} at 0x600002b650c0>:
E <C object Array of Char {'nolength': True} at 0x600002b64a00>:
E <C object Array of Char {'nolength': True} at 0x600002923d90>:
E <C object Array of Char {'nolength': True} at 0x600002933700>:
E <C object Array of Char {'nolength': True} at 0x600002b65020>:
E <C object Array of Char {'nolength': True} at 0x600002b64460>:
E <C object Array of Char {'nolength': True} at 0x6000029de470>:
E <C object Array of Char {'nolength': True} at 0x6000029dfa00>:
E <C object Array of Char {'nolength': True} at 0x600002b64060>:
E <C object Array of Char {'nolength': True} at 0x600002b647e0>:
E <C object Array of Char {'nolength': True} at 0x60000293f040>:
E <C object Array of Char {'nolength': True} at 0x600002923470>:
E <C object Array of Char {'nolength': True} at 0x600002b64b60>:
E <C object Array of Char {'nolength': True} at 0x600002b64320>:
E <C object Array of Char {'nolength': True} at 0x6000029de7d0>:
E <C object Array of Char {'nolength': True} at 0x6000029dfdc0>:
E <C object Array of Char {'nolength': True} at 0x600002b64b40>:
E <C object Array of Char {'nolength': True} at 0x600002b64a40>:
E <C object Array of Char {'nolength': True} at 0x600002b650e0>:
E <C object Array of Char {'nolength': True} at 0x6000029ddbd0>:
E <C object Array of Char {'nolength': True} at 0x6000025760a0>:
E <C object Array of Char {'nolength': True} at 0x6000025772d0>:
E <C object Array of Char {'nolength': True} at 0x600002b64220>:
E <C object Array of Char {'nolength': True} at 0x600002b650a0>:
E <C object Array of Char {'nolength': True} at 0x600002b65100>:
E <C object Array of Char {'nolength': True} at 0x600002b6f960>:
E <C object Array of Char {'nolength': True} at 0x600002b6fc40>:
E <C object Array of Char {'nolength': True} at 0x600002b6fea0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fe40>:
E <C object Array of Char {'nolength': True} at 0x600002b6fdc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fb60>:
E <C object Array of Char {'nolength': True} at 0x600002b6f9a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fd00>:
E <C object Array of Char {'nolength': True} at 0x600002b6fcc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f2a0>:
E <C object Array of Char {'nolength': True} at 0x600002b7f760>:
E <C object Array of Char {'nolength': True} at 0x600002b43c60>:
E <C object Array of Char {'nolength': True} at 0x600002b43f20>:
E <C object Array of Char {'nolength': True} at 0x6000029d85d0>:
E <C object Array of Char {'nolength': True} at 0x60000257b360>:
E <C object Array of Char {'nolength': True} at 0x60000257b630>:
E <C object Array of Char {'nolength': True} at 0x600002b6f740>:
E <C object Array of Char {'nolength': True} at 0x600002b6fee0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fe80>:
E <C object Array of Char {'nolength': True} at 0x600002b7fb20>:
E <C object Array of Char {'nolength': True} at 0x600002b43f60>:
E <C object Array of Char {'nolength': True} at 0x600002b7fd20>:
E <C object Array of Char {'nolength': True} at 0x600002b6fd60>:
E <C object Array of Char {'nolength': True} at 0x600002b6fa40>:
E <C object Array of Char {'nolength': True} at 0x600002b7ffe0>:
E <C object Array of Char {'nolength': True} at 0x600002b428e0>:
E <C object Array of Char {'nolength': True} at 0x600002b43ea0>:
E <C object Array of Char {'nolength': True} at 0x600002b7f4c0>:
E <C object Array of Char {'nolength': True} at 0x600002b43fa0>:
E <C object Array of Char {'nolength': True} at 0x600002b43fc0>:
E <C object Array of Char {'nolength': True} at 0x600002b6f620>:
E <C object Array of Char {'nolength': True} at 0x600002b6ff40>:
E <C object Array of Char {'nolength': True} at 0x60000292fc90>:
E <C object Array of Char {'nolength': True} at 0x60000257b480>:
E <C object Array of Char {'nolength': True} at 0x60000257ba20>:
E <C object Array of Char {'nolength': True} at 0x600002b6fa00>:
E <C object Array of Char {'nolength': True} at 0x600002b6ffc0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fe00>:
E <C object Array of Char {'nolength': True} at 0x600002b7fe40>:
E <C object Array of Char {'nolength': True} at 0x600002b6fe00>:
E <C object Array of Char {'nolength': True} at 0x600002b6fc20>:
E <C object Array of Char {'nolength': True} at 0x600002b7f280>:
E <C object Array of Char {'nolength': True} at 0x600002b4eec0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fe60>:
E <C object Array of Char {'nolength': True} at 0x600002b6f720>:
E <C object Array of Char {'nolength': True} at 0x600002b6fba0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ff00>:
E <C object Array of Char {'nolength': True} at 0x600002b7f1a0>:
E <C object Array of Char {'nolength': True} at 0x600002b7fea0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ee80>:
E <C object Array of Char {'nolength': True} at 0x600002b600a0>:
E <C object Array of Char {'nolength': True} at 0x6000029d8870>:
E <C object Array of Char {'nolength': True} at 0x600002b604e0>:
E <C object Array of Char {'nolength': True} at 0x600002b603a0>:
E <C object Array of Char {'nolength': True} at 0x600002b60120>:
E <C object Array of Char {'nolength': True} at 0x600002b604c0>:
E <C object Array of Char {'nolength': True} at 0x600002b60460>:
E <C object Array of Char {'nolength': True} at 0x600002b60280>:
E <C object Array of Char {'nolength': True} at 0x600002b60360>:
E <C object Array of Char {'nolength': True} at 0x600002b60160>:
E <C object Array of Char {'nolength': True} at 0x600002b60580>:
E <C object Array of Char {'nolength': True} at 0x6000029d8640>:
E <C object Array of Char {'nolength': True} at 0x6000029daa50>:
E <C object Array of Char {'nolength': True} at 0x600002b60480>:
E <C object Array of Char {'nolength': True} at 0x600002b605a0>:
E <C object Array of Char {'nolength': True} at 0x6000029d4300>:
E <C object Array of Char {'nolength': True} at 0x6000029d56e0>:
E <C object Array of Char {'nolength': True} at 0x600002b605e0>:
E <C object Array of Char {'nolength': True} at 0x600002b60400>:
E <C object Array of Char {'nolength': True} at 0x600002b60240>:
E <C object Array of Char {'nolength': True} at 0x600002b601e0>:
E <C object Array of Char {'nolength': True} at 0x600002b60500>:
E <C object Array of Char {'nolength': True} at 0x600002b60840>:
E <C object Array of Char {'nolength': True} at 0x600002b606c0>:
E <C object Array of Char {'nolength': True} at 0x600002b60260>:
E <C object Array of Char {'nolength': True} at 0x600002b60100>:
E <C object Array of Char {'nolength': True} at 0x600002922110>:
E <C object Array of Char {'nolength': True} at 0x600002577060>:
E <C object Array of Char {'nolength': True} at 0x600002577030>:
E <C object Array of Char {'nolength': True} at 0x600002b65300>:
E <C object Array of Char {'nolength': True} at 0x600002b64640>:
E <C object Array of Char {'nolength': True} at 0x600002b64e40>:
E <C object Array of Char {'nolength': True} at 0x600002b65160>:
E <C object Array of Char {'nolength': True} at 0x600002b652a0>:
E <C object Array of Char {'nolength': True} at 0x600002b64c60>:
E <C object Array of Char {'nolength': True} at 0x600002b65120>:
E <C object Array of Char {'nolength': True} at 0x6000029282f0>:
E <C object Array of Char {'nolength': True} at 0x6000029dcce0>:
E <C object Array of Char {'nolength': True} at 0x600002b640e0>:
E <C object Array of Char {'nolength': True} at 0x600002b64da0>:
E <C object Array of Char {'nolength': True} at 0x6000029d4080>:
E <C object Array of Char {'nolength': True} at 0x6000029d5900>:
E <C object Array of Char {'nolength': True} at 0x600002b64fe0>:
E <C object Array of Char {'nolength': True} at 0x600002b64860>:
E <C object Array of Char {'nolength': True} at 0x6000029de670>:
E <C object Array of Char {'nolength': True} at 0x600002921c10>:
E <C object Array of Char {'nolength': True} at 0x600002b64740>:
E <C object Array of Char {'nolength': True} at 0x600002b64ec0>:
E <C object Array of Char {'nolength': True} at 0x600002b64ea0>:
E <C object Array of Char {'nolength': True} at 0x600002b64f80>:
E <C object Array of Char {'nolength': True} at 0x600002b65480>:
E <C object Array of Char {'nolength': True} at 0x600002b65220>:
E <C object Array of Char {'nolength': True} at 0x600002b65440>:
E <C object Array of Char {'nolength': True} at 0x6000025771b0>:
E <C object Array of Char {'nolength': True} at 0x600002b65520>:
E <C object Array of Char {'nolength': True} at 0x600002b65180>:
E <C object Array of Char {'nolength': True} at 0x600002b64fa0>:
E <C object Array of Char {'nolength': True} at 0x600002b64c20>:
E <C object Array of Char {'nolength': True} at 0x600002930b10>:
E ...
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 404, in descr_fromlist
E self.fromsequence(w_lst)
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 1096, in fromsequence
E self.setlen(oldlen + len(lst))
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 213, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x600002b7f740>:
E <C object Array of Char {'nolength': True} at 0x600002b6f0a0>:
E <C object Array of Char {'nolength': True} at 0x600002b6ed60>:
E <C object Array of Char {'nolength': True} at 0x600002b6f3c0>:
E <C object Array of Char {'nolength': True} at 0x600002908630>:
E <C object Array of Char {'nolength': True} at 0x600002576340>:
E <C object Array of Char {'nolength': True} at 0x600002b42e60>:
E <C object Array of Char {'nolength': True} at 0x600002b71920>:
E <C object Array of Char {'nolength': True} at 0x600002b43f00>:
E <C object Array of Char {'nolength': True} at 0x600002b721c0>:
E <C object Array of Char {'nolength': True} at 0x600002b71c20>:
E <C object Array of Char {'nolength': True} at 0x6000025765e0>:
E <C object Array of Char {'nolength': True} at 0x60000257adf0>:
E <C object Array of Char {'nolength': True} at 0x600002b6aa80>:
E <C object Array of Char {'nolength': True} at 0x600002908820>:
E <C object Array of Char {'nolength': True} at 0x60000292de20>:
E <C object Array of Char {'nolength': True} at 0x60000257f180>:
E <C object Array of Char {'nolength': True} at 0x600002b73500>:
E <C object Array of Char {'nolength': True} at 0x600002b726a0>:
E <C object Array of Char {'nolength': True} at 0x600002b43100>:
E <C object Array of Char {'nolength': True} at 0x600002576760>:
E <C object Array of Char {'nolength': True} at 0x600002570600>:
E <C object Array of Char {'nolength': True} at 0x6000025706c0>:
E <C object Array of Char {'nolength': True} at 0x600002b6fc00>:
E <C object Array of Char {'nolength': True} at 0x600002b64200>:
E <C object Array of Char {'nolength': True} at 0x60000257f450>:
E <C object Array of Char {'nolength': True} at 0x600002576310>:
E <C object Array of Char {'nolength': True} at 0x600002b64ac0>:
E <C object Array of Char {'nolength': True} at 0x600002b643c0>:
E <C object Array of Char {'nolength': True} at 0x600002576bb0>:
E <C object Array of Char {'nolength': True} at 0x600002576d00>:
E <C object Array of Char {'nolength': True} at 0x60000257b030>:
E <C object Array of Char {'nolength': True} at 0x60000257b120>:
E <C object Array of Char {'nolength': True} at 0x600002b60140>:
E <C object Array of Char {'nolength': True} at 0x600002576d60>:
E ...
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 1270, in setitem_slice
E self.fromsequence(w_lst)
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 1096, in fromsequence
E self.setlen(oldlen + len(lst))
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 213, in setlen
E rffi.CCHARP.TO, byte_size, flavor='raw')
E
E <C object Array of Char {'nolength': True} at 0x600002962740>:
E <C object Array of Char {'nolength': True} at 0x600002916db0>:
E <C object Array of Char {'nolength': True} at 0x600002963f20>:
E <C object Array of Char {'nolength': True} at 0x600002917fe0>:
E <C object Array of Char {'nolength': True} at 0x60000290f4c0>:
E <C object Array of Char {'nolength': True} at 0x60000290f700>:
E <C object Array of Char {'nolength': True} at 0x600002907f90>:
E <C object Array of Char {'nolength': True} at 0x600002966290>:
E <C object Array of Char {'nolength': True} at 0x600002905130>:
E <C object Array of Char {'nolength': True} at 0x600002912470>:
E <C object Array of Char {'nolength': True} at 0x600002905d80>:
E <C object Array of Char {'nolength': True} at 0x600002908b20>:
E <C object Array of Char {'nolength': True} at 0x60000290abd0>:
E <C object Array of Char {'nolength': True} at 0x600002957b70>:
E <C object Array of Char {'nolength': True} at 0x6000029188f0>:
E <C object Array of Char {'nolength': True} at 0x6000029022a0>:
E <C object Array of Char {'nolength': True} at 0x600002900de0>:
E <C object Array of Char {'nolength': True} at 0x600002916600>:
E <C object Array of Char {'nolength': True} at 0x600002900e90>:
E <C object Array of Char {'nolength': True} at 0x600002902e90>:
E <C object Array of Char {'nolength': True} at 0x600002901810>:
E <C object Array of Char {'nolength': True} at 0x6000029142d0>:
E <C object Array of Char {'nolength': True} at 0x600002902a70>:
E <C object Array of Char {'nolength': True} at 0x60000291bde0>:
E <C object Array of Char {'nolength': True} at 0x600002903f00>:
E <C object Array of Char {'nolength': True} at 0x60000290ef50>:
E <C object Array of Char {'nolength': True} at 0x60000293f9a0>:
E <C object Array of Char {'nolength': True} at 0x600002918340>:
E <C object Array of Char {'nolength': True} at 0x60000290aba0>:
E <C object Array of Char {'nolength': True} at 0x60000290bb40>:
E <C object Array of Char {'nolength': True} at 0x60000290b220>:
E <C object Array of Char {'nolength': True} at 0x6000029046f0>:
E <C object Array of Char {'nolength': True} at 0x60000290b8e0>:
E <C object Array of Char {'nolength': True} at 0x600002909560>:
E <C object Array of Char {'nolength': True} at 0x60000290b7c0>:
E <C object Array of Char {'nolength': True} at 0x600002909920>:
E <C object Array of Char {'nolength': True} at 0x6000029046b0>:
E <C object Array of Char {'nolength': True} at 0x60000290ae20>:
E <C object Array of Char {'nolength': True} at 0x60000291dc00>:
E <C object Array of Char {'nolength': True} at 0x600002939cd0>:
E <C object Array of Char {'nolength': True} at 0x60000293b870>:
E <C object Array of Char {'nolength': True} at 0x600002938c50>:
E <C object Array of Char {'nolength': True} at 0x600002938fa0>:
E <C object Array of Char {'nolength': True} at 0x600002938a40>:
E <C object Array of Char {'nolength': True} at 0x600002903280>:
E <C object Array of Char {'nolength': True} at 0x600002938460>:
E <C object Array of Char {'nolength': True} at 0x600002912f20>:
E <C object Array of Char {'nolength': True} at 0x6000029138f0>:
E <C object Array of Char {'nolength': True} at 0x6000029310b0>:
E <C object Array of Char {'nolength': True} at 0x600002933280>:
E <C object Array of Char {'nolength': True} at 0x600002930ce0>:
E <C object Array of Char {'nolength': True} at 0x60000290eee0>:
E <C object Array of Char {'nolength': True} at 0x600002938530>:
E <C object Array of Char {'nolength': True} at 0x60000292edd0>:
E <C object Array of Char {'nolength': True} at 0x6000029136a0>:
E <C object Array of Char {'nolength': True} at 0x60000293bd20>:
E <C object Array of Char {'nolength': True} at 0x60000292db70>:
E <C object Array of Char {'nolength': True} at 0x600002911140>:
E <C object Array of Char {'nolength': True} at 0x60000292dee0>:
E <C object Array of Char {'nolength': True} at 0x600002916970>:
E <C object Array of Char {'nolength': True} at 0x60000292ed20>:
E <C object Array of Char {'nolength': True} at 0x60000293b440>:
E <C object Array of Char {'nolength': True} at 0x60000292f5e0>:
E <C object Array of Char {'nolength': True} at 0x60000292c170>:
E <C object Array of Char {'nolength': True} at 0x600002928000>:
E <C object Array of Char {'nolength': True} at 0x60000292a7e0>:
E <C object Array of Char {'nolength': True} at 0x60000293bc80>:
E <C object Array of Char {'nolength': True} at 0x600002917170>:
E <C object Array of Char {'nolength': True} at 0x60000292cbd0>:
E <C object Array of Char {'nolength': True} at 0x600002928c20>:
E <C object Array of Char {'nolength': True} at 0x60000292c300>:
E <C object Array of Char {'nolength': True} at 0x600002926640>:
E <C object Array of Char {'nolength': True} at 0x600002927190>:
E <C object Array of Char {'nolength': True} at 0x600002901980>:
E <C object Array of Char {'nolength': True} at 0x600002927550>:
E <C object Array of Char {'nolength': True} at 0x6000029243d0>:
E <C object Array of Char {'nolength': True} at 0x60000293c6c0>:
E <C object Array of Char {'nolength': True} at 0x600002924660>:
E <C object Array of Char {'nolength': True} at 0x6000029347e0>:
E <C object Array of Char {'nolength': True} at 0x600002924a10>:
E <C object Array of Char {'nolength': True} at 0x6000029279f0>:
E <C object Array of Char {'nolength': True} at 0x600002929450>:
E <C object Array of Char {'nolength': True} at 0x600002936ae0>:
E <C object Array of Char {'nolength': True} at 0x600002936f50>:
E <C object Array of Char {'nolength': True} at 0x600002936430>:
E <C object Array of Char {'nolength': True} at 0x6000029209b0>:
E <C object Array of Char {'nolength': True} at 0x600002929660>:
E <C object Array of Char {'nolength': True} at 0x60000293e050>:
E <C object Array of Char {'nolength': True} at 0x60000292a660>:
E <C object Array of Char {'nolength': True} at 0x60000293fbb0>:
E <C object Array of Char {'nolength': True} at 0x6000029286f0>:
E <C object Array of Char {'nolength': True} at 0x600002929a90>:
E <C object Array of Char {'nolength': True} at 0x60000293e540>:
E <C object Array of Char {'nolength': True} at 0x60000293fda0>:
E <C object Array of Char {'nolength': True} at 0x600002933f30>:
E <C object Array of Char {'nolength': True} at 0x600002930800>:
E <C object Array of Char {'nolength': True} at 0x6000029214d0>:
E <C object Array of Char {'nolength': True} at 0x600002933c80>:
E <C object Array of Char {'nolength': True} at 0x600002921db0>:
E <C object Array of Char {'nolength': True} at 0x6000029dd9f0>:
E <C object Array of Char {'nolength': True} at 0x6000029231e0>:
E <C object Array of Char {'nolength': True} at 0x6000029dd9b0>:
E <C object Array of Char {'nolength': True} at 0x6000029217a0>:
E <C object Array of Char {'nolength': True} at 0x600002922bb0>:
E <C object Array of Char {'nolength': True} at 0x6000029ddaf0>:
E <C object Array of Char {'nolength': True} at 0x600002933c00>:
E <C object Array of Char {'nolength': True} at 0x6000029ddda0>:
E <C object Array of Char {'nolength': True} at 0x6000029d7f20>:
E <C object Array of Char {'nolength': True} at 0x6000029d48a0>:
E <C object Array of Char {'nolength': True} at 0x6000029d94d0>:
E <C object Array of Char {'nolength': True} at 0x6000029d5450>:
E <C object Array of Char {'nolength': True} at 0x6000029dd520>:
E <C object Array of Char {'nolength': True} at 0x600002933b80>:
E <C object Array of Char {'nolength': True} at 0x6000029dd650>:
E <C object Array of Char {'nolength': True} at 0x6000029d64a0>:
E <C object Array of Char {'nolength': True} at 0x600002923bb0>:
E ...
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 635, in descr_getitem
E return self.getitem_slice(space, w_idx)
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 1232, in getitem_slice
E w_a.setlen(size, overallocate=False)
E File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/array/interp_array.py", line 213, 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 0x600002b7f740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794568950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794574790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945752f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029160d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e66288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e662c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fbe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e66f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e66f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002962740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e66f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000296db50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e66fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290c580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e92410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e92448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e92480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002916db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e924b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002917a30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e924f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000296ca80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e93a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e93a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fc40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e93a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002963f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e93ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290cfd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761e93b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290d910>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ea3088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fcc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ea30c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7faa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ea30f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002917fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ea3130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002962090>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ea3168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002915440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eae800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eae838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eae870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290f4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eae8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029798b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eae8e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029166c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebc100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebc138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebc170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290f700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebc1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002904000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebd600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029051c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebd638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fd40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebd670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebd6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002907f90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ebd6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290cef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ecca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029147d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ecca68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b74000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eccaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f0a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eccad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ecdb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6efe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fb2790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029119e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fb27c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fb2800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6eca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fb3558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fb3590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fe8448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ef80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fe8480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6efa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fe9050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fe9088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782fe9168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ea00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782ffa918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782ffa9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6eea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782ffb910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782ffb9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9782ffba28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ef40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783006e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783006e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783007d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ed60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783007da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783007e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783012ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002904020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97830135c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ed40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783013b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978306e9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978306ea30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307e138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307e170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f3e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307ed78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307edb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307ee90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307fd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307fe18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978307fe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978308ee20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978308ee58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978308fb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978308fbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978309c918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f3c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978309c950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002966290>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978309c988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000294cd70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978309c9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978309c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978309dfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002910170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97830c0020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b715e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97830df6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310c218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310c250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002905130>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310c288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002905a50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310c2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002904ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310d6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f5a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310d718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978310d750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002912470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978312f360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002913400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978312f398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029566d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978312f3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978312f408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783160170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002905d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831601a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029069f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831601e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002910c70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783160218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783160250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b69f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831616a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783161788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831617c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783172a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783172aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831739f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783173a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317a838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002908630>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317a870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002908b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317a8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317a8e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b706a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317a918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317bd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029096a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978317bda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b70ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831908a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029093b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783191280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831912b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290abd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831912f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290b340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783191328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029040c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979459c988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979459c9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b70700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979459c9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002957b70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979459ca30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002908770>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979459ca68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002908920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979459dfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b70ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945ae020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945ae058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029188f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945ae090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002919c70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945ae0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002919bb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945af360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945af398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945af3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945cd050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945cd088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945cd168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945d84b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945d8598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945e69f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945e6ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945e6b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b70f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945e7fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fb00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945f4918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000291bcc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945f4950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945f5558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025765b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945f5d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945f5d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97945f5e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794637280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794637360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794637398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794640b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794640b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794641c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b402a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794641c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946508e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794650918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794660138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b430a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794660170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794661cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794661d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029022a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794661d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794661d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b427c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794661da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979466dd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002901e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979466dda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b433e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979466dde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eecd40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eed638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002900de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eed670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029015b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eed6a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902bf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eed6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761eed718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b40180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f16c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002916600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f16c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029177b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f16c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000291bc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f16cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f16d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f26218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002900e90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f26250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002901850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f26288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902ef0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f262c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f262f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f277f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b431a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f278d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f27910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b432c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f38918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f38950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f39670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b429c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f396a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b434c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f44640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902e90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f446b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f45440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b40100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f45478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f454b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029145c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f454e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f5a6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b434e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f5b130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002901810>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f5b168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f5b1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002903e90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f5b1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f5b210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b438e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9a720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029142d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9a758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029162d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9a790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029013c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9a7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9a800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b439e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9bd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902a70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9bda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002903400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9bde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002917ab0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9be18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b428a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761f9be50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fb13d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fb14b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fb1f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fbe058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fbe090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fbf558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b401a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fe8838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761fe8918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000291bde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ff83a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b428c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ff83d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b427e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ff8410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9761ff9b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290e160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762022720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762022de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762023788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002903f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620237c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620237f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b435a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762060640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b402c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762060678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620606b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290ef50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620606e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293c290>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762060720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293cbd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762061c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762061cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762061d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293f9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762061d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293fff0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762061d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002902720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620796e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762079718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762079750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762086988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620869c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620875c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b40000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762087600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b49960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620876e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762096838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762096918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002918340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762097670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620976a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620976e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620a66b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002914eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620a66e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002909590>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620a7328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620a7d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290aba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620a7d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620a7da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946aab10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b721e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946aab48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b722e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946aab80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290bb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946aabb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029044e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946aabf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002905e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946abfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946be020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b712a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946be058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290b220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946be090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290b9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946be0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000291b9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946bf718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946bf750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b710a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946bf788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029046f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946bf7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002904140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ceaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002906fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946cead8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ceb10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946cff30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290b8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946cff68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290d900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946cffa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002904530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946de020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b722c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946de058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946dfbe8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002909560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946dfc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290a150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946dfc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290bdd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946dfc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ed408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b716a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ed440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290b7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ed478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ed4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b724a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ed4e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946fea30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946fea68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b724c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ff360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ffb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029056f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97946ffbb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257f270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947288e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b724e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794729670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947296a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794729788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947727c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947728a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b721a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947728e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794784cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b720c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794792100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002909920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794792138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290a820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794792170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002904a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947921a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947921e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947939b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029046b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947939f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002906250>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794793a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002909970>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794793a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794793a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979479fe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290ae20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979479fec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290be90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979479fef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029041e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979479ff30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947b3a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947b3ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000291dc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947b3b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002901240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947b3b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947bb0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b70cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947bb130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947bb168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947bb210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6c980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947cc608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290bb10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947cc640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fa80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947cc678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947cd6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97947cd718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831c05d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831c0608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831c1328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831c1360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831c1440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b439a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831d63a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831d6480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831d64b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831d74e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b49920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831d7520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831e2250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b580c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831e2288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97831e3fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b721c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620d82f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620d83a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620f5360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029396d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620f5398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97620f5d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b722a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976212ea30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b728a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976212ea68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b725a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976212f910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976212f948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b710c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794805018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794805050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948124b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948124f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948125d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b725e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794813a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794813b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794813b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979481f360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b727c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979481f398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b729a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482a2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482a2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002939cd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482a330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293a7c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482a368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482a3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b729e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482bcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029113e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979482bd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b727e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948589c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948593d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794859408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794859440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002911030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794859478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290d6b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948594b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948a0c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948a0cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938c50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948a0d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002939640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948a0d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948a0d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948ae330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948ae368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948ae3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029399f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948ae3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293ba40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948ae410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b720e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948af9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948afa28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948afa60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002939730>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948afa98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948afad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948c3558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948c3590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002903280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948c35c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002906370>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948c3600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002912700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948c3638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948d3408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948d3440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e20c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002939580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e2100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e2138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e2170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e21a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002912f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e3d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000291bf60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e3d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293aa50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e3da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b729c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e3de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025765e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948e3e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b723e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97948f37c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949087c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293de10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794908800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794909638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949096a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949096e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979494e640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43b20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979494e678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b42740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979494f2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979494f2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979494f3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fa80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979495a528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fe80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979495a608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fa20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979495a640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fd80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979495b590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979495b5c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979496c288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979496c2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979496c3a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257adf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979496d6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f979496d788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794978870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002900f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949788a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257aa90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794979520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257b6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794979590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ee60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832780c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ee20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832781a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832781e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6e700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783279050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6eae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783279088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783279d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783279d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783288bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783288c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783289ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783289f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fa60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329ad08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329ad40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329ba60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aa80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329ba98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029138f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329bad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002934240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329bb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978329bb40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832ab1a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002907d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832ab1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ab60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832ab210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b69620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832d4598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b68d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832d5e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029310b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832d5e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002931710>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97832d5ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002930020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254a090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254a0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254a100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002933280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254a138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029338d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254a170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029080f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254b8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b68e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254b910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254b948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002930ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254b980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002934030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977254b9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029380b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977255eec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b727a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977255ef00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977255ef38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977255fe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977255fe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977255ff68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b728e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256ef00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256efe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256f018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256fe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002908820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256fe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290eee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256fec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977256fef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772586fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772587018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002907a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772587050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725ae090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290bfe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725aead8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725aeb10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938530>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725aeb48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002939c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725aeb80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794998100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794998138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794998170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292edd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949981a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292f420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949981e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794999750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b723c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794999788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949997c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029136a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949997f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029172c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794999830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949a6d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949a6d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b71f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949a7638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72d20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949a7718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949a7750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72de0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949ba5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72f00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949ba608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949bb2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b728c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949bb328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b731a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949bb408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292de20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949cc560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293bd20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949cc598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949cc5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949cc608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949cc640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292d280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949cc678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d86e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c0b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d9478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b730c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d9e88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292db70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d9ec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292e2d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d9ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292f780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d9f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72f40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97949d9f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a279b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002911140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a279f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029171a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a27a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b7b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a27a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a27a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a390f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292dee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a39130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292e750>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a39168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292fc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a391a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a391d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a487c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002916970>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a48800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002938300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a48838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c230>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a48870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a488a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a58678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292ed20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a586b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292f560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a586e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a58720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a58758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a623d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293b440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a62410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b733e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a62448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a62480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b734e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a624b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a63fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292f5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a78020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a78058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257f180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a78f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b726e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a78fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b733c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a79c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293bdd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794a79cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257e8b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794aa4950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257ea60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794aa5360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72e80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794aa5398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794aa5f68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794aa5fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ada0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794adafe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794adb0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794adb0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794adbf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292d1b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794adbf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292f320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794adbfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ae6020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ae6058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afa838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928690>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afa870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929850>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afa8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afbe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afbe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292a7e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afbec0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292ae30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afbef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292bff0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794afbf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b725c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b09750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b734a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b09788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293bc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b097c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b097f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b09830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b726c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b18d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b18d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b18e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b735c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b19da8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002963df0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b42598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257e970>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b42bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b43558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794b43590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b735e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978334b088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b730a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335c608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335c6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b737c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335c720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335d6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b723a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335d718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002917170>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335d750> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029284f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978335d788> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336a9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b732e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336aa30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336aa68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292cbd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336aaa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292dbe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336aad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292e270>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336bf68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b732a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978336bfa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b737a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783378020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783378058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029294e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783378090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833794e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783379520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b732c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783379558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783379590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292d990>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833a19b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293aa30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833a19f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833a1a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b726a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833ae3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833ae480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833af248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928150>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833af280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73820>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833aff68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bbebb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7ec20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bbebf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bbf830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bbf868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72d80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bf0598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bf05d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bf12b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b731c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bf12f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b739e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794bf13d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c02218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b739a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c022f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c02330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b68ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c2d280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b697e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c2d2b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b69960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c50058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c50090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6abc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c50138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7ff80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c510f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292e740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794c51a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762168170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b581a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762168ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762169440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fc20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762169520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762169558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7ff20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b0480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b04b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b581c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b1248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7ffa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b1280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002926640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b12b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002926ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b12f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002927ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621b1328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f2e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621c0e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621c0e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002927190>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621c0ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002927860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621c0f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292c420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621c0f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b4ee60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621ce8e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621ce918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002901980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621ce950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000290f720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621ce988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621ce9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621fa4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43e60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621fa4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002927550>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621fa528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b58220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621fa560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fe20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97621fa598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976220c058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976220c090> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fd00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976220c138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b643e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976220d248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002927370>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976220d280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576a30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976220df68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576c70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976225efe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b641e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976225f018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97622cbc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976231d088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976246e218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976246e250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b644c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762483558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762483590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029243d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a4608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a4640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002926680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a4678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a46b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b645c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a46e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293c6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a5c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293d830>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a5cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029023e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a5d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b645e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a5d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b646a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624a5d70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624d1948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029251f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624d1980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002926cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624d19b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624d19f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624d1a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029347e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624e5638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002935110>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624e5670> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029369b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624e56a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6eb80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624e56e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002570600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624e5718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f0c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624f52b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6faa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624f5d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002935fb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97624f5d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002570900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762524d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002570ed0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762524d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a9c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625259b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ab20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762525a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762525ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ab80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725d2ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6acc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725d2b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a4e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725d37c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aa20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725d37f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725e25d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a8e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725e2608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a3a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725e26e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725fdb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a7a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97725fdc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b69fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726172f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ad80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726173d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025706c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772617408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726366b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a9e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726370c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726370f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025709c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977266c410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002570fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977266c480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a8a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977266d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977266da28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f5e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977266da60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977269d0c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fbe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977269d0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977269df30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977269df68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726b0d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fbc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726b0d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fd40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726b0e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726b1ef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726be020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726be058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726bf520> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fc00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726bf558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924a10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726bf590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924bd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833b86e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f8c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833b8720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833b92f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002924470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833b9a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833b9a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fc80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833e84f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fb40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833e8e90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029279f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833e8ec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002934b70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833e8f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002936d40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833e8f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fde0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97833e8f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783422528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783422560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929d70>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783422598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292ba40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834225d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783422608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b733a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783423b08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002936ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783423b40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002937740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783423b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002930120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783423bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ad20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783423be8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a6c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726cb0f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aaa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726cb1d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726cb210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6abe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e0170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e01a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b69440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e0f70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ae00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e0fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6aca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e1c20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64200>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e1c58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002936f50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e1c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002937c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e1cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ae60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726e1d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6af20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726ef2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002935c90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97726ef328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6af00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772740800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772740fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64560>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727417f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002936430>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772741830> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002937660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772741868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293e900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727418a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727418d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772778c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029209b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772778c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002921000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772778c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029221c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772778cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772778d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278c288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278c2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292a0e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278c2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292be40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278c330> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278c368> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278d910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293e050>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293f2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278d980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002936500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278d9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977278d9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977279cfa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292a660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977279cfe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292b330>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977279d018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002936470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977279d050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b736c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977279d088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727ae640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293fbb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727ae678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727ae6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727ae6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727ae720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b731e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727afc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029286f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727afcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727afd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257f450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727afd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727c11a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727c11d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929cf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727c1210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257f6f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ca4598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257fc60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ca4608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ca5398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b72980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ca5478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b73ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794ca54b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ade0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cd1fa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ad60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cee608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cee6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b1e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cee720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002929a90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cefda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292a9b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cefde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029314e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cefe18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b69e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cefe50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a6a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9794cefe88> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293e540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727d4fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293fe30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727d4fe0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002932cc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727d5018> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727f7168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ac00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727f71a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293fda0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727f71d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928950>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727f7210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002928240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97727f7248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6a760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772802bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6af80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772802bf0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002933f30>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772802c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772802c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b2c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772802c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977280e6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576310>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977280e6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6b2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977280e790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ae80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977280f6e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002931400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f977280f718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576cd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97728304f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002577240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772830560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b645a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772830598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b641a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9772831478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97728314b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b640a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762564170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64680>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625641a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64920>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762564288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64540>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762565280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002930800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625652b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029317e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625652f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293ce90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762565328> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762565360> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b642e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762576ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029214d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762576b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002921ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762576b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002923010>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762576b80> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64780>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762576bb8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b643a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258c3d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002933c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258c410> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293d4a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258c448> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002920ad0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258c480> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b641c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258c4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258dcc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002921db0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258dd00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002922600>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258dd38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002923a20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258dd70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b646e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976258dda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ac0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625994b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b647c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762599558> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b649e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762599590> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002922c80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625995c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625aaad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64940>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97625ab7c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b648e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976261e598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64aa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976261e678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976261e6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64380>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976261fde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64340>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976261fe18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64420>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762632e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762632e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64c40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762633b78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762633bb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64980>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762633c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b649a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762648c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b642a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762648d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64a80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762648d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762649d00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b643c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762649d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ae0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762649de0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b642c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762658d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293c690>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762658db0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ca0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762658de8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b648a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762659c90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762659cc8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b647a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626bc9c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64b00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626bc9f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626bd600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64660>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626bd638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64dc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626bd718> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b640c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626d2c28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dd9f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626d2c60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029de080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626d2c98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029df260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626d2cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b649c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626d2d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626dc640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029231e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626dc678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002923dd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626dc6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002932610>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626dc6e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64be0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626dc720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626f1050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dd9b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626f1088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dc4b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fc4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dd8b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fc4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fc528> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64880>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fc560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029217a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fc598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fda98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64800>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fdad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64e00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97626fdb08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576bb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762711050> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627110f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65000>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762711130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dc280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762752250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576eb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762752cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002577450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762752d40> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762752d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64a60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762753a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64e20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762753a98> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64bc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278a790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278a7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b650c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278a8a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64a00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278b868> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002922bb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278b8a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002923d90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278b8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002933700>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278b910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65020>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976278b948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762799168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029ddaf0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627991a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029de470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627991d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dfa00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762799210> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762799248> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b647e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ac790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002933c00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ac7c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000293f040>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ac800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002923470>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ac838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64b60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ac870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64320>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627add70> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029ddda0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627adda8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029de7d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627adde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dfdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ade18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64b40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627ade50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576d00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627bf398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64a40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627bf440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b650e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627bf478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029ddbd0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627bf4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025760a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627cede8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025772d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627cee58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97627cee90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b650a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976281dde0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976281de18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f960>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976284c560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fc40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976284c598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976284c678> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fe40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976284c6b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fdc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976284dc20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fb60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976284dc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f9a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783430cd0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fd00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783430d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fcc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783431948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f2a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783431980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f760>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783431a60> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257b030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783440988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783440a30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783440a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d85d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783440aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257b360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783441d38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257b630>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783474f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783474f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fee0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783475e18> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fe80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783475e50> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fb20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783475f30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43f60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783484fa8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fd20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783485088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fd60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834850c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fa40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783498288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7ffe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834982c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b428e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783498f00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783498f38> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f4c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834ac838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834ac870> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b43fc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834adef8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257b120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834adf30> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f620>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834b8020> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ff40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834b8058> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000292fc90>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834b9280> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257b480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834b99b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x60000257ba20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834b9a28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fa00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834fa720> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ffc0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834fa800> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fe00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834fa838> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fe40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834fb600> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fe00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97834fb638> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fc20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978350a1a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978350a1e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b4eec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978350a2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fe60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978350b2f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6f720>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978350b3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6fba0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978350b408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ff00>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978351c4b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7f1a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978351c4f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b7fea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978351d398> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60140>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978351d3d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b6ee80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978351d478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b600a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978351d4b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d8870>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783526758> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b604e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783526790> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b603a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783527168> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835271a0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b604c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978355e288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60460>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978356fb78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60280>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978356fc58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60360>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978356fc90> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835880c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60580>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783588100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d7f20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783588138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d8640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783589408> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029daa50>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783589440> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783589478> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b605a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835894b0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d48a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835894e8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d4300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783598a68> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d56e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783598aa0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b605e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783598ad8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60400>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783598b10> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d94d0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783598b48> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60240>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835ae218> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b601e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835ae250> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60500>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835ae288> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60840>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835ae2c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d5450>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835ae2f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b606c0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835af8d8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002576d60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835af910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60260>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835af9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b60100>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835c0e20> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002922110>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835c0e58> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002577060>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835c1910> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002577030>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835fa0c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65300>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835fa100> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64640>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835fadb0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64e40>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835fade8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65160>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835faec8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b652a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97835faf00> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64c60>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360c560> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65120>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360c598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dd520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360c5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029282f0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360d948> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dcce0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360d980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b640e0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360d9b8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64da0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360d9f0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002933b80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f978360da28> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d4080>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783619088> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d5900>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97836190c0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64fe0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97836190f8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64860>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9783619130> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029dd650>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976290c598> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029de670>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976290c5d0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002921c10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976290c608> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64740>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f976290c640> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ec0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97629228a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000029d64a0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97629228e0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64ea0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762922918> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64f80>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762922950> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65480>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762922988> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65220>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762938138> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65440>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762938170> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x6000025771b0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762939ad0> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65520>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97629727c8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b65180>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f97629728a8> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64fa0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762973980> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002b64c20>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762a10d08> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002923bb0>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762a10d78> ignored
Exception KeyError: KeyError(<C object Array of Char {'nolength': True} at 0x600002930b10>,) in method __del__ of <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007f9762a10db0> ignored
================ 62 passed, 2 skipped, 1 error in 98.28 seconds ================
++ 05:55:08 starting module/cpyext/test/test_arraymodule.py [80 started in total]
__ module/bz2/test [78 done in total, somefailed=False] _______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 53 items
module/bz2/test/apptest_bz2_compdecomp.py .s...
module/bz2/test/test_bz2_compdecomp.py ..s.............
module/bz2/test/test_bz2_file.py ............................
module/bz2/test/test_interpbz2.py ...
module/bz2/test/test_large.py s
==================== 50 passed, 3 skipped in 76.27 seconds =====================
++ 05:55:38 starting module/cpyext/test/test_async_iter.py [81 started in total]
__ module/cpyext/test/test_api.py [79 done in total, somefailed=False] ________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_api.py ....
========================== 4 passed in 70.90 seconds ===========================
++ 05:56:34 starting module/cpyext/test/test_boolobject.py [82 started in total]
__ module/cpyext/test/test_async_iter.py [80 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_async_iter.py sss
========================== 3 skipped in 66.82 seconds ==========================
++ 05:57:05 starting module/cpyext/test/test_borrow.py [83 started in total]
__ module/cpyext/test/test_arraymodule.py [81 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items
module/cpyext/test/test_arraymodule.py ..........x.......
==================== 17 passed, 1 xfailed in 134.33 seconds ====================
++ 05:57:40 starting module/cpyext/test/test_buffer.py [84 started in total]
__ module/cpyext/test/test_boolobject.py [82 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_boolobject.py ....
========================== 4 passed in 100.12 seconds ==========================
++ 05:58:30 starting module/cpyext/test/test_bytearrayobject.py [85 started in total]
__ module/cpyext/test/test_borrow.py [83 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_borrow.py ...
========================== 3 passed in 97.45 seconds ===========================
++ 05:59:02 starting module/cpyext/test/test_bytesobject.py [86 started in total]
__ module/cpyext/test/test_buffer.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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_buffer.py ....
========================== 4 passed in 104.27 seconds ==========================
++ 05:59:44 starting module/cpyext/test/test_capsule.py [87 started in total]
__ module/cpyext/test/test_bytearrayobject.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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_bytearrayobject.py ......
========================== 6 passed in 102.11 seconds ==========================
++ 06:00:34 starting module/cpyext/test/test_cell.py [88 started in total]
__ module/cpyext/test/test_bytesobject.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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
module/cpyext/test/test_bytesobject.py ....................
========================= 20 passed in 126.61 seconds ==========================
++ 06:01:27 starting module/cpyext/test/test_classobject.py [89 started in total]
__ module/cpyext/test/test_capsule.py [87 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_capsule.py ...
========================== 3 passed in 104.96 seconds ==========================
++ 06:01:47 starting module/cpyext/test/test_codecs.py [90 started in total]
__ module/cpyext/test/test_cell.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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_cell.py .
========================== 1 passed in 91.25 seconds ===========================
++ 06:02:23 starting module/cpyext/test/test_complexobject.py [91 started in total]
__ module/cpyext/test/test_classobject.py [89 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_classobject.py ..
========================== 2 passed in 91.07 seconds ===========================
++ 06:03:16 starting module/cpyext/test/test_contextvars.py [92 started in total]
__ module/cpyext/test/test_codecs.py [90 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_codecs.py ...
========================== 3 passed in 93.21 seconds ===========================
++ 06:03:36 starting module/cpyext/test/test_cpyext.py [93 started in total]
__ module/cpyext/test/test_complexobject.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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_complexobject.py ......
========================== 6 passed in 101.63 seconds ==========================
++ 06:04:26 starting module/cpyext/test/test_datetime.py [94 started in total]
__ module/cpyext/test/test_contextvars.py [92 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_contextvars.py .
========================== 1 passed in 98.12 seconds ===========================
++ 06:05:12 starting module/cpyext/test/test_dictobject.py [95 started in total]
__ module/cpyext/test/test_cpyext.py [93 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
module/cpyext/test/test_cpyext.py ..s........s..............
==================== 24 passed, 2 skipped in 163.86 seconds ====================
++ 06:06:37 starting module/cpyext/test/test_eval.py [96 started in total]
__ module/cpyext/test/test_datetime.py [94 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/cpyext/test/test_datetime.py ................
========================= 16 passed in 131.48 seconds ==========================
++ 06:06:59 starting module/cpyext/test/test_exception.py [97 started in total]
__ module/cpyext/test/test_dictobject.py [95 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
module/cpyext/test/test_dictobject.py ...................
========================= 19 passed in 128.05 seconds ==========================
++ 06:07:37 starting module/cpyext/test/test_fileobject.py [98 started in total]
__ module/cpyext/test/test_exception.py [96 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_exception.py ......
========================== 6 passed in 99.36 seconds ===========================
++ 06:08:55 starting module/cpyext/test/test_floatobject.py [99 started in total]
__ module/cpyext/test/test_eval.py [97 done in total, somefailed=False] _______
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
module/cpyext/test/test_eval.py ...............x...
==================== 18 passed, 1 xfailed in 126.17 seconds ====================
++ 06:09:03 starting module/cpyext/test/test_frameobject.py [100 started in total]
__ module/cpyext/test/test_fileobject.py [98 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_fileobject.py .
========================== 1 passed in 90.55 seconds ===========================
++ 06:09:27 starting module/cpyext/test/test_funcobject.py [101 started in total]
__ module/cpyext/test/test_frameobject.py [99 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
module/cpyext/test/test_frameobject.py ....
========================== 4 passed in 100.47 seconds ==========================
++ 06:10:59 starting module/cpyext/test/test_genobject.py [102 started in total]
__ module/cpyext/test/test_floatobject.py [100 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_floatobject.py ..............
========================= 14 passed in 122.88 seconds ==========================
++ 06:11:13 starting module/cpyext/test/test_getargs.py [103 started in total]
__ module/cpyext/test/test_funcobject.py [101 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_funcobject.py ..............
========================= 14 passed in 124.25 seconds ==========================
++ 06:11:52 starting module/cpyext/test/test_import.py [104 started in total]
__ module/cpyext/test/test_genobject.py [102 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_genobject.py ...
========================== 3 passed in 113.47 seconds ==========================
++ 06:13:10 starting module/cpyext/test/test_iterator.py [105 started in total]
__ module/cpyext/test/test_getargs.py [103 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
module/cpyext/test/test_getargs.py ................
========================= 16 passed in 126.30 seconds ==========================
++ 06:13:38 starting module/cpyext/test/test_listobject.py [106 started in total]
__ module/cpyext/test/test_import.py [104 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/cpyext/test/test_import.py ........
========================== 8 passed in 130.23 seconds ==========================
++ 06:14:24 starting module/cpyext/test/test_longobject.py [107 started in total]
__ module/cpyext/test/test_iterator.py [105 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_iterator.py ......
========================== 6 passed in 98.55 seconds ===========================
++ 06:15:06 starting module/cpyext/test/test_mapping.py [108 started in total]
__ module/cpyext/test/test_listobject.py [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_listobject.py ..............
========================= 14 passed in 115.26 seconds ==========================
++ 06:15:49 starting module/cpyext/test/test_marshal.py [109 started in total]
__ module/cpyext/test/test_mapping.py [107 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_mapping.py .....
========================== 5 passed in 73.91 seconds ===========================
++ 06:16:41 starting module/cpyext/test/test_memoryobject.py [110 started in total]
__ module/cpyext/test/test_longobject.py [108 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
module/cpyext/test/test_longobject.py .........................
========================= 25 passed in 137.16 seconds ==========================
++ 06:17:04 starting module/cpyext/test/test_methodobject.py [111 started in total]
__ module/cpyext/test/test_marshal.py [109 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
module/cpyext/test/test_marshal.py ..
========================== 2 passed in 93.77 seconds ===========================
++ 06:17:45 starting module/cpyext/test/test_misc.py [112 started in total]
__ module/cpyext/test/test_memoryobject.py [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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
module/cpyext/test/test_memoryobject.py ...s..s.....
==================== 10 passed, 2 skipped in 111.33 seconds ====================
++ 06:18:51 starting module/cpyext/test/test_module.py [113 started in total]
__ module/cpyext/test/test_misc.py [111 done in total, somefailed=False] ______
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_misc.py .
========================== 1 passed in 91.42 seconds ===========================
++ 06:19:34 starting module/cpyext/test/test_namespaceobject.py [114 started in total]
__ module/cpyext/test/test_methodobject.py [112 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_methodobject.py ..............
========================= 14 passed in 131.39 seconds ==========================
++ 06:19:36 starting module/cpyext/test/test_ndarrayobject.py [115 started in total]
__ module/cpyext/test/test_ndarrayobject.py [113 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.81 seconds ===========================
++ 06:19:53 starting module/cpyext/test/test_number.py [116 started in total]
__ module/cpyext/test/test_namespaceobject.py [114 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_namespaceobject.py .
========================== 1 passed in 92.05 seconds ===========================
++ 06:21:23 starting module/cpyext/test/test_object.py [117 started in total]
__ module/cpyext/test/test_module.py [115 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
module/cpyext/test/test_module.py .........................
========================= 25 passed in 150.39 seconds ==========================
++ 06:21:38 starting module/cpyext/test/test_pyerrors.py [118 started in total]
__ module/cpyext/test/test_number.py [116 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_number.py .......
========================== 7 passed in 103.47 seconds ==========================
++ 06:21:57 starting module/cpyext/test/test_pyfile.py [119 started in total]
__ module/cpyext/test/test_pyfile.py [117 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_pyfile.py ...x...
===================== 6 passed, 1 xfailed in 88.51 seconds =====================
++ 06:23:46 starting module/cpyext/test/test_pymem.py [120 started in total]
__ module/cpyext/test/test_object.py [118 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 39 items
module/cpyext/test/test_object.py ......................s................
==================== 38 passed, 1 skipped in 165.12 seconds ====================
++ 06:24:25 starting module/cpyext/test/test_pysignals.py [121 started in total]
__ module/cpyext/test/test_pyerrors.py [119 done in total, somefailed=True] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 33 items
module/cpyext/test/test_pyerrors.py ........s.....sF.......s...s.....
=================================== FAILURES ===================================
_______________ AppTestFetch.test_SetFromErrnoWithFilename_basic _______________
self = <CallInfo when='call' exception: 'ascii' codec can't encode character u'\u0308' in position 107: ordinal not in range(128)>
func = <function <lambda> at 0x00007fe3b4da8908>, when = 'call'
def __init__(self, func, when):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:150:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> return CallInfo(lambda: ihook(item=item, **kwds), when=when)
../_pytest/runner.py:138:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>}
def __call__(self, **kwargs):
assert not self.is_historic()
> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
../_pytest/vendored_packages/pluggy.py:724:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00007fe3b006c9c0>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fe3b16b3de0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fe3b16b3de0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'...all__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>}
self._inner_hookexec = lambda hook, methods, kwargs: \
> _MultiCall(methods, kwargs, hook.spec_opts).execute()
../_pytest/vendored_packages/pluggy.py:333:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007fe3a16ddce0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007fe390c233a0>
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 0x00007fe390c233a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007fe3a16ddc90>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007fe390c23360>
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 0x00007fe390c23360>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...name_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_SetFromErrnoWithFilename_basic'>
space = StdObjSpace
target = <function test_SetFromErrnoWithFilename_basic at 0x00007fe3b32959e8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fe3c3f61de0>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fe3c3f61de0>,)
w_func = <Function test_SetFromErrnoWithFilename_basic>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fe3c3f61de0>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_SetFromErrnoWithFilename_basic>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fe3c3f61de0>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_SetFromErrnoWithFilename_basic>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fe3c3f61de0>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_SetFromErrnoWithFilename_basic, file "[/Users/matti/build-wo.../own-macos-x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
name = 'test_SetFromErrnoWithFilename_basic'
qualname = 'test_SetFromErrnoWithFilename_basic'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 107, 108, 'ordinal not in range(128)')
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
pycode = <code object test_SetFromErrnoWithFilename_basic, file "[/Users/matti/build-wo.../own-macos-x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1>
next_instr = 88
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fe3b050a1e0>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
co_code = '|\x00j\x00}\x01|\x01d\x00u\x00r\td\x01}\x01d\x02d\x00l\x01}\x02d\x02d\x00l\x02}\x03d\x02d\x00l\x03}\x04d\x03d\x04d\x0...01|\x07j\tj\nd\x13k\x02\x90\x01s\x0cJ\x00\x82\x01|\x07j\tj\x14d\x14k\x02\x90\x01s\x15J\x00\x82\x01d\x00S\x00d\x00S\x00'
next_instr = 88
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fe3b050a1e0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
co_code = '|\x00j\x00}\x01|\x01d\x00u\x00r\td\x01}\x01d\x02d\x00l\x01}\x02d\x02d\x00l\x02}\x03d\x02d\x00l\x03}\x04d\x03d\x04d\x0...01|\x07j\tj\nd\x13k\x02\x90\x01s\x0cJ\x00\x82\x01|\x07j\tj\x14d\x14k\x02\x90\x01s\x15J\x00\x82\x01d\x00S\x00d\x00S\x00'
next_instr = 102L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fe3b050a1e0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
self.CALL_FUNCTION_EX(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
self.CALL_METHOD(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD_KW.index:
> self.CALL_METHOD_KW(oparg, next_instr)
interpreter/pyopcode.py:298:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_SetFromE...x86-64/build/pypy/module/cpyext/test/test_pyerrors.py:250]", line 1> at line 56
n_arguments = 2, ignored = (102L,)
W_AbstractTupleObject = <class 'pypy.objspace.std.tupleobject.W_AbstractTupleObject'>
w_self = None, space = StdObjSpace
@jit.unroll_safe
def CALL_METHOD_KW(f, n_arguments, *ignored):
from pypy.objspace.std.tupleobject import W_AbstractTupleObject
# opargs contains the arg + kwarg count, excluding the implicit 'self'
w_self = f.peekvalue_maybe_none(n_arguments + 1)
space = f.space
# like in BUILD_CONST_KEY_MAP we can't use space.fixedview because then
# the immutability of the tuple is lost
w_tup_varnames = space.interp_w(W_AbstractTupleObject, f.popvalue())
n_keywords = space.len_w(w_tup_varnames)
keyword_names_w = [None] * n_keywords
keywords_w = [None] * n_keywords
for i in range(n_keywords):
keyword_names_w[i] = w_tup_varnames.getitem(space, i)
w_value = f.peekvalue(n_keywords - 1 - i)
keywords_w[i] = w_value
f.dropvalues(n_keywords)
n_arguments -= n_keywords
n = n_arguments + (w_self is not None)
arguments = f.popvalues(n) # includes w_self if it is not None
if w_self is None:
f.popvalue_maybe_none() # removes w_self, which is None
w_callable = f.popvalue()
args = f.argument_factory(
arguments, keyword_names_w, keywords_w, None, None,
methodcall=w_self is not None, w_function=w_callable)
if f.get_is_being_profiled() and function.is_builtin_code(w_callable):
w_result = f.space.call_args_and_c_profile(f, w_callable, args)
else:
> w_result = f.space.call_args(w_callable, args)
objspace/std/callmethod.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')])
def call_args(space, w_obj, args):
# two special cases for performance
if isinstance(w_obj, Function):
> return w_obj.call_args(args)
objspace/descroperation.py:192:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fe3c43bb948>
func = <FunctionWithFixedCode import_extension>
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fe3c43bb948>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:884:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fe3c43bb948>
space = StdObjSpace
e = UnicodeEncodeError('ascii', u'\n errno = EBADF;\n ... return NULL;\n ', 107, 108, 'ordinal not in range(128)')
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fe3c43bb948>
func = <FunctionWithFixedCode import_extension>, w_obj = None
args = Arguments([W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.... '))])], ['prologue'], [W_UnicodeObject('#include <errno.h>')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:878:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_text_W_Root_text_W_Root_text_bool object at 0x00007fe3c43bba28>
space = StdObjSpace
scope_w = [W_UnicodeObject('foo'), W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000..., "/path/to/...n NULL;\n '))]), W_UnicodeObject('#include <errno.h>'), None, W_UnicodeObject(''), W_BoolObject(False)]
def _run(self, space, scope_w):
> return self.behavior(space, space.text_w(scope_w[0]), scope_w[1], space.text_w(scope_w[2]), scope_w[3], space.text_w(scope_w[4]), space.is_true(scope_w[5]))
<3100-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, modname = 'foo'
w_functions = W_ListObject(<pypy.objspace.std.listobject.ObjectListStrategy object at 0x0000..., "/path/to/a\xcc\x88");\n return NULL;\n '))])
prologue = '#include <errno.h>', w_include_dirs = None, more_init = ''
PY_SSIZE_T_CLEAN = False
@unwrap_spec(modname='text', prologue='text',
more_init='text', PY_SSIZE_T_CLEAN=bool)
def import_extension(space, modname, w_functions, prologue="",
w_include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
functions = space.unwrap(w_functions)
include_dirs = _unwrap_include_dirs(space, w_include_dirs)
# If there's already a module under this name (file-based or a
# previous inline extension), save it in _module_keepalive before
# it's displaced. This prevents its raw allocations (method-name
# strings, type dicts, etc.) from being freed during a later
# test's leakfinder tracking window.
self._file_module_cache.pop(modname, None)
w_modules = space.sys.get('modules')
try:
w_old = space.getitem(w_modules, space.newtext(modname))
self._module_keepalive.append(w_old)
except OperationError:
pass
w_result = self.sys_info.import_extension(
modname, functions, prologue, include_dirs, more_init,
> PY_SSIZE_T_CLEAN)
module/cpyext/test/test_cpyext.py:415:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.module.cpyext.test.test_cpyext.SpaceCompiler object at 0x00007fe3c39ea720>
modname = 'foo'
functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...PyErr_SetFromErrnoWithFilename(PyExc_OSError, "/path/to/a\u0308");\n return NULL;\n ')]
prologue = '#include <errno.h>', include_dirs = None, more_init = ''
PY_SSIZE_T_CLEAN = False
def import_extension(self, modname, functions, prologue="",
include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
> body = prologue + make_methods(functions, modname)
tool/cpyext/extbuild.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
functions = [(u'set_from_errno', u'METH_NOARGS', u'\n errno = EBADF;\n PyErr_SetFromErrnoWithFilen...PyErr_SetFromErrnoWithFilename(PyExc_OSError, "/path/to/a\u0308");\n return NULL;\n ')]
modname = 'foo'
def make_methods(functions, modname):
methods_table = []
codes = []
for funcname, flags, code in functions:
cfuncname = "%s_%s" % (modname, funcname)
if 'METH_FASTCALL' in flags and 'METH_KEYWORDS' in flags:
signature = ('(PyObject *self, PyObject *const *args, '
'Py_ssize_t len_args, PyObject *kwnames)')
elif 'METH_KEYWORDS' in flags:
signature = '(PyObject *self, PyObject *args, PyObject *kwargs)'
elif 'METH_FASTCALL' in flags:
signature = ('(PyObject *self, PyObject *const *args, '
'Py_ssize_t len_args)')
else:
signature = '(PyObject *self, PyObject *args)'
methods_table.append(
"{\"%s\", (PyCFunction)%s, %s}," % (funcname, cfuncname, flags))
func_code = """
static PyObject* {cfuncname}{signature}
{{
{code}
}}
> """.format(cfuncname=cfuncname, signature=signature, code=code)
E UnicodeEncodeError: 'ascii' codec can't encode character u'\u0308' in position 107: ordinal not in range(128)
tool/cpyext/extbuild.py:139: UnicodeEncodeError
=========================== short test summary info ============================
FAIL module/cpyext/test/test_pyerrors.py::AppTestFetch::()::test_SetFromErrnoWithFilename_basic
=============== 1 failed, 28 passed, 4 skipped in 171.89 seconds ===============
++ 06:24:47 starting module/cpyext/test/test_pystate.py [122 started in total]
__ module/cpyext/test/test_pymem.py [120 done in total, somefailed=False] _____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_pymem.py .
========================== 1 passed in 90.46 seconds ===========================
++ 06:25:35 starting module/cpyext/test/test_pystrhex.py [123 started in total]
__ module/cpyext/test/test_pysignals.py [121 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_pysignals.py .
========================== 1 passed in 89.52 seconds ===========================
++ 06:26:14 starting module/cpyext/test/test_pystrtod.py [124 started in total]
__ module/cpyext/test/test_pystate.py [122 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
module/cpyext/test/test_pystate.py ....x.....sx..
============== 11 passed, 1 skipped, 2 xfailed in 109.44 seconds ===============
++ 06:26:58 starting module/cpyext/test/test_sequence.py [125 started in total]
__ module/cpyext/test/test_pystrhex.py [123 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_pystrhex.py .
========================== 1 passed in 89.49 seconds ===========================
++ 06:27:24 starting module/cpyext/test/test_setobject.py [126 started in total]
__ module/cpyext/test/test_pystrtod.py [124 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
module/cpyext/test/test_pystrtod.py ....................
========================= 20 passed in 112.31 seconds ==========================
++ 06:28:24 starting module/cpyext/test/test_sliceobject.py [127 started in total]
__ module/cpyext/test/test_sequence.py [125 done in total, somefailed=False] __
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
module/cpyext/test/test_sequence.py .......................
========================= 23 passed in 122.71 seconds ==========================
++ 06:29:15 starting module/cpyext/test/test_structseq.py [128 started in total]
__ module/cpyext/test/test_setobject.py [126 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
module/cpyext/test/test_setobject.py .........
========================== 9 passed in 104.59 seconds ==========================
++ 06:29:28 starting module/cpyext/test/test_sysmodule.py [129 started in total]
__ module/cpyext/test/test_sliceobject.py [127 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/cpyext/test/test_sliceobject.py ........
========================== 8 passed in 104.04 seconds ==========================
++ 06:30:28 starting module/cpyext/test/test_thread.py [130 started in total]
__ module/cpyext/test/test_structseq.py [128 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_structseq.py .
========================== 1 passed in 90.36 seconds ===========================
++ 06:31:05 starting module/cpyext/test/test_traceback.py [131 started in total]
__ module/cpyext/test/test_sysmodule.py [129 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_sysmodule.py ...
========================== 3 passed in 98.33 seconds ===========================
++ 06:31:24 starting module/cpyext/test/test_translate.py [132 started in total]
__ module/cpyext/test/test_translate.py [130 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_translate.py .
========================== 1 passed in 13.63 seconds ===========================
++ 06:31:57 starting module/cpyext/test/test_tupleobject.py [133 started in total]
__ module/cpyext/test/test_traceback.py [131 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/cpyext/test/test_traceback.py .
========================== 1 passed in 66.78 seconds ===========================
++ 06:32:32 starting module/cpyext/test/test_typeobject.py [134 started in total]
__ module/cpyext/test/test_thread.py [132 done in total, somefailed=False] ____
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
module/cpyext/test/test_thread.py x...x.
==================== 4 passed, 2 xfailed in 116.12 seconds =====================
++ 06:32:46 starting module/cpyext/test/test_unicodeobject.py [135 started in total]
__ module/cpyext/test/test_tupleobject.py [133 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/cpyext/test/test_tupleobject.py ..........
========================= 10 passed in 109.43 seconds ==========================
++ 06:34:08 starting module/cpyext/test/test_userslots.py [136 started in total]
__ module/cpyext/test/test_userslots.py [134 done in total, somefailed=False] _
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
module/cpyext/test/test_userslots.py .......
========================== 7 passed in 124.19 seconds ==========================
called power
++ 06:36:33 starting module/cpyext/test/test_version.py [137 started in total]
__ module/cpyext/test/test_unicodeobject.py [135 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 76 items
module/cpyext/test/test_unicodeobject.py .....................................................ss.....................
==================== 74 passed, 2 skipped in 238.60 seconds ====================
++ 06:37:06 starting module/cpyext/test/test_weakref.py [138 started in total]
__ module/cpyext/test/test_version.py [136 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/cpyext/test/test_version.py ...
========================== 3 passed in 95.88 seconds ===========================
++ 06:38:29 starting module/crypt/test [139 started in total]
__ module/cpyext/test/test_weakref.py [137 done in total, somefailed=False] ___
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/cpyext/test/test_weakref.py .....
========================== 5 passed in 107.54 seconds ==========================
++ 06:39:10 starting module/errno/test [140 started in total]
__ module/crypt/test [138 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/crypt/test/test_crypt.py .
========================== 1 passed in 42.82 seconds ===========================
++ 06:39:13 starting module/exceptions/test [141 started in total]
__ module/errno/test [139 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
module/errno/test/test_errno.py ...
========================== 3 passed in 14.06 seconds ===========================
++ 06:39:27 starting module/faulthandler/test [142 started in total]
__ module/cpyext/test/test_typeobject.py [140 done in total, somefailed=False]
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 95 items
module/cpyext/test/test_typeobject.py ...................s......................................................s.....s..............
==================== 92 passed, 3 skipped in 399.93 seconds ====================
++ 06:39:31 starting module/fcntl/test [143 started in total]
__ module/exceptions/test [141 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 98 items
module/exceptions/test/apptest_exceptions.py ..................................................
module/exceptions/test/test_exc.py ........s..F............F.......................
=================================== FAILURES ===================================
_________________________ AppTestExc.test_str_unicode __________________________
self = <CallInfo when='call' exception: >
func = <function <lambda> at 0x00007ff0043c1808>, 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_str_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_str_unicode'>}
def __call__(self, **kwargs):
assert not self.is_historic()
> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
../_pytest/vendored_packages/pluggy.py:724:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00007ff0108faa30>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007ff000b3a5e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_str_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_str_unicode'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007ff000b3a5e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_str_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_str_unicode'>}
self._inner_hookexec = lambda hook, methods, kwargs: \
> _MultiCall(methods, kwargs, hook.spec_opts).execute()
../_pytest/vendored_packages/pluggy.py:333:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_str_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007ff0041f65e8>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tr_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007ff004233060>
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 0x00007ff004233060>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tr_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_str_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007ff0041f6570>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tr_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007ff004233020>
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 0x00007ff004233020>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...tr_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_str_unicode'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_str_unicode'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_str_unicode'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_str_unicode'>, space = StdObjSpace
target = <function test_str_unicode at 0x00007ff0043c13d0>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fefe2e6f868>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fefe2e6f868>,)
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)
interpreter/gateway.py:1402:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ApplevelClass filename='[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'>
space = StdObjSpace, name = 'test_str_unicode'
def wget(self, space, name):
> w_globals = self.getwdict(space)
interpreter/gateway.py:1393:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ApplevelClass filename='[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'>
space = StdObjSpace
def getwdict(self, space): # no cache
> return build_applevel_dict(self, space)
interpreter/gateway.py:1498:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ApplevelClass filename='[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'>
space = StdObjSpace
@not_rpython
def build_applevel_dict(self, space):
w_glob = space.newdict(module=True)
space.setitem(w_glob, space.newtext('__name__'), space.newtext(self.modname))
space.exec_(self.source, w_glob, w_glob,
hidden_applevel=self.hidden_applevel,
> filename=self.filename)
interpreter/gateway.py:1448:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
statement = "def test_str_unicode(self):\n e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n assert str(e) == '\xc3\xa0\xc3\xa8\xc3\xac'"
w_globals = W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x00007fefe2d1e2c0>)
w_locals = W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x00007fefe2d1e2c0>)
hidden_applevel = False
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'
@not_rpython
def exec_(self, statement, w_globals, w_locals, hidden_applevel=False,
filename=None):
"For internal debugging."
if filename is None:
filename = '?'
from pypy.interpreter.pycode import PyCode
if isinstance(statement, str):
> statement = self._cached_compile(filename, statement, 'exec', 0, hidden_applevel)
interpreter/baseobjspace.py:1399:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'
source = "def test_str_unicode(self):\n e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n assert str(e) == '\xc3\xa0\xc3\xa8\xc3\xac'"
mode = 'exec', flags = 0, hidden_applevel = False, ast_transform = None
@not_rpython
def _cached_compile(self, filename, source, mode, flags, hidden_applevel, ast_transform=None):
import os
from hashlib import md5
from rpython.config.translationoption import CACHE_DIR
from rpython.tool.gcc_cache import try_atomic_write
from pypy.module.marshal import interp_marshal
from pypy.interpreter.pycode import default_magic
h = md5(str(default_magic))
h.update(filename)
h.update(source)
h.update(mode)
h.update(str(flags))
h.update(str(hidden_applevel))
addition = ''
if ast_transform:
addition = ast_transform.func_name
cachename = os.path.join(
CACHE_DIR, "applevel_exec_%s_%s" % (addition, h.hexdigest()))
try:
if self.config.translating:
raise IOError("don't use the cache when translating pypy")
with open(cachename, 'rb') as f:
w_bin = self.newbytes(f.read())
w_code = interp_marshal._loads(self, w_bin, hidden_applevel)
except IOError:
# must (re)compile the source
ec = self.getexecutioncontext()
if ast_transform:
c = self.createcompiler()
tree = c.compile_to_ast(source, filename, "exec", 0)
tree = ast_transform(self, tree)
w_code = c.compile_ast(tree, filename, 'exec', 0)
else:
w_code = ec.compiler.compile(
> source, filename, mode, flags, hidden_applevel)
interpreter/baseobjspace.py:1444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.pycompiler.PythonAstCompiler object at 0x00007feff1368f38>
source = "def test_str_unicode(self):\n e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n assert str(e) == '\xc3\xa0\xc3\xa8\xc3\xac'"
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'
mode = 'exec', flags = 0, hidden_applevel = False, optimize = 0
def compile(self, source, filename, mode, flags=0, hidden_applevel=False,
optimize=-1):
if optimize == -1:
optimize = self.space.sys.get_optimize()
assert optimize >= 0
info = pyparse.CompileInfo(filename, mode, flags,
hidden_applevel=hidden_applevel, optimize=optimize)
> mod = self._compile_to_ast(source, info)
interpreter/pycompiler.py:180:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.pycompiler.PythonAstCompiler object at 0x00007feff1368f38>
source = "def test_str_unicode(self):\n e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n assert str(e) == '\xc3\xa0\xc3\xa8\xc3\xac'"
info = <pypy.interpreter.pyparser.pyparse.CompileInfo object at 0x00007fefe2ccb168>
def _compile_to_ast(self, source, info):
space = self.space
self.parser.reset()
try:
mod = self.parser.parse_source(source, info)
except parseerror.TabError as e:
raise OperationError(space.w_TabError,
e.find_sourceline_and_wrap_info(space, source, info.filename))
except parseerror.IndentationError as e:
raise OperationError(space.w_IndentationError, e.find_sourceline_and_wrap_info(space, source, info.filename))
except parseerror.SyntaxError as e:
> raise OperationError(space.w_SyntaxError, e.find_sourceline_and_wrap_info(space, source, info.filename))
interpreter/pycompiler.py:170:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SyntaxError(), space = StdObjSpace
source = "def test_str_unicode(self):\n e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n assert str(e) == '\xc3\xa0\xc3\xa8\xc3\xac'"
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:146]'
def find_sourceline_and_wrap_info(self, space, source=None, filename=None):
""" search for the line of input that caused the error and then return
a wrapped tuple that can be used to construct a wrapped SyntaxError.
Optionally pass source, to get better error messages for the case where
this instance was constructed without a source line (.text
attribute)"""
text = self.text
if text is None and source is not None and self.lineno:
lines = source.splitlines(True)
text = lines[self.lineno - 1]
w_text = w_filename = space.w_None
w_lineno = space.newint(self.lineno)
if filename is None:
filename = self.filename
if filename is not None:
w_filename = space.newfilename(filename)
if text is None:
w_text = space.appexec([w_filename, w_lineno],
"""(filename, lineno):
try:
with open(filename) as f:
for _ in range(lineno - 1):
f.readline()
return f.readline()
except: # we can't allow any exceptions here!
return None""")
offset = self.offset
end_offset = self.end_offset
if text is not None:
# text may not be UTF-8 in case of decoding errors.
# adjust the encoded text offset to a decoded offset
# XXX do the right thing about continuation lines, which
# XXX are their own fun, sometimes giving offset >
# XXX len(text) for example (right now, avoid crashing)
# this also converts the byte-based self.offset to a
# codepoint-based index into the decoded unicode-version of
# self.text
replacedtext, unilength, _ = _str_decode_utf8_slowpath(space,
> text, space.newbytes(text), 'replace', False, make_replace_error_handler(space), True)
interpreter/pyparser/error.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, s = " e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n"
w_s = W_BytesObject(" e = ValueError('\xc3\xa0\xc3\xa8\xc3\xac')\n")
errors = 'replace', final = False
errorhandler = <function replace_error_handler at 0x00007ff0043c1268>
allow_surrogates = True
def _str_decode_utf8_slowpath(space, s, w_s, errors, final, errorhandler, allow_surrogates):
""" Same as checking for the valid utf8, but we know the utf8 is not
valid so we're trying to either raise or pack stuff with error handler.
The key difference is that this is call_may_force.
In CPython this is done in unicode_decode_utf8, which has no
allow_surrogates. That argument is used in at least decode_utf8sp, in
interpreter.error._compute_value.
"""
if errors is None:
errors = 'strict'
result = StringBuilder(len(s))
pos = 0
while pos < len(s):
ordch1 = ord(s[pos])
# fast path for ASCII
# XXX maybe use a while loop here
if ordch1 <= 0x7F:
pos += 1
result.append(chr(ordch1))
continue
n = ord(runicode._utf8_code_length[ordch1 - 0x80])
if pos + n > len(s):
# argh, this obscure block of code is mostly a copy of
# what follows :-(
charsleft = len(s) - pos - 1 # either 0, 1, 2
# note: when we get the 'unexpected end of data' we need
# to care about the pos returned; it can be lower than len(s),
# in case we need to continue running this loop
if not charsleft:
# there's only the start byte and nothing else
if not final:
break
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'unexpected end of data',
w_s, pos, pos+1)
result.append(r)
continue
ordch2 = ord(s[pos+1])
if n == 3:
# 3-bytes seq with only a continuation byte
if rutf8._invalid_byte_2_of_3(ordch1, ordch2, allow_surrogates):
# second byte invalid, take the first and continue
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
else:
# second byte valid, but third byte missing
if not final:
break
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'unexpected end of data',
w_s, pos, pos+2)
result.append(r)
continue
elif n == 4:
# 4-bytes seq with 1 or 2 continuation bytes
if rutf8._invalid_byte_2_of_4(ordch1, ordch2):
# second byte invalid, take the first and continue
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
elif charsleft == 2 and rutf8._invalid_byte_3_of_4(ord(s[pos+2])):
# third byte invalid, take the first two and continue
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+2)
result.append(r)
continue
else:
# there's only 1 or 2 valid cb, but the others are missing
if not final:
break
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'unexpected end of data',
w_s, pos, pos+charsleft+1)
result.append(r)
continue
raise AssertionError("unreachable")
if n == 0:
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid start byte',
w_s, pos, pos+1)
result.append(r)
elif n == 1:
assert 0, "ascii should have gone through the fast path"
elif n == 2:
ordch2 = ord(s[pos+1])
if rutf8._invalid_byte_2_of_2(ordch2):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
# 110yyyyy 10zzzzzz -> 00000000 00000yyy yyzzzzzz
result.append(chr(ordch1))
result.append(chr(ordch2))
pos += 2
elif n == 3:
ordch2 = ord(s[pos+1])
ordch3 = ord(s[pos+2])
if rutf8._invalid_byte_2_of_3(ordch1, ordch2, allow_surrogates):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
elif rutf8._invalid_byte_3_of_3(ordch3):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+2)
result.append(r)
continue
# 1110xxxx 10yyyyyy 10zzzzzz -> 00000000 xxxxyyyy yyzzzzzz
result.append(chr(ordch1))
result.append(chr(ordch2))
result.append(chr(ordch3))
pos += 3
elif n == 4:
ordch2 = ord(s[pos+1])
ordch3 = ord(s[pos+2])
ordch4 = ord(s[pos+3])
if rutf8._invalid_byte_2_of_4(ordch1, ordch2):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
elif rutf8._invalid_byte_3_of_4(ordch3):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+2)
result.append(r)
continue
elif rutf8._invalid_byte_4_of_4(ordch4):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+3)
result.append(r)
continue
# 11110www 10xxxxxx 10yyyyyy 10zzzzzz -> 000wwwxx xxxxyyyy yyzzzzzz
result.append(chr(ordch1))
result.append(chr(ordch2))
result.append(chr(ordch3))
result.append(chr(ordch4))
pos += 4
r = result.build()
# XXX can keep track of the resulting length without calling check_utf8
# here
> return r, rutf8.check_utf8(r, True), pos
interpreter/unicodehelper.py:537:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s = " e = ValueError('\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd')\n"
allow_surrogates = True, start = 0, stop = -1
def check_utf8(s, allow_surrogates, start=0, stop=-1):
"""Check that 's' is a utf-8-encoded byte string.
Returns the length (number of chars) or raise CheckError.
If allow_surrogates is False, then also raise if we see any.
Note also codepoints_in_utf8(), which also computes the length
faster by assuming that 's' is valid utf-8.
"""
res = _check_utf8(s, allow_surrogates, start, stop)
if res >= 0:
return res
> raise CheckError(~res)
E CheckError
../rpython/rlib/rutf8.py:362: CheckError
________________________ AppTestExc.test_nonascii_name _________________________
self = <CallInfo when='call' exception: >
func = <function <lambda> at 0x00007feff0e2af20>, 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_nonascii_name'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_nonascii_name'>}
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 0x00007ff0108faa30>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007ff000b3a5e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_nonascii_name'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_nonascii_name'>}
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 0x00007ff000b3a5e0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_nonascii_name'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_nonascii_name'>}
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_nonascii_name'>, '__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 0x00007ff0009a3330>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ascii_name'>, '__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 0x00007ff002271020>
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 0x00007ff002271020>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ascii_name'>, '__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_nonascii_name'>, '__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 0x00007ff0009a3268>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ascii_name'>, '__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 0x00007ff002270fe0>
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 0x00007ff002270fe0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...ascii_name'>, '__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_nonascii_name'>, '__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_nonascii_name'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_nonascii_name'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_nonascii_name'>, space = StdObjSpace
target = <function test_nonascii_name at 0x00007feff0e2af98>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fefe2e6f868>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fefe2e6f868>,)
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)
interpreter/gateway.py:1402:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ApplevelClass filename='[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'>
space = StdObjSpace, name = 'test_nonascii_name'
def wget(self, space, name):
> w_globals = self.getwdict(space)
interpreter/gateway.py:1393:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ApplevelClass filename='[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'>
space = StdObjSpace
def getwdict(self, space): # no cache
> return build_applevel_dict(self, space)
interpreter/gateway.py:1498:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ApplevelClass filename='[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'>
space = StdObjSpace
@not_rpython
def build_applevel_dict(self, space):
w_glob = space.newdict(module=True)
space.setitem(w_glob, space.newtext('__name__'), space.newtext(self.modname))
space.exec_(self.source, w_glob, w_glob,
hidden_applevel=self.hidden_applevel,
> filename=self.filename)
interpreter/gateway.py:1448:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
statement = "def test_nonascii_name(self): \n class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n pass\n assert '\xe6\x97...a5\xe6\x9c\xac2(SyntaxError):\n pass\n assert '\xe6\x97\xa5\xe6\x9c\xac2' in repr(\xe6\x97\xa5\xe6\x9c\xac2)"
w_globals = W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x00007ff01002e3a0>)
w_locals = W_ModuleDictObject(<pypy.objspace.std.celldict.ModuleDictStrategy object at 0x00007ff01002e3a0>)
hidden_applevel = False
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'
@not_rpython
def exec_(self, statement, w_globals, w_locals, hidden_applevel=False,
filename=None):
"For internal debugging."
if filename is None:
filename = '?'
from pypy.interpreter.pycode import PyCode
if isinstance(statement, str):
> statement = self._cached_compile(filename, statement, 'exec', 0, hidden_applevel)
interpreter/baseobjspace.py:1399:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'
source = "def test_nonascii_name(self): \n class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n pass\n assert '\xe6\x97...a5\xe6\x9c\xac2(SyntaxError):\n pass\n assert '\xe6\x97\xa5\xe6\x9c\xac2' in repr(\xe6\x97\xa5\xe6\x9c\xac2)"
mode = 'exec', flags = 0, hidden_applevel = False, ast_transform = None
@not_rpython
def _cached_compile(self, filename, source, mode, flags, hidden_applevel, ast_transform=None):
import os
from hashlib import md5
from rpython.config.translationoption import CACHE_DIR
from rpython.tool.gcc_cache import try_atomic_write
from pypy.module.marshal import interp_marshal
from pypy.interpreter.pycode import default_magic
h = md5(str(default_magic))
h.update(filename)
h.update(source)
h.update(mode)
h.update(str(flags))
h.update(str(hidden_applevel))
addition = ''
if ast_transform:
addition = ast_transform.func_name
cachename = os.path.join(
CACHE_DIR, "applevel_exec_%s_%s" % (addition, h.hexdigest()))
try:
if self.config.translating:
raise IOError("don't use the cache when translating pypy")
with open(cachename, 'rb') as f:
w_bin = self.newbytes(f.read())
w_code = interp_marshal._loads(self, w_bin, hidden_applevel)
except IOError:
# must (re)compile the source
ec = self.getexecutioncontext()
if ast_transform:
c = self.createcompiler()
tree = c.compile_to_ast(source, filename, "exec", 0)
tree = ast_transform(self, tree)
w_code = c.compile_ast(tree, filename, 'exec', 0)
else:
w_code = ec.compiler.compile(
> source, filename, mode, flags, hidden_applevel)
interpreter/baseobjspace.py:1444:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.pycompiler.PythonAstCompiler object at 0x00007feff1368f38>
source = "def test_nonascii_name(self): \n class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n pass\n assert '\xe6\x97...a5\xe6\x9c\xac2(SyntaxError):\n pass\n assert '\xe6\x97\xa5\xe6\x9c\xac2' in repr(\xe6\x97\xa5\xe6\x9c\xac2)"
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'
mode = 'exec', flags = 0, hidden_applevel = False, optimize = 0
def compile(self, source, filename, mode, flags=0, hidden_applevel=False,
optimize=-1):
if optimize == -1:
optimize = self.space.sys.get_optimize()
assert optimize >= 0
info = pyparse.CompileInfo(filename, mode, flags,
hidden_applevel=hidden_applevel, optimize=optimize)
> mod = self._compile_to_ast(source, info)
interpreter/pycompiler.py:180:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.pycompiler.PythonAstCompiler object at 0x00007feff1368f38>
source = "def test_nonascii_name(self): \n class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n pass\n assert '\xe6\x97...a5\xe6\x9c\xac2(SyntaxError):\n pass\n assert '\xe6\x97\xa5\xe6\x9c\xac2' in repr(\xe6\x97\xa5\xe6\x9c\xac2)"
info = <pypy.interpreter.pyparser.pyparse.CompileInfo object at 0x00007ff01002fda8>
def _compile_to_ast(self, source, info):
space = self.space
self.parser.reset()
try:
mod = self.parser.parse_source(source, info)
except parseerror.TabError as e:
raise OperationError(space.w_TabError,
e.find_sourceline_and_wrap_info(space, source, info.filename))
except parseerror.IndentationError as e:
raise OperationError(space.w_IndentationError, e.find_sourceline_and_wrap_info(space, source, info.filename))
except parseerror.SyntaxError as e:
> raise OperationError(space.w_SyntaxError, e.find_sourceline_and_wrap_info(space, source, info.filename))
interpreter/pycompiler.py:170:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = TokenError(), space = StdObjSpace
source = "def test_nonascii_name(self): \n class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n pass\n assert '\xe6\x97...a5\xe6\x9c\xac2(SyntaxError):\n pass\n assert '\xe6\x97\xa5\xe6\x9c\xac2' in repr(\xe6\x97\xa5\xe6\x9c\xac2)"
filename = '[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/exceptions/test/test_exc.py:305]'
def find_sourceline_and_wrap_info(self, space, source=None, filename=None):
""" search for the line of input that caused the error and then return
a wrapped tuple that can be used to construct a wrapped SyntaxError.
Optionally pass source, to get better error messages for the case where
this instance was constructed without a source line (.text
attribute)"""
text = self.text
if text is None and source is not None and self.lineno:
lines = source.splitlines(True)
text = lines[self.lineno - 1]
w_text = w_filename = space.w_None
w_lineno = space.newint(self.lineno)
if filename is None:
filename = self.filename
if filename is not None:
w_filename = space.newfilename(filename)
if text is None:
w_text = space.appexec([w_filename, w_lineno],
"""(filename, lineno):
try:
with open(filename) as f:
for _ in range(lineno - 1):
f.readline()
return f.readline()
except: # we can't allow any exceptions here!
return None""")
offset = self.offset
end_offset = self.end_offset
if text is not None:
# text may not be UTF-8 in case of decoding errors.
# adjust the encoded text offset to a decoded offset
# XXX do the right thing about continuation lines, which
# XXX are their own fun, sometimes giving offset >
# XXX len(text) for example (right now, avoid crashing)
# this also converts the byte-based self.offset to a
# codepoint-based index into the decoded unicode-version of
# self.text
replacedtext, unilength, _ = _str_decode_utf8_slowpath(space,
> text, space.newbytes(text), 'replace', False, make_replace_error_handler(space), True)
interpreter/pyparser/error.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, s = ' class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n'
w_s = W_BytesObject(' class \xe6\x97\xa5\xe6\x9c\xac(Exception):\n')
errors = 'replace', final = False
errorhandler = <function replace_error_handler at 0x00007ff013737628>
allow_surrogates = True
def _str_decode_utf8_slowpath(space, s, w_s, errors, final, errorhandler, allow_surrogates):
""" Same as checking for the valid utf8, but we know the utf8 is not
valid so we're trying to either raise or pack stuff with error handler.
The key difference is that this is call_may_force.
In CPython this is done in unicode_decode_utf8, which has no
allow_surrogates. That argument is used in at least decode_utf8sp, in
interpreter.error._compute_value.
"""
if errors is None:
errors = 'strict'
result = StringBuilder(len(s))
pos = 0
while pos < len(s):
ordch1 = ord(s[pos])
# fast path for ASCII
# XXX maybe use a while loop here
if ordch1 <= 0x7F:
pos += 1
result.append(chr(ordch1))
continue
n = ord(runicode._utf8_code_length[ordch1 - 0x80])
if pos + n > len(s):
# argh, this obscure block of code is mostly a copy of
# what follows :-(
charsleft = len(s) - pos - 1 # either 0, 1, 2
# note: when we get the 'unexpected end of data' we need
# to care about the pos returned; it can be lower than len(s),
# in case we need to continue running this loop
if not charsleft:
# there's only the start byte and nothing else
if not final:
break
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'unexpected end of data',
w_s, pos, pos+1)
result.append(r)
continue
ordch2 = ord(s[pos+1])
if n == 3:
# 3-bytes seq with only a continuation byte
if rutf8._invalid_byte_2_of_3(ordch1, ordch2, allow_surrogates):
# second byte invalid, take the first and continue
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
else:
# second byte valid, but third byte missing
if not final:
break
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'unexpected end of data',
w_s, pos, pos+2)
result.append(r)
continue
elif n == 4:
# 4-bytes seq with 1 or 2 continuation bytes
if rutf8._invalid_byte_2_of_4(ordch1, ordch2):
# second byte invalid, take the first and continue
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
elif charsleft == 2 and rutf8._invalid_byte_3_of_4(ord(s[pos+2])):
# third byte invalid, take the first two and continue
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+2)
result.append(r)
continue
else:
# there's only 1 or 2 valid cb, but the others are missing
if not final:
break
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'unexpected end of data',
w_s, pos, pos+charsleft+1)
result.append(r)
continue
raise AssertionError("unreachable")
if n == 0:
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid start byte',
w_s, pos, pos+1)
result.append(r)
elif n == 1:
assert 0, "ascii should have gone through the fast path"
elif n == 2:
ordch2 = ord(s[pos+1])
if rutf8._invalid_byte_2_of_2(ordch2):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
# 110yyyyy 10zzzzzz -> 00000000 00000yyy yyzzzzzz
result.append(chr(ordch1))
result.append(chr(ordch2))
pos += 2
elif n == 3:
ordch2 = ord(s[pos+1])
ordch3 = ord(s[pos+2])
if rutf8._invalid_byte_2_of_3(ordch1, ordch2, allow_surrogates):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
elif rutf8._invalid_byte_3_of_3(ordch3):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+2)
result.append(r)
continue
# 1110xxxx 10yyyyyy 10zzzzzz -> 00000000 xxxxyyyy yyzzzzzz
result.append(chr(ordch1))
result.append(chr(ordch2))
result.append(chr(ordch3))
pos += 3
elif n == 4:
ordch2 = ord(s[pos+1])
ordch3 = ord(s[pos+2])
ordch4 = ord(s[pos+3])
if rutf8._invalid_byte_2_of_4(ordch1, ordch2):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+1)
result.append(r)
continue
elif rutf8._invalid_byte_3_of_4(ordch3):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+2)
result.append(r)
continue
elif rutf8._invalid_byte_4_of_4(ordch4):
r, pos, rettype, s, w_s = errorhandler(errors, 'utf-8',
'invalid continuation byte',
w_s, pos, pos+3)
result.append(r)
continue
# 11110www 10xxxxxx 10yyyyyy 10zzzzzz -> 000wwwxx xxxxyyyy yyzzzzzz
result.append(chr(ordch1))
result.append(chr(ordch2))
result.append(chr(ordch3))
result.append(chr(ordch4))
pos += 4
r = result.build()
# XXX can keep track of the resulting length without calling check_utf8
# here
> return r, rutf8.check_utf8(r, True), pos
interpreter/unicodehelper.py:537:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s = ' class \xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd(Exception):\n'
allow_surrogates = True, start = 0, stop = -1
def check_utf8(s, allow_surrogates, start=0, stop=-1):
"""Check that 's' is a utf-8-encoded byte string.
Returns the length (number of chars) or raise CheckError.
If allow_surrogates is False, then also raise if we see any.
Note also codepoints_in_utf8(), which also computes the length
faster by assuming that 's' is valid utf-8.
"""
res = _check_utf8(s, allow_surrogates, start, stop)
if res >= 0:
return res
> raise CheckError(~res)
E CheckError
../rpython/rlib/rutf8.py:362: CheckError
=========================== short test summary info ============================
FAIL module/exceptions/test/test_exc.py::AppTestExc::()::test_str_unicode
FAIL module/exceptions/test/test_exc.py::AppTestExc::()::test_nonascii_name
=============== 2 failed, 95 passed, 1 skipped in 41.54 seconds ================
++ 06:39:58 starting module/gc/test [144 started in total]
__ module/faulthandler/test [142 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/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 31.65 seconds ===========================
++ 06:40:00 starting module/imp/test [145 started in total]
__ module/fcntl/test [143 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/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 0x00007fdc7a7f0f98>, 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 0x00007fdc980ea988>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fdca8e52e20>]
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 0x00007fdca8e52e20>]
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 0x00007fdc9990a4f8>
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 0x00007fdc7a0121e0>
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 0x00007fdc7a0121e0>
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 0x00007fdc9990a4a8>
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 0x00007fdc7a0121a0>
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 0x00007fdc7a0121a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_fcntl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_fcntl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_fcntl'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fcntl'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_fcntl'>, space = StdObjSpace
target = <function test_fcntl at 0x00007fdc7a7f1100>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
w_func = <Function test_fcntl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_fcntl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_fcntl, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
name = 'test_fcntl', qualname = 'test_fcntl'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
pycode = <code object test_fcntl, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1>
next_instr = 346
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02\x89\x00d\x01d\x00l\x03}\x03G\x00d\x02\x84\x00d\x03\x83\x02}\x...x05|\x01j\x1d\x83\x04\x01\x00t\x08t%|\x01j\x00|\x05|\x01j\x1ed\x1a\x83\x05\x01\x00|\x05\xa0&\xa1\x00\x01\x00d\x00S\x00'
next_instr = 346
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02\x89\x00d\x01d\x00l\x03}\x03G\x00d\x02\x84\x00d\x03\x83\x02}\x...x05|\x01j\x1d\x83\x04\x01\x00t\x08t%|\x01j\x00|\x05|\x01j\x1ed\x1a\x83\x05\x01\x00|\x05\xa0&\xa1\x00\x01\x00d\x00S\x00'
next_instr = 358L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
self.CALL_FUNCTION_EX(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
oparg = 3, ignored = (358L,), n_args = 3, w_self = None, n = 3
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg
w_self = f.peekvalue_maybe_none(n_args)
n = n_args + (w_self is not None)
w_callable = f.peekvalue(n_args + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
objspace/std/callmethod.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction fcntl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
dropvalues = 5, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, _Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs, w_function=w_func)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, _Method):
# reuse callable stack place for w_inst
frame.settopvalue(w_func.w_instance, nargs)
nargs += 1
methodcall = True
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction fcntl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_fcntl, f...acos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:21]", line 1> at line 30
dropvalues = 5, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
> f_1, f_0)
interpreter/function.py:176:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00007fdc8a0bc8e0>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcab23e2f8>
w2 = W_IntObject(2), w3 = W_UnicodeObject('foo')
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_3(self, space, func, w1, w2, w3):
try:
w_result = self.fastfunc_3(space, w1, w2, w3)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space, [w1, w2, w3]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:1031:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00007fdc8a0bc8e0>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode3 object at 0x00007fdc8a0bc8e0>
space = StdObjSpace, func = <BuiltinFunction fcntl>
w1 = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcab23e2f8>
w2 = W_IntObject(2), w3 = W_UnicodeObject('foo')
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_3(self, space, func, w1, w2, w3):
try:
> w_result = self.fastfunc_3(space, w1, w2, w3)
interpreter/gateway.py:1026:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w0 = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcab23e2f8>
w1 = W_IntObject(2), w2 = W_UnicodeObject('foo')
def fastfunc_fcntl_3(space, w0, w1, w2):
> return func(space, w0, space.gateway_int_w(w1), w2)
<2757-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcab23e2f8>
op = 2L, w_arg = W_UnicodeObject('foo')
@unwrap_spec(op=int, w_arg=WrappedDefault(0))
def fcntl(space, w_fd, op, w_arg):
"""fcntl(fd, op, [arg])
Perform the requested operation on file descriptor fd. The operation
is defined by op and is operating system dependent. These constants are
available from the fcntl module. The argument arg is optional, and
defaults to 0; it may be an int or a string. If arg is given as a string,
the return value of fcntl is a string of that length, containing the
resulting value put in the arg buffer by the operating system. If the
arg given is an integer or if none is specified, the result value is an
integer corresponding to the return value of the fcntl call in the C code.
"""
fd = space.c_filedescriptor_w(w_fd)
op = rffi.cast(rffi.INT, op) # C long => C int
try:
arg = space.getarg_w('s#', w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
with rffi.scoped_str2charp(arg) as ll_arg:
while True:
> rv = fcntl_str(fd, op, ll_arg)
module/fcntl/interp_fcntl.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 2L, <* DEAD Array of Char {'nolength': True} >)
real_args = (13L, 2L, <* DEAD Array of Char {'nolength': True} >), to_free = ()
i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 13L, a1 = 2L, a2 = <* DEAD Array of Char {'nolength': True} >
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2208-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/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-x86_64/own-macos-x86-64/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 0x00007fdc995c1de0>
argvalues = (13L, 2L, <* DEAD Array of Char {'nolength': True} >)
cfunc = <ctypes._FuncPtr object at 0x00007fdc7b055748>
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 0x00007fdc7b055af0>
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 0x00007fdc7b055ad8>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc7b055af0>
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-x86_64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc7b055ad8>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc7b055af0>
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-x86_64-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 0x00007fdc9a416f20>, 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 0x00007fdc980ea988>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fdca8e52e20>]
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 0x00007fdca8e52e20>]
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 0x00007fdc890a8750>
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 0x00007fdc7ab87ce0>
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 0x00007fdc7ab87ce0>
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 0x00007fdc890a8688>
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 0x00007fdc7ab87ca0>
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 0x00007fdc7ab87ca0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_lockf'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_lockf'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_lockf'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_lockf'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_lockf'>, space = StdObjSpace
target = <function test_lockf at 0x00007fdc9a416f98>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
w_func = <Function test_lockf>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_lockf>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_lockf, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
name = 'test_lockf', qualname = 'test_lockf'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
e = TypeError('expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_typ...LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }',)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
pycode = <code object test_lockf, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03t\x03|\x00j\x04d\x02\x17\x00d\x03\x83\x02}\x04t\x05t\x06|...xa1\x01d\x01k\x02s\xabJ\x00\x82\x01|\x01\xa0\x07|\x04|\x01j\x08\xa1\x02\x01\x00|\x04\xa0\x16\xa1\x00\x01\x00d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03t\x03|\x00j\x04d\x02\x17\x00d\x03\x83\x02}\x04t\x05t\x06|...xa1\x01d\x01k\x02s\xabJ\x00\x82\x01|\x01\xa0\x07|\x04|\x01j\x08\xa1\x02\x01\x00|\x04\xa0\x16\xa1\x00\x01\x00d\x00S\x00'
next_instr = 126L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
self.CALL_FUNCTION_EX(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
oparg = 2, ignored = (126L,), n_args = 2, w_self = None, n = 2
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg
w_self = f.peekvalue_maybe_none(n_args)
n = n_args + (w_self is not None)
w_callable = f.peekvalue(n_args + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
objspace/std/callmethod.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction lockf>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
dropvalues = 4, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, _Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs, w_function=w_func)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, _Method):
# reuse callable stack place for w_inst
frame.settopvalue(w_func.w_instance, nargs)
nargs += 1
methodcall = True
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction lockf>, nargs = 2
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_lockf, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:160]", line 1> at line 13
dropvalues = 4, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1, w_function=self)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall, w_function=self)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction lockf>
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcabcae1e0>, W_IntObject(6)])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fdcabcb4678>
func = <BuiltinFunction lockf>
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcabcae1e0>, W_IntObject(6)])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fdcabcb4678>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcabcae1e0>, W_IntObject(6)])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:884:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fdcabcb4678>
space = StdObjSpace
e = TypeError('expected ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_typ...LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }',)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode object at 0x00007fdcabcb4678>
func = <BuiltinFunction lockf>, w_obj = None
args = Arguments([<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcabcae1e0>, W_IntObject(6)])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:878:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_int_int_int_int object at 0x00007fdcabcb4838>
space = StdObjSpace
scope_w = [<pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcabcae1e0>, 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]))
<2759-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
w_fd = <pypy.module._io.interp_textio.W_TextIOWrapper object at 0x00007fdcabcae1e0>
op = 8L, length = 0, start = 0, whence = 0
@unwrap_spec(op=int, length=int, start=int, whence=int)
def lockf(space, w_fd, op, length=0, start=0, whence=0):
"""lockf (fd, operation, length=0, start=0, whence=0)
This is essentially a wrapper around the fcntl() locking calls. fd is the
file descriptor of the file to lock or unlock, and operation is one of the
following values:
LOCK_UN - unlock
LOCK_SH - acquire a shared lock
LOCK_EX - acquire an exclusive lock
When operation is LOCK_SH or LOCK_EX, it can also be bit-wise OR'd with
LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the
lock cannot be acquired, an IOError will be raised and the exception will
have an errno attribute set to EACCES or EAGAIN (depending on the
operating system -- for portability, check for either value).
length is the number of bytes to lock, with the default meaning to lock to
EOF. start is the byte offset, relative to whence, to that the lock
starts. whence is as with fileobj.seek(), specifically:
0 - relative to the start of the file (SEEK_SET)
1 - relative to the current buffer position (SEEK_CUR)
2 - relative to the end of the file (SEEK_END)"""
fd = space.c_filedescriptor_w(w_fd)
if op == LOCK_UN:
l_type = F_UNLCK
elif op & LOCK_SH:
l_type = F_RDLCK
elif op & LOCK_EX:
l_type = F_WRLCK
else:
raise oefmt(space.w_ValueError, "unrecognized lock operation")
op = [F_SETLKW, F_SETLK][int(bool(op & LOCK_NB))]
op = rffi.cast(rffi.INT, op) # C long => C int
with lltype.scoped_alloc(_flock.TO) as l:
rffi.setintfield(l, 'c_l_type', l_type)
rffi.setintfield(l, 'c_l_start', int(start))
rffi.setintfield(l, 'c_l_len', int(length))
rffi.setintfield(l, 'c_l_whence', int(whence))
while True:
> rv = fcntl_flock(fd, op, l)
module/fcntl/interp_fcntl.py:207:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
real_args = (14L, 8L, <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>)
to_free = (), i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 14L, a1 = 8L
a2 = <* DEAD Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence }>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<2209-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/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-x86_64/own-macos-x86-64/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 0x00007fdc89033e50>
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 0x00007fdc99712f80>
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 0x00007fdc8960c638>
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 0x00007fdc8960cc80>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00007fdc8960c638>
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-x86_64-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 0x00007fdc8960cc80>
value = <_ctypes.pointer.LP_ctypes_Struct flock { c_l_start, c_l_len, c_l_pid, c_l_type, c_l_whence } object at 0x00007fdc8960c638>
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-x86_64-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 0x00007fdc99ddc908>, 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 0x00007fdc980ea988>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fdca8e52e20>]
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 0x00007fdca8e52e20>]
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 0x00007fdc99b46070>
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 0x00007fdc9b4c82e0>
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 0x00007fdc9b4c82e0>
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 0x00007fdcaae33fb0>
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 0x00007fdc9b4c82a0>
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 0x00007fdc9b4c82a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...test_ioctl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ioctl'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_ioctl'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl'>, space = StdObjSpace
target = <function test_ioctl at 0x00007fdc99ddcb60>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
w_func = <Function test_ioctl>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_ioctl>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ioctl, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
name = 'test_ioctl', qualname = 'test_ioctl'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
pycode = <code object test_ioctl, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1>
next_instr = 180
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05\t\x00d\x01d\x02l...e0J\x00\x82\x01|\x03\xa0\x11|\x08\xa1\x01\x01\x00d\x00S\x00#\x00|\x03\xa0\x11|\x08\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 180
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05\t\x00d\x01d\x02l...e0J\x00\x82\x01|\x03\xa0\x11|\x08\xa1\x01\x01\x00d\x00S\x00#\x00|\x03\xa0\x11|\x08\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 220L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
self.CALL_FUNCTION_EX(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
oparg = 4, ignored = (220L,), n_args = 4, w_self = None, n = 4
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg
w_self = f.peekvalue_maybe_none(n_args)
n = n_args + (w_self is not None)
w_callable = f.peekvalue(n_args + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
objspace/std/callmethod.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction ioctl>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
dropvalues = 6, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, _Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs, w_function=w_func)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, _Method):
# reuse callable stack place for w_inst
frame.settopvalue(w_func.w_instance, nargs)
nargs += 1
methodcall = True
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction ioctl>, nargs = 4
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl, f...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:197]", line 1> at line 28
dropvalues = 6, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
> return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
interpreter/function.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007fdc7a62b4e8>
w4 = W_BoolObject(True)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_4(self, space, func, w1, w2, w3, w4):
from rpython.rlib.debug import check_annotation
try:
w_result = self.fastfunc_4(space, w1, w2, w3, w4)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space,
[w1, w2, w3, w4]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:1058:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
space = StdObjSpace, func = <BuiltinFunction ioctl>, w1 = W_IntObject(13)
w2 = W_IntObject(1074033783)
w3 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007fdc7a62b4e8>
w4 = W_BoolObject(True)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_4(self, space, func, w1, w2, w3, w4):
from rpython.rlib.debug import check_annotation
try:
> w_result = self.fastfunc_4(space, w1, w2, w3, w4)
interpreter/gateway.py:1052:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w0 = W_IntObject(13), w1 = W_IntObject(1074033783)
w2 = <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007fdc7a62b4e8>
w3 = W_BoolObject(True)
def fastfunc_ioctl_4(space, w0, w1, w2, w3):
> return func(space, w0, w1, w2, space.gateway_int_w(w3))
<2848-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = W_IntObject(13), w_request = W_IntObject(1074033783)
w_arg = <pypy.module.array.interp_array.W_ArrayTypei object at 0x00007fdc7a62b4e8>
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) or
e.match(space, space.w_BufferError)):
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:270:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (13, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x7fdc868c0610>>)
real_args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x7fdc868c0610>>)
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 0x7fdc868c0610>>
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)
<2211-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x7fdc868c0610>>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* <C object Array of Char {'nolength': True} at 0x7fdc868c0610>>
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 0x00007fdc89033f30>
argvalues = (13L, 1074033783L, <* <C object Array of Char {'nolength': True} at 0x7fdc868c0610>>)
cfunc = <ctypes._FuncPtr object at 0x00007fdc895bb508>
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 0x7fdc868c0610>>)
cargs = [13L, 1074033783L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc895bb3e8>
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 0x00007fdc895bb928>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc895bb3e8>
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-x86_64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc895bb928>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdc895bb3e8>
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-x86_64-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 0x00007fdc9b5f4b60>, 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 0x00007fdc980ea988>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fdca8e52e20>]
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 0x00007fdca8e52e20>]
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 0x00007fdc9a3d3c40>
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 0x00007fdcab90b1e0>
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 0x00007fdcab90b1e0>
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 0x00007fdc9a3d3bc8>
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 0x00007fdcab90b1a0>
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 0x00007fdcab90b1a0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...code_param'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_ioctl_signed_unsigned_code_param'>
space = StdObjSpace
target = <function test_ioctl_signed_unsigned_code_param at 0x00007fdc9b5f4bd8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
w_func = <Function test_ioctl_signed_unsigned_code_param>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_ioctl_signed_unsigned_code_param>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fdcaa247b40>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_ioctl_signed_unsigned_code_param, file "[/Users/matti/build-...6_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
name = 'test_ioctl_signed_unsigned_code_param'
qualname = 'test_ioctl_signed_unsigned_code_param'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
pycode = <code object test_ioctl_signed_unsigned_code_param, file "[/Users/matti/build-...6_64/own-macos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1>
next_instr = 82
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05|\x03\xa0\x05\xa1...x07\xa1\x01\x01\x00d\x00S\x00#\x00|\x02\xa0\n|\x06\xa1\x01\x01\x00|\x02\xa0\n|\x07\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 82
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
co_code = 'd\x01d\x00l\x00}\x01d\x01d\x00l\x01}\x02d\x01d\x00l\x02}\x03d\x01d\x00l\x03}\x04d\x01d\x00l\x04}\x05|\x03\xa0\x05\xa1...x07\xa1\x01\x01\x00d\x00S\x00#\x00|\x02\xa0\n|\x06\xa1\x01\x01\x00|\x02\xa0\n|\x07\xa1\x01\x01\x00w\x00&\x03Y\x00w\x01'
next_instr = 142L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fdc7a2f8368>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
self.CALL_FUNCTION_EX(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
oparg = 3, ignored = (142L,), n_args = 3, w_self = None, n = 3
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg
w_self = f.peekvalue_maybe_none(n_args)
n = n_args + (w_self is not None)
w_callable = f.peekvalue(n_args + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
objspace/std/callmethod.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction ioctl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
dropvalues = 5, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, _Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs, w_function=w_func)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, _Method):
# reuse callable stack place for w_inst
frame.settopvalue(w_func.w_instance, nargs)
nargs += 1
methodcall = True
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction ioctl>, nargs = 3
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_ioctl_si...cos-x86-64/build/pypy/module/fcntl/test/test_fcntl.py:269]", line 1> at line 20
dropvalues = 5, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, f_0)
elif nargs == 2:
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, f_1, f_0)
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
frame.dropvalues(dropvalues)
return code.fastcall_3(self.space, self, f_2,
f_1, f_0)
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
f_0 = frame.peekvalue(0)
f_1 = frame.peekvalue(1)
f_2 = frame.peekvalue(2)
f_3 = frame.peekvalue(3)
frame.dropvalues(dropvalues)
return code.fastcall_4(self.space, self, f_3, f_2, f_1, f_0)
elif (nargs | Code.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
return self._flat_pycall(code, nargs, frame, dropvalues)
elif fast_natural_arity & Code.FLATPYCALL:
natural_arity = fast_natural_arity & 0xff
if natural_arity > nargs >= natural_arity - len(self.defs_w):
assert isinstance(code, PyCode)
return self._flat_pycall_defaults(code, nargs, frame,
natural_arity - nargs, dropvalues)
elif fast_natural_arity == Code.PASSTHROUGHARGS1 and nargs >= 1:
assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
w_obj = frame.peekvalue(nargs-1)
args = frame.make_arguments(nargs-1, w_function=self)
frame.dropvalues(dropvalues)
return code.funcrun_obj(self, w_obj, args)
args = frame.make_arguments(nargs, methodcall=methodcall, w_function=self)
frame.dropvalues(dropvalues)
> return self.call_args(args)
interpreter/function.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction ioctl>
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
func = <BuiltinFunction ioctl>
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
func = <BuiltinFunction ioctl>, w_obj = None
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:884:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
space = StdObjSpace
e = TypeError("expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode4 object at 0x00007fdc89435bb0>
func = <BuiltinFunction ioctl>, w_obj = None
args = Arguments([W_IntObject(14), W_IntObject(2148037735), W_BytesObject('P\x00\x19\x00\x00\x00\x00\x00')])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:878:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_Root_int object at 0x00007fdc89435d00>
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]))
<2847-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>: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) or
e.match(space, space.w_BufferError)):
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_error_always(space, "ioctl")
arg = rffi.charpsize2str(buf.raw, len(arg))
if mutate_flag != 0:
rwbuffer.setslice(0, arg)
return space.newint(rv)
return space.newbytes(arg)
finally:
lltype.free(ll_arg, flavor='raw')
if mutate_flag != -1:
raise oefmt(space.w_TypeError,
"ioctl requires a file or file descriptor, an integer and "
"optionally an integer or buffer argument")
try:
arg = space.getarg_w('s#', w_arg)
except OperationError as e:
if not e.match(space, space.w_TypeError):
raise
else:
ll_arg = rffi.str2charp(arg)
to_alloc = max(IOCTL_BUFSZ, len(arg))
try:
with rffi.scoped_alloc_buffer(to_alloc) as buf:
rffi.c_memcpy(rffi.cast(rffi.VOIDP, buf.raw),
rffi.cast(rffi.CONST_VOIDP, ll_arg), len(arg))
> rv = ioctl_str(fd, op, buf.raw)
module/fcntl/interp_fcntl.py:298:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (14, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x7fdca7156610>>)
real_args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x7fdca7156610>>)
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 0x7fdca7156610>>
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)
<2211-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x7fdca7156610>>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2, a = <* <C object Array of Char {'nolength': True} at 0x7fdca7156610>>
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 0x00007fdc89033f30>
argvalues = (14L, 2148037735L, <* <C object Array of Char {'nolength': True} at 0x7fdca7156610>>)
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 0x7fdca7156610>>)
cargs = [14L, 2148037735L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdcabfc2e00>
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 0x00007fdcabfc3310>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdcabfc2e00>
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-x86_64-buildbot/lib_pypy/_ctypes/pointer.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdcabfc3310>
value = <_ctypes.pointer.LP_ctypes_Array of Char {'nolength': True} *0 object at 0x00007fdcabfc2e00>
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-x86_64-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 37.09 seconds ================
++ 06:40:09 starting module/itertools/test [146 started in total]
__ module/gc/test [144 done in total, somefailed=True] ________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
module/gc/test/test_app_referents.py ....
module/gc/test/test_gc.py .....x...
module/gc/test/test_hook.py ........
module/gc/test/test_referents.py ...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 0x00007f8d3a220d40>, 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 0x00007f8d2806e9c0>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007f8d08032660>]
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 0x00007f8d08032660>]
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 0x00007f8d0a7f9588>
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 0x00007f8d185f4360>
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 0x00007f8d185f4360>
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 0x00007f8d0a7f94c0>
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 0x00007f8d185f4320>
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 0x00007f8d185f4320>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...mory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_rpy_memory_usage'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_get_rpy_memory_usage'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_rpy_memory_usage'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_rpy_memory_usage'>, space = StdObjSpace
target = <function test_get_rpy_memory_usage at 0x00007f8d3a220db8>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8d2ab76598>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8d2ab76598>,)
w_func = <Function test_get_rpy_memory_usage>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8d2ab76598>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8d2ab76598>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_get_rpy_memory_usage>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f8d2ab76598>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_get_rpy_memory_usage, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
name = 'test_get_rpy_memory_usage', qualname = 'test_get_rpy_memory_usage'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
pycode = <code object test_get_rpy_memory_usage, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007f8d1892a918>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x01\xa0\x01d\x02\xa1\x01}\x02t\x02|\x02\x83\x01\x01\x00d\x03|\x02\x04\x00\x03\x00k\x01o\x16d\x04k\x01n\x02\x02\x00\x01\x00s\x1bJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007f8d1892a918>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
co_code = 'd\x01d\x00l\x00}\x01|\x01\xa0\x01d\x02\xa1\x01}\x02t\x02|\x02\x83\x01\x01\x00d\x03|\x02\x04\x00\x03\x00k\x01o\x16d\x04k\x01n\x02\x02\x00\x01\x00s\x1bJ\x00\x82\x01d\x00S\x00'
next_instr = 16L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007f8d1892a918>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
self.CALL_FUNCTION_EX(oparg, next_instr)
elif opcode == opcodedesc.CALL_METHOD.index:
> self.CALL_METHOD(oparg, next_instr)
interpreter/pyopcode.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
oparg = 1, ignored = (16L,), n_args = 1, w_self = None, n = 1
@jit.unroll_safe
def CALL_METHOD(f, oparg, *ignored):
# opargs contains the arg, and kwarg count, excluding the implicit 'self'
n_args = oparg
w_self = f.peekvalue_maybe_none(n_args)
n = n_args + (w_self is not None)
w_callable = f.peekvalue(n_args + 1)
w_result = f.space.call_valuestack(
> w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
objspace/std/callmethod.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
dropvalues = 3, methodcall = False
def call_valuestack(self, w_func, nargs, frame, dropvalues, methodcall=False):
# methodcall is only used for better error messages in argument.py
from pypy.interpreter.function import Function, _Method, is_builtin_code
if frame.get_is_being_profiled() and is_builtin_code(w_func):
# XXX: this code is copied&pasted :-( from the slow path below
# call_valuestack().
args = frame.make_arguments(nargs, w_function=w_func)
frame.dropvalues(dropvalues)
return self.call_args_and_c_profile(frame, w_func, args)
if not self.config.objspace.disable_call_speedhacks:
# start of hack for performance
if isinstance(w_func, _Method):
# reuse callable stack place for w_inst
frame.settopvalue(w_func.w_instance, nargs)
nargs += 1
methodcall = True
w_func = w_func.w_function
if isinstance(w_func, Function):
return w_func.funccall_valuestack(
> nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter/baseobjspace.py:1261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction get_rpy_memory_usage>, nargs = 1
frame = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_rpy_...acos-x86-64/build/pypy/module/gc/test/test_referents.py:79]", line 1> at line 3
dropvalues = 3, methodcall = False
def funccall_valuestack(self, nargs, frame, dropvalues, methodcall=False): # speed hack
# methodcall is only for better error messages
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
#
if (jit.we_are_jitted() and code is self.space._code_of_sys_exc_info
and nargs == 0):
frame.dropvalues(dropvalues)
from pypy.module.sys.vm import exc_info_direct
return exc_info_direct(self.space, frame)
#
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
f_0 = frame.peekvalue(0)
frame.dropvalues(dropvalues)
assert isinstance(code, gateway.BuiltinCode1)
> return code.fastcall_1(self.space, self, f_0)
interpreter/function.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007f8d2a3e81a8>
space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>
w1 = W_IntObject(12345)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_1(self, space, w_func, w1):
try:
w_result = self.fastfunc_1(space, w1)
except DescrMismatch:
return self._type_unwrap_mismatch(space,
Arguments(space, [w1]))
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:982:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007f8d2a3e81a8>
space = StdObjSpace
e = AttributeError("type object 'W_IntObject' has no attribute '__basicsize__'",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007f8d2a3e81a8>
space = StdObjSpace, w_func = <BuiltinFunction get_rpy_memory_usage>
w1 = W_IntObject(12345)
@signature(sigtypes.self(), sigtypes.any(),
w_root_or_none,
w_root_or_none,
returns=w_root_or_none)
def fastcall_1(self, space, w_func, w1):
try:
> w_result = self.fastfunc_1(space, w1)
interpreter/gateway.py:977:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = W_IntObject(12345)
def get_rpy_memory_usage(space, w_obj):
"""Return the memory usage of just the given object or GcRef.
This does not include the internal structures of the object."""
gcref = unwrap(space, w_obj)
> size = rgc.get_rpy_memory_usage(gcref)
module/gc/referents.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gcref = _GcRef(W_IntObject(12345))
@not_rpython
def get_rpy_memory_usage(gcref):
# approximate implementation using CPython's type info
Class = type(gcref._x)
> size = Class.__basicsize__
E AttributeError: type object 'W_IntObject' has no attribute '__basicsize__'
../rpython/rlib/rgc.py: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 44.58 seconds ================
++ 06:40:49 starting module/marshal/test [147 started in total]
__ module/itertools/test [145 done in total, somefailed=False] ________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 92 items
module/itertools/test/apptest_itertools.py ....
module/itertools/test/test_itertools.py .......................................................................................
module/itertools/test/test_ztranslation.py .
========================== 92 passed in 86.06 seconds ==========================
++ 06:41:37 starting module/math/test [148 started in total]
__ module/marshal/test [146 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 51 items
module/marshal/test/apptest_marshal.py ...............................................
module/marshal/test/test_marshal.py .
module/marshal/test/test_marshalimpl.py ...
========================== 51 passed in 51.51 seconds ==========================
++ 06:41:48 starting module/micronumpy/test [149 started in total]
__ module/micronumpy/test [147 done in total, somefailed=False] _______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.01 seconds =========================
++ 06:41:49 starting module/mmap/test [150 started in total]
__ module/mmap/test [148 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 46 items
module/mmap/test/test_mmap.py .....................s............ss....s.....
==================== 42 passed, 4 skipped in 34.19 seconds =====================
++ 06:42:27 starting module/operator/test [151 started in total]
__ module/imp/test [149 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 123 items
module/imp/test/test_app.py .......................
module/imp/test/test_import.py ..........................s....................................s..........s.......s.................
=================== 119 passed, 4 skipped in 170.09 seconds ====================
++ 06:42:54 starting module/posix/test [152 started in total]
__ module/operator/test [150 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 28 items
module/operator/test/test_operator.py ........................
module/operator/test/test_tscmp.py ....
========================== 28 passed in 40.49 seconds ==========================
++ 06:43:11 starting module/pwd/test [153 started in total]
__ module/math/test [151 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 209 items
module/math/test/apptest_math.py ...........s
module/math/test/test_direct.py ......................................................................................................................................................................
module/math/test/test_math.py ............s..................
==================== 207 passed, 2 skipped in 92.78 seconds ====================
++ 06:43:11 starting module/pyexpat/test [154 started in total]
__ module/pwd/test [152 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
module/pwd/test/test_pwd.py ....
module/pwd/test/test_ztranslation.py .
========================== 5 passed in 43.29 seconds ===========================
++ 06:43:56 starting module/pypyjit/test [155 started in total]
__ module/pyexpat/test [153 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
module/pyexpat/test/apptest_pyexpat.py ...
module/pyexpat/test/test_build.py .
module/pyexpat/test/test_parser.py ...s.............
==================== 20 passed, 1 skipped in 59.83 seconds =====================
++ 06:44:17 starting module/select/test [156 started in total]
__ module/posix/test [154 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 162 items / 2 skipped
module/posix/test/apptest_posix.py ...F
module/posix/test/test_interp_posix.py ....
module/posix/test/test_posix2.py .......................F........s............................s...............ss......s....ss.........s..sF..F.............ssss........
module/posix/test/test_scandir.py ...........F........
=================================== FAILURES ===================================
__________________________ test_all_pathconf_defined ___________________________
def test_all_pathconf_defined():
import sys
import posix
try:
fd = sys.stdin.fileno()
except ValueError:
# translated test run with a fake sys.stdin with no fileno
fd = 1
for name in posix.pathconf_names:
> posix.fpathconf(fd, name) # does not crash
E (application-level) OSError: [Errno 22] Invalid argument
module/posix/test/apptest_posix.py:66: OSError
_________________________ AppTestPosix.test_fdlistdir __________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>
def test_fdlistdir(self):
posix = self.posix
dirfd = posix.open('.', posix.O_RDONLY)
lst1 = posix.listdir(dirfd) # does not close dirfd
lst2 = posix.listdir('.')
> assert lst1 == lst2
E (application-level) AssertionError
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/posix/test/test_posix2.py:465]:6: AssertionError
______________________ AppTestPosix.test_darwin_constants ______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>
def test_darwin_constants(self):
darwin_constants =['_COPYFILE_DATA']
for name in darwin_constants:
> getattr(self.posix, name)
E (application-level) AttributeError: module 'posix' has no attribute '_COPYFILE_DATA'
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/posix/test/test_posix2.py:1627]:4: AttributeError
_____________________ AppTestPosix.test_get_terminal_size ______________________
self = <CallInfo when='call' exception: unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'>
func = <function <lambda> at 0x00007fcfa22a7e98>, when = 'call'
def __init__(self, func, when):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
> self.result = func()
../_pytest/runner.py:150:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> return CallInfo(lambda: ihook(item=item, **kwds), when=when)
../_pytest/runner.py:138:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_HookCaller 'pytest_runtest_call'>
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_terminal_size'>}
def __call__(self, **kwargs):
assert not self.is_historic()
> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
../_pytest/vendored_packages/pluggy.py:724:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.config.PytestPluginManager object at 0x00007fcfc08fc9f8>
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fcf9067dba0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_terminal_size'>}
def _hookexec(self, hook, methods, kwargs):
# called from all hookcaller instances.
# enable_tracing will set its own wrapping function at self._inner_hookexec
> return self._inner_hookexec(hook, methods, kwargs)
../_pytest/vendored_packages/pluggy.py:338:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hook = <_HookCaller 'pytest_runtest_call'>
methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x00007fcf9067dba0>]
kwargs = {'__multicall__': <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>, 'item': <AppTestMethod 'test_get_terminal_size'>}
self._inner_hookexec = lambda hook, methods, kwargs: \
> _MultiCall(methods, kwargs, hook.spec_opts).execute()
../_pytest/vendored_packages/pluggy.py:333:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007fcfb116e6b0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007fcf90af2ea0>
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 0x00007fcf90af2ea0>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
> return _wrapped_call(hook_impl.function(*args), self.execute)
../_pytest/vendored_packages/pluggy.py:595:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wrap_controller = <generator object pytest_runtest_call at 0x00007fcfb116e660>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def _wrapped_call(wrap_controller, func):
""" Wrap calling to a function with a generator which needs to yield
exactly once. The yield point will trigger calling the wrapped function
and return its _CallOutcome to the yield point. The generator then needs
to finish (raise StopIteration) in order for the wrapped call to complete.
"""
try:
next(wrap_controller) # first yield
except StopIteration:
_raise_wrapfail(wrap_controller, "did not yield")
call_outcome = _CallOutcome(func)
try:
wrap_controller.send(call_outcome)
_raise_wrapfail(wrap_controller, "has second yield")
except StopIteration:
pass
> return call_outcome.get_result()
../_pytest/vendored_packages/pluggy.py:253:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.vendored_packages.pluggy._CallOutcome instance at 0x00007fcf90af2e60>
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 0x00007fcf90af2e60>
func = <bound method _MultiCall.execute of <_MultiCall 0 results, 1 meths, kwargs={'i...minal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>>
def __init__(self, func):
try:
> self.result = func()
../_pytest/vendored_packages/pluggy.py:264:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_MultiCall 0 results, 1 meths, kwargs={'item': <AppTestMethod 'test_get_terminal_size'>, '__multicall__': <_MultiCall 0 results, 1 meths, kwargs={...}>}>
def execute(self):
all_kwargs = self.kwargs
self.results = results = []
firstresult = self.specopts.get("firstresult")
while self.hook_impls:
hook_impl = self.hook_impls.pop()
args = [all_kwargs[argname] for argname in hook_impl.argnames]
if hook_impl.hookwrapper:
return _wrapped_call(hook_impl.function(*args), self.execute)
> res = hook_impl.function(*args)
../_pytest/vendored_packages/pluggy.py:596:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
item = <AppTestMethod 'test_get_terminal_size'>
def pytest_runtest_call(item):
try:
> item.runtest()
../_pytest/runner.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_terminal_size'>
def runtest(self):
target = self.obj
src = extract_docstring_if_empty_function(target.im_func)
space = target.im_self.space
if self.config.option.runappdirect:
appexec_definitions = self.parent.obj.__dict__
spaceconfig = getattr(self.parent.obj, 'spaceconfig', None)
usemodules = spaceconfig.get('usemodules') if spaceconfig else None
return run_with_python(self.config.option.python, src, usemodules,
**appexec_definitions)
filename = self._getdynfilename(target)
func = app2interp_temp(src, filename=filename)
w_instance = self.parent.w_instance
> self.execute_appex(space, func, space, w_instance)
tool/pytest/apptest.py:331:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AppTestMethod 'test_get_terminal_size'>, space = StdObjSpace
target = <function test_get_terminal_size at 0x00007fcf91558098>
args = (StdObjSpace, <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>)
def execute_appex(self, space, target, *args):
self.space = space
space.getexecutioncontext().set_sys_exc_info(None)
try:
> target(*args)
tool/pytest/apptest.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>,)
w_func = <Function test_get_terminal_size>
args = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>
def appcaller(space, *args_w):
if not isinstance(space, ObjSpace):
raise TypeError("first argument must be a space instance.")
# the last argument can be an Arguments
w_func = self.wget(space, name)
if not args_w:
return space.call_function(w_func)
else:
args = args_w[-1]
assert args is not None
if not isinstance(args, Arguments):
> return space.call_function(w_func, *args_w)
interpreter/gateway.py:1409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = StdObjSpace, w_func = <Function test_get_terminal_size>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>,)
nargs = 1, Function = <class 'pypy.interpreter.function.Function'>
_Method = <class 'pypy.interpreter.function._Method'>
def call_function(self, w_func, *args_w):
nargs = len(args_w) # used for pruning funccall versions
if not self.config.objspace.disable_call_speedhacks and nargs < 5:
# start of hack for performance
from pypy.interpreter.function import Function, _Method
if isinstance(w_func, _Method):
if nargs < 4:
func = w_func.w_function
if isinstance(func, Function):
return func.funccall(w_func.w_instance, *args_w)
if isinstance(w_func, Function):
> return w_func.funccall(*args_w)
interpreter/baseobjspace.py:1234:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Function test_get_terminal_size>
args_w = (<pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcfc31e4fa8>,)
gateway = <module 'pypy.interpreter.gateway' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.pyc'>
PyCode = <class 'pypy.interpreter.pycode.PyCode'>
code = <code object test_get_terminal_size, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1>
def funccall(self, *args_w): # speed hack
from pypy.interpreter import gateway
from pypy.interpreter.pycode import PyCode
code = self.getcode() # hook for the jit
nargs = len(args_w)
fast_natural_arity = code.fast_natural_arity
if nargs == fast_natural_arity:
if nargs == 0:
assert isinstance(code, gateway.BuiltinCode0)
return code.fastcall_0(self.space, self)
elif nargs == 1:
assert isinstance(code, gateway.BuiltinCode1)
return code.fastcall_1(self.space, self, args_w[0])
elif nargs == 2:
assert isinstance(code, gateway.BuiltinCode2)
return code.fastcall_2(self.space, self, args_w[0], args_w[1])
elif nargs == 3:
assert isinstance(code, gateway.BuiltinCode3)
return code.fastcall_3(self.space, self, args_w[0],
args_w[1], args_w[2])
elif nargs == 4:
assert isinstance(code, gateway.BuiltinCode4)
return code.fastcall_4(self.space, self, args_w[0],
args_w[1], args_w[2], args_w[3])
elif (nargs | PyCode.FLATPYCALL) == fast_natural_arity:
assert isinstance(code, PyCode)
if nargs < 5:
new_frame = self.space.createframe(code, self.w_func_globals,
self)
for i in funccallunrolling:
if i < nargs:
new_frame.locals_cells_stack_w[i] = args_w[i]
> return new_frame.run(self.name, self.qualname)
interpreter/function.py:131:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
name = 'test_get_terminal_size', qualname = 'test_get_terminal_size'
def run(self, name=None, qualname=None):
"""Start this frame's execution."""
if self._is_generator_or_coroutine():
return self.initialize_as_generator(name, qualname)
else:
> return self.execute_frame()
interpreter/pyframe.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
executioncontext)
except OperationError:
raise
except Exception as e: # general fall-back
> raise self._convert_unexpected_exception(e)
interpreter/pyframe.py:353:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
e = TypeError("unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'",)
def _convert_unexpected_exception(self, e):
from pypy.interpreter import error
> operr = error.get_converted_unexpected_exception(self.space, e)
interpreter/pyframe.py:844:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
w_arg_or_err = None
def execute_frame(self, w_arg_or_err=None):
"""Execute this frame. Main entry point to the interpreter.
'w_arg_or_err' is non-None iff we are starting or resuming
a generator or coroutine frame; in that case, w_arg_or_err
is the input argument -or- an SApplicationException instance.
"""
from pypy.interpreter import pyopcode as pyopcode
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
assert (isinstance(self, self.space.FrameClass) or
not self.space.config.translating)
executioncontext = self.space.getexecutioncontext()
executioncontext.enter(self)
got_exception = True
w_exitvalue = self.space.w_None
try:
executioncontext.call_trace(self)
#
# Execution starts just after the last_instr. Initially,
# last_instr is -1. After a generator suspends it points to
# the YIELD_VALUE/YIELD_FROM instruction.
try:
try:
if w_arg_or_err is None:
assert self.last_instr == -1
next_instr = r_uint(0)
else:
next_instr = self.resume_execute_frame(w_arg_or_err)
except pyopcode.Yield:
w_exitvalue = self.popvalue()
else:
w_exitvalue = self.dispatch(self.pycode, next_instr,
> executioncontext)
interpreter/pyframe.py:349:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
pycode = <code object test_get_terminal_size, file "[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1>
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fcfc311a6b0>
def dispatch(self, pycode, next_instr, ec):
# For the sequel, force 'next_instr' to be unsigned for performance
next_instr = r_uint(next_instr)
co_code = pycode.co_code
try:
while True:
assert next_instr & 1 == 0
> next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
co_code = '|\x00j\x00}\x01d\x01d\x02d\x03d\x04g\x04D\x00]&}\x02\t\x00|\x01j\x01|\x02\x8e\x00\\\x02}\x03}\x04n\x0e#\x00t\x02t\x03...2s)J\x00\x82\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00'
next_instr = 0L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fcfc311a6b0>
def handle_bytecode(self, co_code, next_instr, ec):
try:
> next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter/pyopcode.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
co_code = '|\x00j\x00}\x01d\x01d\x02d\x03d\x04g\x04D\x00]&}\x02\t\x00|\x01j\x01|\x02\x8e\x00\\\x02}\x03}\x04n\x0e#\x00t\x02t\x03...2s)J\x00\x82\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00\x01t\x04|\x04t\x05\x83\x02s\tJ\x00\x82\x01d\x00S\x00'
next_instr = 32L
ec = <pypy.interpreter.executioncontext.ExecutionContext object at 0x00007fcfc311a6b0>
@jit.unroll_safe
def dispatch_bytecode(self, co_code, next_instr, ec):
while True:
assert next_instr & 1 == 0
self.last_instr = intmask(next_instr)
if jit.we_are_jitted():
ec.bytecode_only_trace(self)
else:
ec.bytecode_trace(self)
next_instr = r_uint(self.last_instr)
assert next_instr & 1 == 0
opcode = ord(co_code[next_instr])
oparg = ord(co_code[next_instr + 1])
next_instr += 2
# note: the structure of the code here is such that it makes
# (after translation) a big "if/elif" chain, which is then
# turned into a switch().
while opcode == opcodedesc.EXTENDED_ARG.index:
opcode = ord(co_code[next_instr])
arg = ord(co_code[next_instr + 1])
if opcode < HAVE_ARGUMENT:
raise BytecodeCorruption
next_instr += 2
oparg = (oparg * 256) | arg
if opcode == opcodedesc.RETURN_VALUE.index:
self.frame_finished_execution = True # for generators
raise Return
elif opcode == opcodedesc.JUMP_ABSOLUTE.index:
return self.jump_absolute(oparg, next_instr, ec)
elif opcode == opcodedesc.RERAISE.index:
return self.RERAISE(oparg, next_instr)
elif opcode == opcodedesc.FOR_ITER.index:
next_instr = self.FOR_ITER(oparg, next_instr)
elif opcode == opcodedesc.JUMP_FORWARD.index:
next_instr = self.JUMP_FORWARD(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_FALSE_OR_POP.index:
return self.JUMP_IF_FALSE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.JUMP_IF_TRUE_OR_POP.index:
return self.JUMP_IF_TRUE_OR_POP(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_FALSE.index:
return self.POP_JUMP_IF_FALSE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_IF_TRUE.index:
return self.POP_JUMP_IF_TRUE(oparg, next_instr, ec)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NONE(oparg, next_instr)
elif opcode == opcodedesc.POP_JUMP_FORWARD_IF_NOT_NONE.index:
next_instr = self.POP_JUMP_FORWARD_IF_NOT_NONE(oparg, next_instr)
elif opcode == opcodedesc.JUMP_IF_NOT_EXC_MATCH.index:
next_instr = self.JUMP_IF_NOT_EXC_MATCH(oparg, next_instr)
elif opcode == opcodedesc.BINARY_ADD.index:
self.BINARY_ADD(oparg, next_instr)
elif opcode == opcodedesc.BINARY_AND.index:
self.BINARY_AND(oparg, next_instr)
elif opcode == opcodedesc.BINARY_FLOOR_DIVIDE.index:
self.BINARY_FLOOR_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MATRIX_MULTIPLY.index:
self.BINARY_MATRIX_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_LSHIFT.index:
self.BINARY_LSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MODULO.index:
self.BINARY_MODULO(oparg, next_instr)
elif opcode == opcodedesc.BINARY_MULTIPLY.index:
self.BINARY_MULTIPLY(oparg, next_instr)
elif opcode == opcodedesc.BINARY_OR.index:
self.BINARY_OR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_POWER.index:
self.BINARY_POWER(oparg, next_instr)
elif opcode == opcodedesc.BINARY_RSHIFT.index:
self.BINARY_RSHIFT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBSCR.index:
self.BINARY_SUBSCR(oparg, next_instr)
elif opcode == opcodedesc.BINARY_SUBTRACT.index:
self.BINARY_SUBTRACT(oparg, next_instr)
elif opcode == opcodedesc.BINARY_TRUE_DIVIDE.index:
self.BINARY_TRUE_DIVIDE(oparg, next_instr)
elif opcode == opcodedesc.BINARY_XOR.index:
self.BINARY_XOR(oparg, next_instr)
elif opcode == opcodedesc.BUILD_CONST_KEY_MAP.index:
self.BUILD_CONST_KEY_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST.index:
self.BUILD_LIST(oparg, next_instr)
elif opcode == opcodedesc.BUILD_LIST_FROM_ARG.index:
self.BUILD_LIST_FROM_ARG(oparg, next_instr)
elif opcode == opcodedesc.BUILD_MAP.index:
self.BUILD_MAP(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SET.index:
self.BUILD_SET(oparg, next_instr)
elif opcode == opcodedesc.BUILD_SLICE.index:
self.BUILD_SLICE(oparg, next_instr)
elif opcode == opcodedesc.BUILD_TUPLE.index:
self.BUILD_TUPLE(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION.index:
self.CALL_FUNCTION(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_KW.index:
self.CALL_FUNCTION_KW(oparg, next_instr)
elif opcode == opcodedesc.CALL_FUNCTION_EX.index:
> self.CALL_FUNCTION_EX(oparg, next_instr)
interpreter/pyopcode.py:294:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.objspace.std.frame.StdObjSpaceFrame executing <code object test_get_term...os-x86-64/build/pypy/module/posix/test/test_posix2.py:1727]", line 1> at line 5
has_kwarg = 0, next_instr = 32L
def CALL_FUNCTION_EX(self, has_kwarg, next_instr):
w_kwargs = None
if has_kwarg:
w_kwargs = self.popvalue()
w_args = self.popvalue()
w_function = self.popvalue()
args = self.argument_factory(
[], None, None, w_star=w_args, w_starstar=w_kwargs, w_function=w_function)
if self.get_is_being_profiled() and function.is_builtin_code(w_function):
w_result = self.space.call_args_and_c_profile(self, w_function,
args)
else:
> w_result = self.space.call_args(w_function, args)
interpreter/pyopcode.py:1424:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_obj = <BuiltinFunction get_terminal_size>
args = Arguments([])
def call_args(space, w_obj, args):
# two special cases for performance
if isinstance(w_obj, Function):
> return w_obj.call_args(args)
objspace/descroperation.py:192:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <BuiltinFunction get_terminal_size>, args = Arguments([])
def call_args(self, args):
# delegate activation to code
> w_res = self.getcode().funcrun(self, args)
interpreter/function.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007fcfc4780aa0>
func = <BuiltinFunction get_terminal_size>, args = Arguments([])
def funcrun(self, func, args):
> return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter/gateway.py:869:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007fcfc4780aa0>
func = <BuiltinFunction get_terminal_size>, w_obj = None, args = Arguments([])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
w_result = activation._run(space, scope_w)
except DescrMismatch:
if w_obj is not None:
args = args.prepend(w_obj)
return self._type_unwrap_mismatch(space, args)
except Exception as e:
> self.handle_exception(space, e)
interpreter/gateway.py:884:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007fcfc4780aa0>
space = StdObjSpace
e = TypeError("unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'",)
def handle_exception(self, space, e):
try:
if not we_are_translated():
raise
raise e
except OperationError:
raise
except Exception as e: # general fall-back
from pypy.interpreter import error
> raise error.get_converted_unexpected_exception(space, e)
interpreter/gateway.py:908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinCode1 object at 0x00007fcfc4780aa0>
func = <BuiltinFunction get_terminal_size>, w_obj = None, args = Arguments([])
def funcrun_obj(self, func, w_obj, args):
space = func.space
activation = self.activation
scope_w = args.parse_obj(w_obj, func.qualname, self.sig,
func.defs_w, func.w_kw_defs, self.minargs)
try:
> w_result = activation._run(space, scope_w)
interpreter/gateway.py:878:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypy.interpreter.gateway.BuiltinActivation_UwS_ObjSpace_W_Root object at 0x00007fcfc4780b80>
space = StdObjSpace, scope_w = [None]
def _run(self, space, scope_w):
> return self.behavior(space, scope_w[0])
<368-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = None
def get_terminal_size(space, w_fd=None):
try:
> w_columns, w_lines = _get_terminal_size(space, w_fd)
module/posix/interp_posix.py:2901:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
space = StdObjSpace, w_fd = None
def _get_terminal_size(space, w_fd=None):
if w_fd is None:
fd = rfile.RFile(rfile.c_stdout(), close2=(None, None)).fileno()
else:
if not space.isinstance_w(w_fd, space.w_int):
raise oefmt(space.w_TypeError,
"an integer is required, got %T", w_fd)
else:
fd = space.c_int_w(w_fd)
if _WIN32:
if fd == 0:
handle_id = rwin32.STD_INPUT_HANDLE
elif fd == 1:
handle_id = rwin32.STD_OUTPUT_HANDLE
elif fd == 2:
handle_id = rwin32.STD_ERROR_HANDLE
else:
raise oefmt(space.w_ValueError, "bad file descriptor")
handle = rwin32.GetStdHandle(handle_id)
if handle == rwin32.NULL_HANDLE:
raise oefmt(space.w_OSError, "handle cannot be retrieved")
elif handle == rwin32.INVALID_HANDLE_VALUE:
raise rwin32.lastSavedWindowsError()
with lltype.scoped_alloc(rwin32.CONSOLE_SCREEN_BUFFER_INFO) as buffer_info:
success = rwin32.GetConsoleScreenBufferInfo(handle, buffer_info)
if not success:
raise rwin32.lastSavedWindowsError()
w_columns = space.newint(r_int(buffer_info.c_srWindow.c_Right) - r_int(buffer_info.c_srWindow.c_Left) + 1)
w_lines = space.newint(r_int(buffer_info.c_srWindow.c_Bottom) - r_int(buffer_info.c_srWindow.c_Top) + 1)
else:
with lltype.scoped_alloc(rposix.WINSIZE) as winsize:
> failed = rposix.c_ioctl_voidp(fd, rposix.TIOCGWINSZ, winsize)
module/posix/interp_posix.py:2891:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (1, 1074295912, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
real_args = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
to_free = (), i = 2
def wrapper(*args):
assert len(args) == nb_args
real_args = ()
# XXX 'to_free' leaks if an allocation fails with MemoryError
# and was not the first in this function
to_free = ()
for i, TARGET in unrolling_arg_tps:
arg = args[i]
if TARGET == CCHARP or TARGET is VOIDP:
if arg is None:
from rpython.rtyper.annlowlevel import llstr
arg = lltype.nullptr(CCHARP.TO) # None => (char*)NULL
to_free = to_free + (arg, llstr(None), '\x04')
elif isinstance(arg, str):
tup = get_nonmovingbuffer_ll_final_null(arg)
to_free = to_free + tup
arg = tup[0]
elif isinstance(arg, unicode):
_oops()
elif TARGET == CWCHARP:
if arg is None:
arg = lltype.nullptr(CWCHARP.TO) # None => (wchar_t*)NULL
to_free = to_free + (arg,)
elif isinstance(arg, unicode):
arg = unicode2wcharp(arg)
to_free = to_free + (arg,)
elif _isfunctype(TARGET) and not _isllptr(arg):
# XXX pass additional arguments
use_gil = invoke_around_handlers
arg = llhelper(TARGET, _make_wrapper_for(TARGET, arg,
callbackholder,
use_gil))
else:
SOURCE = lltype.typeOf(arg)
if SOURCE != TARGET:
if TARGET is lltype.Float:
arg = float(arg)
elif ((isinstance(SOURCE, lltype.Number)
or SOURCE is lltype.Bool)
and (isinstance(TARGET, lltype.Number)
or TARGET is lltype.Bool)):
arg = cast(TARGET, arg)
real_args = real_args + (arg,)
> res = call_external_function(*real_args)
../rpython/rtyper/lltypesystem/rffi.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
a0 = 1L, a1 = 1074295912L
a2 = <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>
def call_external_function(a0, a1, a2):
rgil.release()
# NB. it is essential that no exception checking occurs here!
if 1:
from rpython.rlib import rposix
rposix._errno_before(1)
if we_are_translated():
res = funcptr(a0, a1, a2)
else:
try: # only when non-translated
> res = funcptr(a0, a1, a2)
<59-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py:217>:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <* fn ioctl>
args = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
rffi = <module 'rpython.rtyper.lltypesystem.rffi' from '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.pyc'>
i = 2
a = <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>
def __call__(self, *args):
from rpython.rtyper.lltypesystem import rffi
if isinstance(self._T, FuncType):
if len(args) != len(self._T.ARGS):
raise TypeError("calling %r with wrong argument number: %r" %
(self._T, args))
for i, a, ARG in zip(range(len(self._T.ARGS)), args, self._T.ARGS):
if typeOf(a) != ARG:
# ARG could be Void
if ARG == Void:
try:
value = getattr(self._obj, '_void' + str(i))
except AttributeError:
pass
else:
assert a == value
# None is acceptable for any pointer
elif isinstance(ARG, Ptr) and a is None:
pass
# Any pointer is convertible to void*
elif ARG is rffi.VOIDP and isinstance(typeOf(a), Ptr):
pass
# special case: ARG can be a container type, in which
# case a should be a pointer to it. This must also be
# special-cased in the backends.
elif (isinstance(ARG, ContainerType) and
typeOf(a) == Ptr(ARG)):
pass
else:
args_repr = [typeOf(arg) for arg in args]
raise TypeError("calling %r with wrong argument "
"types: %r" % (self._T, args_repr))
callb = self._obj._callable
if callb is None:
raise RuntimeError("calling undefined function")
> return callb(*args)
../rpython/rtyper/lltypesystem/lltype.py:1384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rtyper.lltypesystem.ll2ctypes.LL2CtypesCallable object at 0x00007fcfc1c3a870>
argvalues = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
cfunc = <ctypes._FuncPtr object at 0x00007fcf91d9b628>
def __call__(self, *argvalues):
with rlock:
if self.trampoline is None:
# lazily build the corresponding ctypes function object
cfunc = get_ctypes_callable(self.funcptr, self.calling_conv,
self.natural_arity)
self.trampoline = get_ctypes_trampoline(self.FUNCTYPE, cfunc, self.natural_arity)
# perform the call
> return self.trampoline(*argvalues)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
argvalues = (1L, 1074295912L, <* DEAD Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }>)
cargs = [1L, 1074295912L], i = 2
cvalue = <_ctypes.pointer.LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel } object at 0x00007fcf91d9b568>
def invoke_via_ctypes(*argvalues):
global _callback_exc_info
cargs = []
for i in range(len(argvalues)):
if i not in void_arguments:
cvalue = lltype2ctypes(argvalues[i])
if i in container_arguments:
cvalue = cvalue.contents
if natural_arity > 0 and i >= natural_arity:
> cvalue = cfunc.extraargs[i - natural_arity](cvalue)
../rpython/rtyper/lltypesystem/ll2ctypes.py:1370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = c_void_p(None)
value = <_ctypes.pointer.LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel } object at 0x00007fcf91d9b568>
def __init__(self, value=DEFAULT_VALUE):
if not hasattr(self, '_buffer'):
self._buffer = self._ffiarray(1, autofree=True)
if value is not DEFAULT_VALUE:
> self.value = value
../../../../oss/pypy-x86_64-buildbot/lib_pypy/_ctypes/primitive.py:424:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = c_void_p(None)
value = <_ctypes.pointer.LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel } object at 0x00007fcf91d9b568>
def _setvalue(self, value):
if isinstance(value, str):
array = _rawffi.Array('c')(len(value)+1, value)
self._objects = CArgObject(value, array)
value = array.buffer
elif value is None:
value = 0
> self._buffer[0] = value
E TypeError: unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'
../../../../oss/pypy-x86_64-buildbot/lib_pypy/_ctypes/primitive.py:253: TypeError
________________________ AppTestScandir.test_fdopendir _________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcf935e3600>
def test_fdopendir(self):
posix = self.posix
import stat
if 'HAVE_FDOPENDIR' in posix._have_functions:
raises(OSError, posix.scandir, 1234)
# do like shutil._rmtree_safe_fd
topfd = posix.open(self.dir2, posix.O_RDONLY)
try:
with posix.scandir(topfd) as scandir_it:
entries = list(scandir_it)
assert len(entries) > 0
entry = entries[0]
> stat_val = entry.stat(follow_symlinks=False)
E (application-level) FileNotFoundError: [Errno 2] No such file or directory: 'ubdir2'
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/posix/test/test_scandir.py:173]:13: FileNotFoundError
=========================== short test summary info ============================
FAIL module/posix/test/apptest_posix.py::test_all_pathconf_defined
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_fdlistdir
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_darwin_constants
FAIL module/posix/test/test_posix2.py::AppTestPosix::()::test_get_terminal_size
FAIL module/posix/test/test_scandir.py::AppTestScandir::()::test_fdopendir
============== 5 failed, 144 passed, 15 skipped in 101.05 seconds ==============
++ 06:44:36 starting module/signal/test [157 started in total]
__ module/pypyjit/test [155 done in total, somefailed=False] __________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
module/pypyjit/test/test_jit_hook.py ........s
module/pypyjit/test/test_jit_not_in_trace.py ..
module/pypyjit/test/test_jit_setup.py ....
module/pypyjit/test/test_policy.py ............
module/pypyjit/test/test_pyframe.py .
module/pypyjit/test/test_ztranslation.py .
==================== 28 passed, 1 skipped in 56.69 seconds =====================
++ 06:44:54 starting module/struct/test [158 started in total]
__ module/struct/test [156 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
module/struct/test/apptest_struct.py .......................................
module/struct/test/apptest_structbuffer.py ..
module/struct/test/test_struct.py .......
module/struct/test/test_ztranslation.py .
========================== 49 passed in 53.95 seconds ==========================
++ 06:45:53 starting module/sys/test [159 started in total]
__ module/select/test [157 done in total, somefailed=True] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 46 items
module/select/test/test_epoll.py ssssssssss
module/select/test/test_kqueue.py .FFF.F
module/select/test/test_select.py ............F...............
module/select/test/test_select_signal.py .
module/select/test/test_ztranslation.py .
=================================== FAILURES ===================================
_______________________ AppTestKqueue.test_create_event ________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fc1c2d8f7f8>
def test_create_event(self):
import select
import sys
from operator import lt, le, gt, ge
fd = sys.stderr.fileno()
ev = select.kevent(fd)
other = select.kevent(1000)
assert ev.ident == fd
assert ev.filter == select.KQ_FILTER_READ
assert ev.flags == select.KQ_EV_ADD
assert ev.fflags == 0
assert ev.data == 0
assert ev.udata == 0
assert ev == ev
assert ev != other
assert ev < other
assert other >= ev
> assert cmp(ev, None) != 0
E (application-level) NameError: name 'cmp' is not defined
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/select/test/test_kqueue.py:24]:19: NameError
________________________ AppTestKqueue.test_queue_event ________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fc1c2d8f7f8>
def test_queue_event(self):
import errno
import select
> import socket
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/select/test/test_kqueue.py:90]:4:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Wrapper module for _socket, providing some additional facilities
# implemented in Python.
"""\
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
IntEnum constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Integer constants:
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
"""
import _socket
from _socket import *
import os, sys, io, selectors
from enum import IntEnum, IntFlag
try:
import errno
except ImportError:
errno = None
EBADF = getattr(errno, 'EBADF', 9)
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
__all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
"has_dualstack_ipv6", "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
# nicer string representations.
# Note that _socket only knows about the integer values. The public interface
# in this module understands the enums and translates them back from integers
# where needed (e.g. .family property of a socket object).
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
IntEnum._convert_(
'SocketKind',
__name__,
lambda C: C.isupper() and C.startswith('SOCK_'))
IntFlag._convert_(
'MsgFlag',
__name__,
lambda C: C.isupper() and C.startswith('MSG_'))
IntFlag._convert_(
'AddressInfo',
__name__,
lambda C: C.isupper() and C.startswith('AI_'))
_LOCALHOST = '127.0.0.1'
_LOCALHOST_V6 = '::1'
def _intenum_converter(value, enum_klass):
"""Convert a numeric family value to an IntEnum member.
If it's not a known member, return the numeric value itself.
"""
try:
return enum_klass(value)
except ValueError:
return value
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
errorTab[6] = "Specified event object handle is invalid."
errorTab[8] = "Insufficient memory available."
errorTab[87] = "One or more parameters are invalid."
errorTab[995] = "Overlapped operation aborted."
errorTab[996] = "Overlapped I/O event object not in signaled state."
errorTab[997] = "Overlapped operation will complete later."
errorTab[10004] = "The operation was interrupted."
errorTab[10009] = "A bad file handle was passed."
errorTab[10013] = "Permission denied."
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."
errorTab[10039] = "Destination address required."
errorTab[10040] = "Message too long."
errorTab[10041] = "Protocol wrong type for socket."
errorTab[10042] = "Bad protocol option."
errorTab[10043] = "Protocol not supported."
errorTab[10044] = "Socket type not supported."
errorTab[10045] = "Operation not supported."
errorTab[10046] = "Protocol family not supported."
errorTab[10047] = "Address family not supported by protocol family."
errorTab[10048] = "The network address is in use."
errorTab[10049] = "Cannot assign requested address."
errorTab[10050] = "Network is down."
errorTab[10051] = "Network is unreachable."
errorTab[10052] = "Network dropped connection on reset."
errorTab[10053] = "Software caused connection abort."
errorTab[10054] = "The connection has been reset."
errorTab[10055] = "No buffer space available."
errorTab[10056] = "Socket is already connected."
errorTab[10057] = "Socket is not connected."
errorTab[10058] = "The network has been shut down."
errorTab[10059] = "Too many references."
errorTab[10060] = "The operation timed out."
errorTab[10061] = "Connection refused."
errorTab[10062] = "Cannot translate name."
errorTab[10063] = "The name is too long."
errorTab[10064] = "The host is down."
errorTab[10065] = "The host is unreachable."
errorTab[10066] = "Directory not empty."
errorTab[10067] = "Too many processes."
errorTab[10068] = "User quota exceeded."
errorTab[10069] = "Disk quota exceeded."
errorTab[10070] = "Stale file handle reference."
errorTab[10071] = "Item is remote."
errorTab[10091] = "Network subsystem is unavailable."
errorTab[10092] = "Winsock.dll version out of range."
errorTab[10093] = "Successful WSAStartup not yet performed."
errorTab[10101] = "Graceful shutdown in progress."
errorTab[10102] = "No more results from WSALookupServiceNext."
errorTab[10103] = "Call has been canceled."
errorTab[10104] = "Procedure call table is invalid."
errorTab[10105] = "Service provider is invalid."
errorTab[10106] = "Service provider failed to initialize."
errorTab[10107] = "System call failure."
errorTab[10108] = "Service not found."
errorTab[10109] = "Class type not found."
errorTab[10110] = "No more results from WSALookupServiceNext."
errorTab[10111] = "Call was canceled."
errorTab[10112] = "Database query was refused."
errorTab[11001] = "Host not found."
errorTab[11002] = "Nonauthoritative host not found."
errorTab[11003] = "This is a nonrecoverable error."
errorTab[11004] = "Valid name, no data record requested type."
errorTab[11005] = "QoS receivers."
errorTab[11006] = "QoS senders."
errorTab[11007] = "No QoS senders."
errorTab[11008] = "QoS no receivers."
errorTab[11009] = "QoS request confirmed."
errorTab[11010] = "QoS admission error."
errorTab[11011] = "QoS policy failure."
errorTab[11012] = "QoS bad style."
errorTab[11013] = "QoS bad object."
errorTab[11014] = "QoS traffic control error."
errorTab[11015] = "QoS generic error."
errorTab[11016] = "QoS service type error."
errorTab[11017] = "QoS flowspec error."
errorTab[11018] = "Invalid QoS provider buffer."
errorTab[11019] = "Invalid QoS filter style."
errorTab[11020] = "Invalid QoS filter style."
errorTab[11021] = "Incorrect QoS filter count."
errorTab[11022] = "Invalid QoS object length."
errorTab[11023] = "Incorrect QoS flow count."
errorTab[11024] = "Unrecognized QoS object."
errorTab[11025] = "Invalid QoS policy object."
errorTab[11026] = "Invalid QoS flow descriptor."
errorTab[11027] = "Invalid QoS provider-specific flowspec."
errorTab[11028] = "Invalid QoS provider-specific filterspec."
errorTab[11029] = "Invalid QoS shape discard mode object."
errorTab[11030] = "Invalid QoS shaping rate object."
errorTab[11031] = "Reserved policy QoS element type."
__all__.append("errorTab")
class _GiveupOnSendfile(Exception): pass
class socket(_socket.socket):
"""A subclass of _socket.socket adding the makefile() method."""
__slots__ = ["__weakref__", "_io_refs", "_closed"]
def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
# For user code address family and type values are IntEnum members, but
# for the underlying _socket.socket they're just integers. The
# constructor of _socket.socket converts the given argument to an
# integer automatically.
if fileno is None:
if family == -1:
family = AF_INET
if type == -1:
type = SOCK_STREAM
if proto == -1:
proto = 0
_socket.socket.__init__(self, family, type, proto, fileno)
self._io_refs = 0
self._closed = False
def __enter__(self):
return self
def __exit__(self, *args):
if not self._closed:
self.close()
def __repr__(self):
"""Wrap __repr__() to reveal the real class name and socket
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__qualname__,
" [closed]" if closed else "",
self.fileno(),
self.family,
self.type,
self.proto)
if not closed:
# getsockname and getpeername may not be available on WASI.
try:
laddr = self.getsockname()
if laddr:
s += ", laddr=%s" % str(laddr)
except (error, AttributeError):
pass
try:
raddr = self.getpeername()
if raddr:
s += ", raddr=%s" % str(raddr)
except (error, AttributeError):
pass
s += '>'
return s
def __getstate__(self):
raise TypeError(f"cannot pickle {self.__class__.__name__!r} object")
def dup(self):
"""dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
"""
fd = dup(self.fileno())
sock = self.__class__(self.family, self.type, self.proto, fileno=fd)
sock.settimeout(self.gettimeout())
return sock
def accept(self):
"""accept() -> (socket object, address info)
Wait for an incoming connection. Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
"""
fd, addr = self._accept()
sock = socket(self.family, self.type, self.proto, fileno=fd)
# Issue #7995: if no default timeout is set and the listening
# socket had a (non-zero) timeout, force the new socket in blocking
# mode to override platform-specific socket flags inheritance.
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True)
return sock, addr
def makefile(self, mode="r", buffering=None, *,
encoding=None, errors=None, newline=None):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w' and 'b'.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}:
raise ValueError("invalid mode %r (only r, w, b allowed)" % (mode,))
writing = "w" in mode
reading = "r" in mode or not writing
assert reading or writing
binary = "b" in mode
rawmode = ""
if reading:
rawmode += "r"
if writing:
rawmode += "w"
raw = SocketIO(self, rawmode)
self._io_refs += 1
if buffering is None:
buffering = -1
if buffering < 0:
buffering = io.DEFAULT_BUFFER_SIZE
if buffering == 0:
if not binary:
raise ValueError("unbuffered streams must be binary")
return raw
if reading and writing:
buffer = io.BufferedRWPair(raw, raw, buffering)
elif reading:
buffer = io.BufferedReader(raw, buffering)
else:
assert writing
buffer = io.BufferedWriter(raw, buffering)
if binary:
return buffer
encoding = io.text_encoding(encoding)
text = io.TextIOWrapper(buffer, encoding, errors, newline)
text.mode = mode
return text
if hasattr(os, 'sendfile'):
def _sendfile_use_sendfile(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
sockno = self.fileno()
try:
fileno = file.fileno()
except (AttributeError, io.UnsupportedOperation) as err:
raise _GiveupOnSendfile(err) # not a regular file
try:
fsize = os.fstat(fileno).st_size
except OSError as err:
raise _GiveupOnSendfile(err) # not a regular file
if not fsize:
return 0 # empty file
# Truncate to 1GiB to avoid OverflowError, see bpo-38319.
blocksize = min(count or fsize, 2 ** 30)
timeout = self.gettimeout()
if timeout == 0:
raise ValueError("non-blocking sockets are not supported")
# poll/select have the advantage of not requiring any
# extra file descriptor, contrarily to epoll/kqueue
# (also, they require a single syscall).
if hasattr(selectors, 'PollSelector'):
selector = selectors.PollSelector()
else:
selector = selectors.SelectSelector()
selector.register(sockno, selectors.EVENT_WRITE)
total_sent = 0
# localize variable access to minimize overhead
selector_select = selector.select
os_sendfile = os.sendfile
try:
while True:
if timeout and not selector_select(timeout):
raise TimeoutError('timed out')
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
try:
sent = os_sendfile(sockno, fileno, offset, blocksize)
except BlockingIOError:
if not timeout:
# Block until the socket is ready to send some
# data; avoids hogging CPU resources.
selector_select()
continue
except OSError as err:
if total_sent == 0:
# We can get here for different reasons, the main
# one being 'file' is not a regular mmap(2)-like
# file, in which case we'll fall back on using
# plain send().
raise _GiveupOnSendfile(err)
raise err from None
else:
if sent == 0:
break # EOF
offset += sent
total_sent += sent
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset)
else:
def _sendfile_use_sendfile(self, file, offset=0, count=None):
raise _GiveupOnSendfile(
"os.sendfile() not available on this platform")
def _sendfile_use_send(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
if self.gettimeout() == 0:
raise ValueError("non-blocking sockets are not supported")
if offset:
file.seek(offset)
blocksize = min(count, 8192) if count else 8192
total_sent = 0
# localize variable access to minimize overhead
file_read = file.read
sock_send = self.send
try:
while True:
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
data = memoryview(file_read(blocksize))
if not data:
break # EOF
while True:
try:
sent = sock_send(data)
except BlockingIOError:
continue
else:
total_sent += sent
if sent < len(data):
data = data[sent:]
else:
break
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset + total_sent)
def _check_sendfile_params(self, file, offset, count):
if 'b' not in getattr(file, 'mode', 'b'):
raise ValueError("file should be opened in binary mode")
if not self.type & SOCK_STREAM:
raise ValueError("only SOCK_STREAM type sockets are supported")
if count is not None:
if not isinstance(count, int):
raise TypeError(
"count must be a positive integer (got {!r})".format(count))
if count <= 0:
raise ValueError(
"count must be a positive integer (got {!r})".format(count))
def sendfile(self, file, offset=0, count=None):
"""sendfile(file[, offset[, count]]) -> sent
Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
"""
try:
return self._sendfile_use_sendfile(file, offset, count)
except _GiveupOnSendfile:
return self._sendfile_use_send(file, offset, count)
def _decref_socketios(self):
if self._io_refs > 0:
self._io_refs -= 1
if self._closed:
self.close()
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
_ss.close(self)
def close(self):
# This function should not reference any globals. See issue #808164.
self._closed = True
if self._io_refs <= 0:
self._real_close()
def detach(self):
"""detach() -> file descriptor
Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes. The file descriptor is returned.
"""
self._closed = True
return super().detach()
@property
def family(self):
"""Read-only access to the address family for this socket.
"""
return _intenum_converter(super().family, AddressFamily)
@property
def type(self):
"""Read-only access to the socket type.
"""
return _intenum_converter(super().type, SocketKind)
if os.name == 'nt':
def get_inheritable(self):
return os.get_handle_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_handle_inheritable(self.fileno(), inheritable)
else:
def get_inheritable(self):
return os.get_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_inheritable(self.fileno(), inheritable)
get_inheritable.__doc__ = "Get the inheritable flag of the socket"
set_inheritable.__doc__ = "Set the inheritable flag of the socket"
def fromfd(fd, family, type, proto=0):
""" fromfd(fd, family, type[, proto]) -> socket object
Create a socket object from a duplicate of the given file
descriptor. The remaining arguments are the same as for socket().
"""
nfd = dup(fd)
return socket(family, type, proto, nfd)
if hasattr(_socket.socket, "sendmsg"):
> import array
E (application-level) ModuleNotFoundError: No module named 'array'
../lib-python/3/socket.py:550: ModuleNotFoundError
___________________________ AppTestKqueue.test_pair ____________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fc1c2d8f7f8>
def test_pair(self):
import select
> import socket
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/select/test/test_kqueue.py:175]:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Wrapper module for _socket, providing some additional facilities
# implemented in Python.
"""\
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
IntEnum constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Integer constants:
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
"""
import _socket
from _socket import *
import os, sys, io, selectors
from enum import IntEnum, IntFlag
try:
import errno
except ImportError:
errno = None
EBADF = getattr(errno, 'EBADF', 9)
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
__all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
"has_dualstack_ipv6", "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
# nicer string representations.
# Note that _socket only knows about the integer values. The public interface
# in this module understands the enums and translates them back from integers
# where needed (e.g. .family property of a socket object).
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
IntEnum._convert_(
'SocketKind',
__name__,
lambda C: C.isupper() and C.startswith('SOCK_'))
IntFlag._convert_(
'MsgFlag',
__name__,
lambda C: C.isupper() and C.startswith('MSG_'))
IntFlag._convert_(
'AddressInfo',
__name__,
lambda C: C.isupper() and C.startswith('AI_'))
_LOCALHOST = '127.0.0.1'
_LOCALHOST_V6 = '::1'
def _intenum_converter(value, enum_klass):
"""Convert a numeric family value to an IntEnum member.
If it's not a known member, return the numeric value itself.
"""
try:
return enum_klass(value)
except ValueError:
return value
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
errorTab[6] = "Specified event object handle is invalid."
errorTab[8] = "Insufficient memory available."
errorTab[87] = "One or more parameters are invalid."
errorTab[995] = "Overlapped operation aborted."
errorTab[996] = "Overlapped I/O event object not in signaled state."
errorTab[997] = "Overlapped operation will complete later."
errorTab[10004] = "The operation was interrupted."
errorTab[10009] = "A bad file handle was passed."
errorTab[10013] = "Permission denied."
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."
errorTab[10039] = "Destination address required."
errorTab[10040] = "Message too long."
errorTab[10041] = "Protocol wrong type for socket."
errorTab[10042] = "Bad protocol option."
errorTab[10043] = "Protocol not supported."
errorTab[10044] = "Socket type not supported."
errorTab[10045] = "Operation not supported."
errorTab[10046] = "Protocol family not supported."
errorTab[10047] = "Address family not supported by protocol family."
errorTab[10048] = "The network address is in use."
errorTab[10049] = "Cannot assign requested address."
errorTab[10050] = "Network is down."
errorTab[10051] = "Network is unreachable."
errorTab[10052] = "Network dropped connection on reset."
errorTab[10053] = "Software caused connection abort."
errorTab[10054] = "The connection has been reset."
errorTab[10055] = "No buffer space available."
errorTab[10056] = "Socket is already connected."
errorTab[10057] = "Socket is not connected."
errorTab[10058] = "The network has been shut down."
errorTab[10059] = "Too many references."
errorTab[10060] = "The operation timed out."
errorTab[10061] = "Connection refused."
errorTab[10062] = "Cannot translate name."
errorTab[10063] = "The name is too long."
errorTab[10064] = "The host is down."
errorTab[10065] = "The host is unreachable."
errorTab[10066] = "Directory not empty."
errorTab[10067] = "Too many processes."
errorTab[10068] = "User quota exceeded."
errorTab[10069] = "Disk quota exceeded."
errorTab[10070] = "Stale file handle reference."
errorTab[10071] = "Item is remote."
errorTab[10091] = "Network subsystem is unavailable."
errorTab[10092] = "Winsock.dll version out of range."
errorTab[10093] = "Successful WSAStartup not yet performed."
errorTab[10101] = "Graceful shutdown in progress."
errorTab[10102] = "No more results from WSALookupServiceNext."
errorTab[10103] = "Call has been canceled."
errorTab[10104] = "Procedure call table is invalid."
errorTab[10105] = "Service provider is invalid."
errorTab[10106] = "Service provider failed to initialize."
errorTab[10107] = "System call failure."
errorTab[10108] = "Service not found."
errorTab[10109] = "Class type not found."
errorTab[10110] = "No more results from WSALookupServiceNext."
errorTab[10111] = "Call was canceled."
errorTab[10112] = "Database query was refused."
errorTab[11001] = "Host not found."
errorTab[11002] = "Nonauthoritative host not found."
errorTab[11003] = "This is a nonrecoverable error."
errorTab[11004] = "Valid name, no data record requested type."
errorTab[11005] = "QoS receivers."
errorTab[11006] = "QoS senders."
errorTab[11007] = "No QoS senders."
errorTab[11008] = "QoS no receivers."
errorTab[11009] = "QoS request confirmed."
errorTab[11010] = "QoS admission error."
errorTab[11011] = "QoS policy failure."
errorTab[11012] = "QoS bad style."
errorTab[11013] = "QoS bad object."
errorTab[11014] = "QoS traffic control error."
errorTab[11015] = "QoS generic error."
errorTab[11016] = "QoS service type error."
errorTab[11017] = "QoS flowspec error."
errorTab[11018] = "Invalid QoS provider buffer."
errorTab[11019] = "Invalid QoS filter style."
errorTab[11020] = "Invalid QoS filter style."
errorTab[11021] = "Incorrect QoS filter count."
errorTab[11022] = "Invalid QoS object length."
errorTab[11023] = "Incorrect QoS flow count."
errorTab[11024] = "Unrecognized QoS object."
errorTab[11025] = "Invalid QoS policy object."
errorTab[11026] = "Invalid QoS flow descriptor."
errorTab[11027] = "Invalid QoS provider-specific flowspec."
errorTab[11028] = "Invalid QoS provider-specific filterspec."
errorTab[11029] = "Invalid QoS shape discard mode object."
errorTab[11030] = "Invalid QoS shaping rate object."
errorTab[11031] = "Reserved policy QoS element type."
__all__.append("errorTab")
class _GiveupOnSendfile(Exception): pass
class socket(_socket.socket):
"""A subclass of _socket.socket adding the makefile() method."""
__slots__ = ["__weakref__", "_io_refs", "_closed"]
def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
# For user code address family and type values are IntEnum members, but
# for the underlying _socket.socket they're just integers. The
# constructor of _socket.socket converts the given argument to an
# integer automatically.
if fileno is None:
if family == -1:
family = AF_INET
if type == -1:
type = SOCK_STREAM
if proto == -1:
proto = 0
_socket.socket.__init__(self, family, type, proto, fileno)
self._io_refs = 0
self._closed = False
def __enter__(self):
return self
def __exit__(self, *args):
if not self._closed:
self.close()
def __repr__(self):
"""Wrap __repr__() to reveal the real class name and socket
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__qualname__,
" [closed]" if closed else "",
self.fileno(),
self.family,
self.type,
self.proto)
if not closed:
# getsockname and getpeername may not be available on WASI.
try:
laddr = self.getsockname()
if laddr:
s += ", laddr=%s" % str(laddr)
except (error, AttributeError):
pass
try:
raddr = self.getpeername()
if raddr:
s += ", raddr=%s" % str(raddr)
except (error, AttributeError):
pass
s += '>'
return s
def __getstate__(self):
raise TypeError(f"cannot pickle {self.__class__.__name__!r} object")
def dup(self):
"""dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
"""
fd = dup(self.fileno())
sock = self.__class__(self.family, self.type, self.proto, fileno=fd)
sock.settimeout(self.gettimeout())
return sock
def accept(self):
"""accept() -> (socket object, address info)
Wait for an incoming connection. Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
"""
fd, addr = self._accept()
sock = socket(self.family, self.type, self.proto, fileno=fd)
# Issue #7995: if no default timeout is set and the listening
# socket had a (non-zero) timeout, force the new socket in blocking
# mode to override platform-specific socket flags inheritance.
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True)
return sock, addr
def makefile(self, mode="r", buffering=None, *,
encoding=None, errors=None, newline=None):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w' and 'b'.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}:
raise ValueError("invalid mode %r (only r, w, b allowed)" % (mode,))
writing = "w" in mode
reading = "r" in mode or not writing
assert reading or writing
binary = "b" in mode
rawmode = ""
if reading:
rawmode += "r"
if writing:
rawmode += "w"
raw = SocketIO(self, rawmode)
self._io_refs += 1
if buffering is None:
buffering = -1
if buffering < 0:
buffering = io.DEFAULT_BUFFER_SIZE
if buffering == 0:
if not binary:
raise ValueError("unbuffered streams must be binary")
return raw
if reading and writing:
buffer = io.BufferedRWPair(raw, raw, buffering)
elif reading:
buffer = io.BufferedReader(raw, buffering)
else:
assert writing
buffer = io.BufferedWriter(raw, buffering)
if binary:
return buffer
encoding = io.text_encoding(encoding)
text = io.TextIOWrapper(buffer, encoding, errors, newline)
text.mode = mode
return text
if hasattr(os, 'sendfile'):
def _sendfile_use_sendfile(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
sockno = self.fileno()
try:
fileno = file.fileno()
except (AttributeError, io.UnsupportedOperation) as err:
raise _GiveupOnSendfile(err) # not a regular file
try:
fsize = os.fstat(fileno).st_size
except OSError as err:
raise _GiveupOnSendfile(err) # not a regular file
if not fsize:
return 0 # empty file
# Truncate to 1GiB to avoid OverflowError, see bpo-38319.
blocksize = min(count or fsize, 2 ** 30)
timeout = self.gettimeout()
if timeout == 0:
raise ValueError("non-blocking sockets are not supported")
# poll/select have the advantage of not requiring any
# extra file descriptor, contrarily to epoll/kqueue
# (also, they require a single syscall).
if hasattr(selectors, 'PollSelector'):
selector = selectors.PollSelector()
else:
selector = selectors.SelectSelector()
selector.register(sockno, selectors.EVENT_WRITE)
total_sent = 0
# localize variable access to minimize overhead
selector_select = selector.select
os_sendfile = os.sendfile
try:
while True:
if timeout and not selector_select(timeout):
raise TimeoutError('timed out')
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
try:
sent = os_sendfile(sockno, fileno, offset, blocksize)
except BlockingIOError:
if not timeout:
# Block until the socket is ready to send some
# data; avoids hogging CPU resources.
selector_select()
continue
except OSError as err:
if total_sent == 0:
# We can get here for different reasons, the main
# one being 'file' is not a regular mmap(2)-like
# file, in which case we'll fall back on using
# plain send().
raise _GiveupOnSendfile(err)
raise err from None
else:
if sent == 0:
break # EOF
offset += sent
total_sent += sent
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset)
else:
def _sendfile_use_sendfile(self, file, offset=0, count=None):
raise _GiveupOnSendfile(
"os.sendfile() not available on this platform")
def _sendfile_use_send(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
if self.gettimeout() == 0:
raise ValueError("non-blocking sockets are not supported")
if offset:
file.seek(offset)
blocksize = min(count, 8192) if count else 8192
total_sent = 0
# localize variable access to minimize overhead
file_read = file.read
sock_send = self.send
try:
while True:
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
data = memoryview(file_read(blocksize))
if not data:
break # EOF
while True:
try:
sent = sock_send(data)
except BlockingIOError:
continue
else:
total_sent += sent
if sent < len(data):
data = data[sent:]
else:
break
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset + total_sent)
def _check_sendfile_params(self, file, offset, count):
if 'b' not in getattr(file, 'mode', 'b'):
raise ValueError("file should be opened in binary mode")
if not self.type & SOCK_STREAM:
raise ValueError("only SOCK_STREAM type sockets are supported")
if count is not None:
if not isinstance(count, int):
raise TypeError(
"count must be a positive integer (got {!r})".format(count))
if count <= 0:
raise ValueError(
"count must be a positive integer (got {!r})".format(count))
def sendfile(self, file, offset=0, count=None):
"""sendfile(file[, offset[, count]]) -> sent
Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
"""
try:
return self._sendfile_use_sendfile(file, offset, count)
except _GiveupOnSendfile:
return self._sendfile_use_send(file, offset, count)
def _decref_socketios(self):
if self._io_refs > 0:
self._io_refs -= 1
if self._closed:
self.close()
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
_ss.close(self)
def close(self):
# This function should not reference any globals. See issue #808164.
self._closed = True
if self._io_refs <= 0:
self._real_close()
def detach(self):
"""detach() -> file descriptor
Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes. The file descriptor is returned.
"""
self._closed = True
return super().detach()
@property
def family(self):
"""Read-only access to the address family for this socket.
"""
return _intenum_converter(super().family, AddressFamily)
@property
def type(self):
"""Read-only access to the socket type.
"""
return _intenum_converter(super().type, SocketKind)
if os.name == 'nt':
def get_inheritable(self):
return os.get_handle_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_handle_inheritable(self.fileno(), inheritable)
else:
def get_inheritable(self):
return os.get_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_inheritable(self.fileno(), inheritable)
get_inheritable.__doc__ = "Get the inheritable flag of the socket"
set_inheritable.__doc__ = "Set the inheritable flag of the socket"
def fromfd(fd, family, type, proto=0):
""" fromfd(fd, family, type[, proto]) -> socket object
Create a socket object from a duplicate of the given file
descriptor. The remaining arguments are the same as for socket().
"""
nfd = dup(fd)
return socket(family, type, proto, nfd)
if hasattr(_socket.socket, "sendmsg"):
> import array
E (application-level) ModuleNotFoundError: No module named 'array'
../lib-python/3/socket.py:550: ModuleNotFoundError
________________________ AppTestKqueue.test_issue30058 _________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fc1c2d8f7f8>
def test_issue30058(self):
import select
> import socket
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/select/test/test_kqueue.py:202]:3:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Wrapper module for _socket, providing some additional facilities
# implemented in Python.
"""\
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.
Functions:
socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*]
send_fds() -- Send file descriptor to the socket.
recv_fds() -- Receive file descriptors from the socket.
fromshare() -- create a socket object from data received from socket.share() [*]
gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format
inet_ntoa() -- convert 32-bit packed format IP to string (123.45.67.89)
socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
[*] not available on all platforms!
Special objects:
SocketType -- type object for socket objects
error -- exception raised for I/O errors
has_ipv6 -- boolean value indicating if IPv6 is supported
IntEnum constants:
AF_INET, AF_UNIX -- socket domains (first argument to socket() call)
SOCK_STREAM, SOCK_DGRAM, SOCK_RAW -- socket types (second argument)
Integer constants:
Many other constants may be defined; these may be used in calls to
the setsockopt() and getsockopt() methods.
"""
import _socket
from _socket import *
import os, sys, io, selectors
from enum import IntEnum, IntFlag
try:
import errno
except ImportError:
errno = None
EBADF = getattr(errno, 'EBADF', 9)
EAGAIN = getattr(errno, 'EAGAIN', 11)
EWOULDBLOCK = getattr(errno, 'EWOULDBLOCK', 11)
__all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
"has_dualstack_ipv6", "AddressFamily", "SocketKind"]
__all__.extend(os._get_exports_list(_socket))
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
# nicer string representations.
# Note that _socket only knows about the integer values. The public interface
# in this module understands the enums and translates them back from integers
# where needed (e.g. .family property of a socket object).
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
IntEnum._convert_(
'SocketKind',
__name__,
lambda C: C.isupper() and C.startswith('SOCK_'))
IntFlag._convert_(
'MsgFlag',
__name__,
lambda C: C.isupper() and C.startswith('MSG_'))
IntFlag._convert_(
'AddressInfo',
__name__,
lambda C: C.isupper() and C.startswith('AI_'))
_LOCALHOST = '127.0.0.1'
_LOCALHOST_V6 = '::1'
def _intenum_converter(value, enum_klass):
"""Convert a numeric family value to an IntEnum member.
If it's not a known member, return the numeric value itself.
"""
try:
return enum_klass(value)
except ValueError:
return value
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
errorTab[6] = "Specified event object handle is invalid."
errorTab[8] = "Insufficient memory available."
errorTab[87] = "One or more parameters are invalid."
errorTab[995] = "Overlapped operation aborted."
errorTab[996] = "Overlapped I/O event object not in signaled state."
errorTab[997] = "Overlapped operation will complete later."
errorTab[10004] = "The operation was interrupted."
errorTab[10009] = "A bad file handle was passed."
errorTab[10013] = "Permission denied."
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."
errorTab[10039] = "Destination address required."
errorTab[10040] = "Message too long."
errorTab[10041] = "Protocol wrong type for socket."
errorTab[10042] = "Bad protocol option."
errorTab[10043] = "Protocol not supported."
errorTab[10044] = "Socket type not supported."
errorTab[10045] = "Operation not supported."
errorTab[10046] = "Protocol family not supported."
errorTab[10047] = "Address family not supported by protocol family."
errorTab[10048] = "The network address is in use."
errorTab[10049] = "Cannot assign requested address."
errorTab[10050] = "Network is down."
errorTab[10051] = "Network is unreachable."
errorTab[10052] = "Network dropped connection on reset."
errorTab[10053] = "Software caused connection abort."
errorTab[10054] = "The connection has been reset."
errorTab[10055] = "No buffer space available."
errorTab[10056] = "Socket is already connected."
errorTab[10057] = "Socket is not connected."
errorTab[10058] = "The network has been shut down."
errorTab[10059] = "Too many references."
errorTab[10060] = "The operation timed out."
errorTab[10061] = "Connection refused."
errorTab[10062] = "Cannot translate name."
errorTab[10063] = "The name is too long."
errorTab[10064] = "The host is down."
errorTab[10065] = "The host is unreachable."
errorTab[10066] = "Directory not empty."
errorTab[10067] = "Too many processes."
errorTab[10068] = "User quota exceeded."
errorTab[10069] = "Disk quota exceeded."
errorTab[10070] = "Stale file handle reference."
errorTab[10071] = "Item is remote."
errorTab[10091] = "Network subsystem is unavailable."
errorTab[10092] = "Winsock.dll version out of range."
errorTab[10093] = "Successful WSAStartup not yet performed."
errorTab[10101] = "Graceful shutdown in progress."
errorTab[10102] = "No more results from WSALookupServiceNext."
errorTab[10103] = "Call has been canceled."
errorTab[10104] = "Procedure call table is invalid."
errorTab[10105] = "Service provider is invalid."
errorTab[10106] = "Service provider failed to initialize."
errorTab[10107] = "System call failure."
errorTab[10108] = "Service not found."
errorTab[10109] = "Class type not found."
errorTab[10110] = "No more results from WSALookupServiceNext."
errorTab[10111] = "Call was canceled."
errorTab[10112] = "Database query was refused."
errorTab[11001] = "Host not found."
errorTab[11002] = "Nonauthoritative host not found."
errorTab[11003] = "This is a nonrecoverable error."
errorTab[11004] = "Valid name, no data record requested type."
errorTab[11005] = "QoS receivers."
errorTab[11006] = "QoS senders."
errorTab[11007] = "No QoS senders."
errorTab[11008] = "QoS no receivers."
errorTab[11009] = "QoS request confirmed."
errorTab[11010] = "QoS admission error."
errorTab[11011] = "QoS policy failure."
errorTab[11012] = "QoS bad style."
errorTab[11013] = "QoS bad object."
errorTab[11014] = "QoS traffic control error."
errorTab[11015] = "QoS generic error."
errorTab[11016] = "QoS service type error."
errorTab[11017] = "QoS flowspec error."
errorTab[11018] = "Invalid QoS provider buffer."
errorTab[11019] = "Invalid QoS filter style."
errorTab[11020] = "Invalid QoS filter style."
errorTab[11021] = "Incorrect QoS filter count."
errorTab[11022] = "Invalid QoS object length."
errorTab[11023] = "Incorrect QoS flow count."
errorTab[11024] = "Unrecognized QoS object."
errorTab[11025] = "Invalid QoS policy object."
errorTab[11026] = "Invalid QoS flow descriptor."
errorTab[11027] = "Invalid QoS provider-specific flowspec."
errorTab[11028] = "Invalid QoS provider-specific filterspec."
errorTab[11029] = "Invalid QoS shape discard mode object."
errorTab[11030] = "Invalid QoS shaping rate object."
errorTab[11031] = "Reserved policy QoS element type."
__all__.append("errorTab")
class _GiveupOnSendfile(Exception): pass
class socket(_socket.socket):
"""A subclass of _socket.socket adding the makefile() method."""
__slots__ = ["__weakref__", "_io_refs", "_closed"]
def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
# For user code address family and type values are IntEnum members, but
# for the underlying _socket.socket they're just integers. The
# constructor of _socket.socket converts the given argument to an
# integer automatically.
if fileno is None:
if family == -1:
family = AF_INET
if type == -1:
type = SOCK_STREAM
if proto == -1:
proto = 0
_socket.socket.__init__(self, family, type, proto, fileno)
self._io_refs = 0
self._closed = False
def __enter__(self):
return self
def __exit__(self, *args):
if not self._closed:
self.close()
def __repr__(self):
"""Wrap __repr__() to reveal the real class name and socket
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__qualname__,
" [closed]" if closed else "",
self.fileno(),
self.family,
self.type,
self.proto)
if not closed:
# getsockname and getpeername may not be available on WASI.
try:
laddr = self.getsockname()
if laddr:
s += ", laddr=%s" % str(laddr)
except (error, AttributeError):
pass
try:
raddr = self.getpeername()
if raddr:
s += ", raddr=%s" % str(raddr)
except (error, AttributeError):
pass
s += '>'
return s
def __getstate__(self):
raise TypeError(f"cannot pickle {self.__class__.__name__!r} object")
def dup(self):
"""dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
"""
fd = dup(self.fileno())
sock = self.__class__(self.family, self.type, self.proto, fileno=fd)
sock.settimeout(self.gettimeout())
return sock
def accept(self):
"""accept() -> (socket object, address info)
Wait for an incoming connection. Return a new socket
representing the connection, and the address of the client.
For IP sockets, the address info is a pair (hostaddr, port).
"""
fd, addr = self._accept()
sock = socket(self.family, self.type, self.proto, fileno=fd)
# Issue #7995: if no default timeout is set and the listening
# socket had a (non-zero) timeout, force the new socket in blocking
# mode to override platform-specific socket flags inheritance.
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True)
return sock, addr
def makefile(self, mode="r", buffering=None, *,
encoding=None, errors=None, newline=None):
"""makefile(...) -> an I/O stream connected to the socket
The arguments are as for io.open() after the filename, except the only
supported mode values are 'r' (default), 'w' and 'b'.
"""
# XXX refactor to share code?
if not set(mode) <= {"r", "w", "b"}:
raise ValueError("invalid mode %r (only r, w, b allowed)" % (mode,))
writing = "w" in mode
reading = "r" in mode or not writing
assert reading or writing
binary = "b" in mode
rawmode = ""
if reading:
rawmode += "r"
if writing:
rawmode += "w"
raw = SocketIO(self, rawmode)
self._io_refs += 1
if buffering is None:
buffering = -1
if buffering < 0:
buffering = io.DEFAULT_BUFFER_SIZE
if buffering == 0:
if not binary:
raise ValueError("unbuffered streams must be binary")
return raw
if reading and writing:
buffer = io.BufferedRWPair(raw, raw, buffering)
elif reading:
buffer = io.BufferedReader(raw, buffering)
else:
assert writing
buffer = io.BufferedWriter(raw, buffering)
if binary:
return buffer
encoding = io.text_encoding(encoding)
text = io.TextIOWrapper(buffer, encoding, errors, newline)
text.mode = mode
return text
if hasattr(os, 'sendfile'):
def _sendfile_use_sendfile(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
sockno = self.fileno()
try:
fileno = file.fileno()
except (AttributeError, io.UnsupportedOperation) as err:
raise _GiveupOnSendfile(err) # not a regular file
try:
fsize = os.fstat(fileno).st_size
except OSError as err:
raise _GiveupOnSendfile(err) # not a regular file
if not fsize:
return 0 # empty file
# Truncate to 1GiB to avoid OverflowError, see bpo-38319.
blocksize = min(count or fsize, 2 ** 30)
timeout = self.gettimeout()
if timeout == 0:
raise ValueError("non-blocking sockets are not supported")
# poll/select have the advantage of not requiring any
# extra file descriptor, contrarily to epoll/kqueue
# (also, they require a single syscall).
if hasattr(selectors, 'PollSelector'):
selector = selectors.PollSelector()
else:
selector = selectors.SelectSelector()
selector.register(sockno, selectors.EVENT_WRITE)
total_sent = 0
# localize variable access to minimize overhead
selector_select = selector.select
os_sendfile = os.sendfile
try:
while True:
if timeout and not selector_select(timeout):
raise TimeoutError('timed out')
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
try:
sent = os_sendfile(sockno, fileno, offset, blocksize)
except BlockingIOError:
if not timeout:
# Block until the socket is ready to send some
# data; avoids hogging CPU resources.
selector_select()
continue
except OSError as err:
if total_sent == 0:
# We can get here for different reasons, the main
# one being 'file' is not a regular mmap(2)-like
# file, in which case we'll fall back on using
# plain send().
raise _GiveupOnSendfile(err)
raise err from None
else:
if sent == 0:
break # EOF
offset += sent
total_sent += sent
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset)
else:
def _sendfile_use_sendfile(self, file, offset=0, count=None):
raise _GiveupOnSendfile(
"os.sendfile() not available on this platform")
def _sendfile_use_send(self, file, offset=0, count=None):
self._check_sendfile_params(file, offset, count)
if self.gettimeout() == 0:
raise ValueError("non-blocking sockets are not supported")
if offset:
file.seek(offset)
blocksize = min(count, 8192) if count else 8192
total_sent = 0
# localize variable access to minimize overhead
file_read = file.read
sock_send = self.send
try:
while True:
if count:
blocksize = min(count - total_sent, blocksize)
if blocksize <= 0:
break
data = memoryview(file_read(blocksize))
if not data:
break # EOF
while True:
try:
sent = sock_send(data)
except BlockingIOError:
continue
else:
total_sent += sent
if sent < len(data):
data = data[sent:]
else:
break
return total_sent
finally:
if total_sent > 0 and hasattr(file, 'seek'):
file.seek(offset + total_sent)
def _check_sendfile_params(self, file, offset, count):
if 'b' not in getattr(file, 'mode', 'b'):
raise ValueError("file should be opened in binary mode")
if not self.type & SOCK_STREAM:
raise ValueError("only SOCK_STREAM type sockets are supported")
if count is not None:
if not isinstance(count, int):
raise TypeError(
"count must be a positive integer (got {!r})".format(count))
if count <= 0:
raise ValueError(
"count must be a positive integer (got {!r})".format(count))
def sendfile(self, file, offset=0, count=None):
"""sendfile(file[, offset[, count]]) -> sent
Send a file until EOF is reached by using high-performance
os.sendfile() and return the total number of bytes which
were sent.
*file* must be a regular file object opened in binary mode.
If os.sendfile() is not available (e.g. Windows) or file is
not a regular file socket.send() will be used instead.
*offset* tells from where to start reading the file.
If specified, *count* is the total number of bytes to transmit
as opposed to sending the file until EOF is reached.
File position is updated on return or also in case of error in
which case file.tell() can be used to figure out the number of
bytes which were sent.
The socket must be of SOCK_STREAM type.
Non-blocking sockets are not supported.
"""
try:
return self._sendfile_use_sendfile(file, offset, count)
except _GiveupOnSendfile:
return self._sendfile_use_send(file, offset, count)
def _decref_socketios(self):
if self._io_refs > 0:
self._io_refs -= 1
if self._closed:
self.close()
def _real_close(self, _ss=_socket.socket):
# This function should not reference any globals. See issue #808164.
_ss.close(self)
def close(self):
# This function should not reference any globals. See issue #808164.
self._closed = True
if self._io_refs <= 0:
self._real_close()
def detach(self):
"""detach() -> file descriptor
Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes. The file descriptor is returned.
"""
self._closed = True
return super().detach()
@property
def family(self):
"""Read-only access to the address family for this socket.
"""
return _intenum_converter(super().family, AddressFamily)
@property
def type(self):
"""Read-only access to the socket type.
"""
return _intenum_converter(super().type, SocketKind)
if os.name == 'nt':
def get_inheritable(self):
return os.get_handle_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_handle_inheritable(self.fileno(), inheritable)
else:
def get_inheritable(self):
return os.get_inheritable(self.fileno())
def set_inheritable(self, inheritable):
os.set_inheritable(self.fileno(), inheritable)
get_inheritable.__doc__ = "Get the inheritable flag of the socket"
set_inheritable.__doc__ = "Set the inheritable flag of the socket"
def fromfd(fd, family, type, proto=0):
""" fromfd(fd, family, type[, proto]) -> socket object
Create a socket object from a duplicate of the given file
descriptor. The remaining arguments are the same as for socket().
"""
nfd = dup(fd)
return socket(family, type, proto, nfd)
if hasattr(_socket.socket, "sendmsg"):
> import array
E (application-level) ModuleNotFoundError: No module named 'array'
../lib-python/3/socket.py:550: ModuleNotFoundError
_______________________ AppTestSelectWithPipes.test_poll _______________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fc190482218>
def test_poll(self):
import select
if not hasattr(select, 'poll'):
skip("no select.poll() on this platform")
readend, writeend = self.getpair()
try:
class A(object):
def fileno(self):
return readend.fileno()
poll = select.poll()
poll.register(A())
res = poll.poll(10) # timeout in ms
assert res == []
res = poll.poll(1.1) # check floats
assert res == []
writeend.send(b"foo!")
# can't easily test actual blocking, is done in lib-python tests
res = poll.poll()
> assert res == [(readend.fileno(), 1)]
E (application-level) AssertionError
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/select/test/test_select.py:274]:21: AssertionError
=========================== short test summary info ============================
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_create_event
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_queue_event
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_pair
FAIL module/select/test/test_kqueue.py::AppTestKqueue::()::test_issue30058
FAIL module/select/test/test_select.py::AppTestSelectWithPipes::()::test_poll
=============== 5 failed, 31 passed, 10 skipped in 95.53 seconds ===============
++ 06:45:59 starting module/termios/test [160 started in total]
__ module/signal/test [158 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
module/signal/test/apptest_signal.py .
module/signal/test/test_signal.py ..........................
========================== 27 passed in 85.29 seconds ==========================
++ 06:46:03 starting module/test_lib_pypy [161 started in total]
__ module/sys/test [159 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-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 97 items
module/sys/test/apptest_audit.py .........
module/sys/test/apptest_initpath.py .
module/sys/test/apptest_sys.py .
module/sys/test/test_encoding.py ..
module/sys/test/test_initpath.py ..........
module/sys/test/test_sysmodule.py .....................................F....s...............s........
module/sys/test/test_version.py .......
=================================== FAILURES ===================================
_________ AppTestSysModulePortedFromCPython.test_recursionlimit_toolow _________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007ff021c24f70>
def test_recursionlimit_toolow(self):
import sys
def callatlevel(l):
if l > 0:
callatlevel(l - 1)
else:
sys.setrecursionlimit(1)
> with raises(RecursionError):
callatlevel(500)
E (application-level) AssertionError: raises() expected <class 'RecursionError'>, but got no exception
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/sys/test/test_sysmodule.py:554]:8: AssertionError
=========================== short test summary info ============================
FAIL module/sys/test/test_sysmodule.py::AppTestSysModulePortedFromCPython::()::test_recursionlimit_toolow
=============== 1 failed, 94 passed, 2 skipped in 52.91 seconds ================
++ 06:46:52 starting module/thread/test [162 started in total]
__ module/test_lib_pypy [160 done in total, somefailed=False] _________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 238 items / 5 skipped
module/test_lib_pypy/test_code_module.py ...
module/test_lib_pypy/test_collections.py .....................
module/test_lib_pypy/test_marshal_extra.py .......................................................................................................................................................
module/test_lib_pypy/test_md5_extra.py ......
module/test_lib_pypy/test_pickle_extra.py s
module/test_lib_pypy/test_sha_extra.py .....
module/test_lib_pypy/test_site_extra.py .
module/test_lib_pypy/test_stackless.py ..............................
module/test_lib_pypy/test_stackless_pickling.py ..
module/test_lib_pypy/test_structseq.py ...........
module/test_lib_pypy/test_tputil.py ..s....
==================== 236 passed, 7 skipped in 75.12 seconds ====================
++ 06:47:24 starting module/time/test [163 started in total]
__ module/time/test [161 done in total, somefailed=True] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
module/time/test/apptest_time.py ........................F................
module/time/test/test_timeutils.py .
module/time/test/test_ztranslation.py .
=================================== FAILURES ===================================
____________________________ test_strftime_nonascii ____________________________
@pytest.mark.skipif(sys.platform=="win32", reason='fails on win32')
def test_strftime_nonascii():
import time
import _locale
prev_loc = _locale.setlocale(_locale.LC_TIME)
try:
_locale.setlocale(_locale.LC_TIME, "fr_CH")
except _locale.Error:
skip("unsupported locale LC_TIME=fr_CH")
try:
s = time.strftime('%B.', time.localtime(192039127))
# I am unsure, but I think that this fails because decoding of
# the result isn't done in the fr_CH locale. There is no code
# to grab the LC_TIME locale specifically, which is the one
# used by strftime().
> assert s == "f\xe9vrier."
E (application-level) AssertionError: assert 'février.' == 'février.'
module/time/test/apptest_time.py:522: AssertionError
=========================== short test summary info ============================
FAIL module/time/test/apptest_time.py::test_strftime_nonascii
===================== 1 failed, 42 passed in 82.35 seconds =====================
++ 06:48:51 starting module/token/test [164 started in total]
__ module/token/test [162 done in total, somefailed=False] ____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
module/token/test/apptest_token.py ........
========================== 8 passed in 13.74 seconds ===========================
++ 06:49:06 starting module/unicodedata/test [165 started in total]
__ module/termios/test [163 done in total, somefailed=True] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
module/termios/test/test_termios.py F..F.FFF..
=================================== FAILURES ===================================
_____________________________ TestTermios.test_one _____________________________
self = <test_termios.TestTermios object at 0x00007f9971bec790>
def test_one(self):
child = self.spawn(['--withmod-termios'])
child.expect("Python ")
child.expect('>>> ')
child.sendline('import termios')
child.expect('>>> ')
child.sendline('termios.tcgetattr(0)')
# output of the first time is ignored: it contains the compilation
# of more C stuff relating to errno
child.expect('>>> ')
child.sendline('print("attr=", termios.tcgetattr(0))')
> child.expect('attr= (\[.*?\[.*?\]\])')
module/termios/test/test_termios.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x00007f9971bec678>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x00007f9971be88e0>
E command: /Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios']
E buffer (last 100 chars): ''
E before (last 100 chars): '1@o\x1b[1@s\x1b[1@.\x1b[1@t\x1b[1@c\x1b[1@g\x1b[1@e\x1b[1@t\x1b[1@a\x1b[1@t\x1b[1@t\x1b[1@r\x1b[1@(\x1b[1@0\x1b[1@)\x1b[1@)\x1b[41D\n\r\x1b[?2004l\x1b[?1l\x1b>'
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 81431
E child_fd: 15
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x00007f997042aa30>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('attr= (\\[.*?\\[.*?\\]\\])')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios']) {}
PyPy 7.3.24-alpha0 in StdObjSpace on top of Python 2.7.18 (startuptime: 12.50 secs)
[?2004h[?1h=[?25l[1A
>>>> [?12l[?25himport termios
[1@i[1@m[1@p[1@o[1@r[1@t[1@ [1@t[1@e[1@r[1@m[1@i[1@o[1@s[19D
[?2004l[?1l>[?2004h[?1h=[?25l[1A
>>>> [?12l[?25htermios.tcgetattr(0)
[1@t[1@e[1@r[1@m[1@i[1@o[1@s[1@.[1@t[1@c[1@g[1@e[1@t[1@a[1@t[1@t[1@r[1@([1@0[1@)[25D
[?2004l[?1l>[11010, 0, 3, 0, 9600, 9600, [b'K', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\xcb', b'\x05', b'\x00', b' ', b'\x00', b'\x00', b'\x00', b'\x00', b'\x04', 255, 255, b'\x7f', b'\x17']]
[?2004h[?1h=[?25l[1A
>>>> [?12l[?25hprint("attr=", termios.tcgetattr(0))
[1@p[1@r[1@i[1@n[1@t[1@([1@"[1@a[1@t[1@t[1@r[1@=[1@"[1@,[1@ [1@t[1@e[1@r[1@m[1@i[1@o[1@s[1@.[1@t[1@c[1@g[1@e[1@t[1@a[1@t[1@t[1@r[1@([1@0[1@)[1@)[41D
[?2004l[?1l>
________________________ TestTermios.test_ioctl_termios ________________________
self = <test_termios.TestTermios object at 0x00007f99723a2ec8>
def test_ioctl_termios(self):
source = py.code.Source(r"""
import termios
import fcntl
lgt = len(fcntl.ioctl(2, termios.TIOCGWINSZ, b'\000'*8))
assert lgt == 8
print('ok!')
""")
f = udir.join("test_ioctl_termios.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:99:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x00007f99723a2e20>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x00007f99723a27c8>
E command: /Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-x86_64/usession-py3.11-770/test_ioctl_termios.py']
E buffer (last 100 chars): ''
E before (last 100 chars): "types_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0\r\n"
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 82322
E child_fd: 18
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x00007f997042aa30>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-x86_64/usession-py3.11-770/test_ioctl_termios.py']) {}
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py", line 218, in <module>
sys.exit(main_(sys.argv))
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py", line 189, in main_
verbose=interactiveconfig.verbose):
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 108, in run_toplevel
f()
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py", line 173, in doit
main.run_file(filename, space=space)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 74, in run_file
run_string(istring, filename, space)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 62, in run_string
_run_eval_string(source, filename, space, False)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 50, in _run_eval_string
retval = pycode.exec_code(space, w_globals, w_globals)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/eval.py", line 33, in exec_code
return frame.run()
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 256, in run
return self.execute_frame()
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 353, in execute_frame
raise self._convert_unexpected_exception(e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 844, in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 349, in execute_frame
executioncontext)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyopcode.py", line 67, in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyopcode.py", line 73, in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyopcode.py", line 296, in dispatch_bytecode
self.CALL_METHOD(oparg, next_instr)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/objspace/std/callmethod.py", line 93, in CALL_METHOD
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/baseobjspace.py", line 1261, in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/function.py", line 203, in funccall_valuestack
return self.call_args(args)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/function.py", line 81, in call_args
w_res = self.getcode().funcrun(self, args)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 869, in funcrun
return BuiltinCode.funcrun_obj(self, func, None, args)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 884, in funcrun_obj
self.handle_exception(space, e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 908, in handle_exception
raise error.get_converted_unexpected_exception(space, e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 878, in funcrun_obj
w_result = activation._run(space, scope_w)
File "<2349-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/tool/sourcetools.py:174>", line 3, in _run
return self.behavior(space, scope_w[0], scope_w[1], scope_w[2], space.gateway_int_w(scope_w[3]))
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/fcntl/interp_fcntl.py", line 298, in ioctl
rv = ioctl_str(fd, op, buf.raw)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py", line 321, in wrapper
res = call_external_function(*real_args)
File "<2174-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py:217>", line 13, in call_external_function
res = funcptr(a0, a1, a2)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/lltype.py", line 1384, in __call__
return callb(*args)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1342, in __call__
return self.trampoline(*argvalues)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1370, in invoke_via_ctypes
cvalue = cfunc.extraargs[i - natural_arity](cvalue)
File "/Users/matti/oss/pypy-x86_64-buildbot/lib_pypy/_ctypes/pointer.py", line 73, in __init__
self.contents = value
File "/Users/matti/oss/pypy-x86_64-buildbot/lib_pypy/_ctypes/pointer.py", line 106, in setcontents
self._type_.__name__, type(value).__name__))
TypeError: expected ctypes_Array of Char {'nolength': True} *0 instead of LP_ctypes_Array of Char {'nolength': True} *0
__________________________ TestTermios.test_no_icanon __________________________
self = <test_termios.TestTermios object at 0x00007f99921f50f8>
def test_no_icanon(self):
source = py.code.Source("""
import termios
import fcntl
f = termios.tcgetattr(2)
f[3] &= ~termios.ICANON
termios.tcsetattr(2, termios.TCSANOW, f)
f = termios.tcgetattr(2)
assert len([i for i in f[-1] if isinstance(i, int)]) == 2
assert isinstance(f[-1][termios.VMIN], int)
assert isinstance(f[-1][termios.VTIME], int)
print('ok!')
""")
f = udir.join("test_no_icanon.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x00007f99921f5248>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x00007f99921f4e90>
E command: /Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-x86_64/usession-py3.11-770/test_no_icanon.py']
E buffer (last 100 chars): ''
E before (last 100 chars): ''
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 82904
E child_fd: 20
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x00007f997042aa30>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-x86_64/usession-py3.11-770/test_no_icanon.py']) {}
___________________________ TestTermios.test_winsize ___________________________
self = <test_termios.TestTermios object at 0x00007f9981a1e480>
def test_winsize(self):
source = py.code.Source("""
import termios
termios.tcsetwinsize(2, (50, 200))
size = termios.tcgetwinsize(2)
assert size == (50, 200)
print('ok!')
""")
f = udir.join("test_ioctl_termios.py")
f.write(source)
child = self.spawn(['--withmod-termios', '--withmod-fcntl', str(f)])
> child.expect('ok!')
module/termios/test/test_termios.py:148:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virt_test/site-packages/pexpect/spawnbase.py:355: in expect
timeout, searchwindowsize, async_)
../virt_test/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
../virt_test/site-packages/pexpect/expect.py:179: in expect_loop
return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x00007f9981a1e3d8>
err = EOF('End Of File (EOF). Empty string style platform.',)
def eof(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn._buffer = spawn.buffer_type()
spawn._before = spawn.buffer_type()
spawn.after = EOF
index = self.searcher.eof_index
if index >= 0:
spawn.match = EOF
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = EOF(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E EOF: End Of File (EOF). Empty string style platform.
E <pexpect.pty_spawn.spawn object at 0x00007f99819f74b0>
E command: /Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python
E args: ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-x86_64/usession-py3.11-770/test_ioctl_termios.py']
E buffer (last 100 chars): ''
E before (last 100 chars): "erand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'\r\n"
E after: <class 'pexpect.exceptions.EOF'>
E match: None
E match_index: None
E exitstatus: None
E flag_eof: True
E pid: 83067
E child_fd: 21
E closed: False
E timeout: 600
E delimiter: <class 'pexpect.exceptions.EOF'>
E logfile: <_pytest.capture.EncodedFile object at 0x00007f997042aa30>
E logfile_read: None
E logfile_send: None
E maxread: 5000
E ignorecase: False
E searchwindowsize: None
E delaybeforesend: 0.05
E delayafterclose: 0.1
E delayafterterminate: 0.1
E searcher: searcher_re:
E 0: re.compile('ok!')
../virt_test/site-packages/pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------
SPAWN: ('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py', '-S', '--withmod-termios', '--withmod-fcntl', '/tmp/buildbot-x86_64/usession-py3.11-770/test_ioctl_termios.py']) {}
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py", line 218, in <module>
sys.exit(main_(sys.argv))
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py", line 189, in main_
verbose=interactiveconfig.verbose):
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 108, in run_toplevel
f()
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/bin/pyinteractive.py", line 173, in doit
main.run_file(filename, space=space)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 74, in run_file
run_string(istring, filename, space)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 62, in run_string
_run_eval_string(source, filename, space, False)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/main.py", line 50, in _run_eval_string
retval = pycode.exec_code(space, w_globals, w_globals)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/eval.py", line 33, in exec_code
return frame.run()
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 256, in run
return self.execute_frame()
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 353, in execute_frame
raise self._convert_unexpected_exception(e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 844, in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyframe.py", line 349, in execute_frame
executioncontext)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyopcode.py", line 67, in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyopcode.py", line 73, in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/pyopcode.py", line 296, in dispatch_bytecode
self.CALL_METHOD(oparg, next_instr)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/objspace/std/callmethod.py", line 93, in CALL_METHOD
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/baseobjspace.py", line 1261, in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/function.py", line 168, in funccall_valuestack
return code.fastcall_2(self.space, self, f_1, f_0)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 1006, in fastcall_2
self.handle_exception(space, e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 908, in handle_exception
raise error.get_converted_unexpected_exception(space, e)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/interpreter/gateway.py", line 1001, in fastcall_2
w_result = self.fastfunc_2(space, w1, w2)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/termios/interp_termios.py", line 120, in tcsetwinsize
failed = rposix.c_ioctl_voidp(fd, rposix.TIOCGWINSZ, winsize)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py", line 321, in wrapper
res = call_external_function(*real_args)
File "<59-codegen /Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/rffi.py:217>", line 13, in call_external_function
res = funcptr(a0, a1, a2)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/lltype.py", line 1384, in __call__
return callb(*args)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1342, in __call__
return self.trampoline(*argvalues)
File "/Users/matti/build-worker-x86_64/own-macos-x86-64/build/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1370, in invoke_via_ctypes
cvalue = cfunc.extraargs[i - natural_arity](cvalue)
File "/Users/matti/oss/pypy-x86_64-buildbot/lib_pypy/_ctypes/primitive.py", line 424, in __init__
self.value = value
File "/Users/matti/oss/pypy-x86_64-buildbot/lib_pypy/_ctypes/primitive.py", line 253, in _setvalue
self._buffer[0] = value
TypeError: unsupported operand type for long(): 'LP_ctypes_Struct winsize { c_ws_row, c_ws_col, c_ws_xpixel, c_ws_ypixel }'
__________________________ AppTestTermios.test_values __________________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007f99a19702c0>
def test_values(self):
import termios
d = {}
for name in dir(termios):
val = getattr(termios, name)
if name.isupper() and type(val) is int:
d[name] = val
> assert sorted(d.items()) == sorted(self.orig_module_dict.items())
E (application-level) AssertionError
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/termios/test/test_termios.py:162]:8: AssertionError
=========================== short test summary info ============================
FAIL module/termios/test/test_termios.py::TestTermios::()::test_one
FAIL module/termios/test/test_termios.py::TestTermios::()::test_ioctl_termios
FAIL module/termios/test/test_termios.py::TestTermios::()::test_no_icanon
FAIL module/termios/test/test_termios.py::TestTermios::()::test_winsize
FAIL module/termios/test/test_termios.py::AppTestTermios::()::test_values
===================== 5 failed, 5 passed in 197.77 seconds =====================
++ 06:49:22 starting module/zipimport/test [166 started in total]
__ module/zipimport/test [164 done in total, somefailed=False] ________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
module/zipimport/test/apptest_zipimport.py .
========================== 1 passed in 13.59 seconds ===========================
++ 06:49:37 starting module/zlib/test [167 started in total]
__ module/unicodedata/test [165 done in total, somefailed=False] ______________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 35 items
module/unicodedata/test/test_hyp.py ................
module/unicodedata/test/test_unicodedata.py ...................
========================== 35 passed in 28.25 seconds ==========================
++ 06:49:38 starting objspace/fake/test [168 started in total]
__ objspace/fake/test [166 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
objspace/fake/test/test_checkmodule.py ........
objspace/fake/test/test_objspace.py .............
========================== 21 passed in 28.83 seconds ==========================
++ 06:50:11 starting objspace/std/test [169 started in total]
__ module/zlib/test [167 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
module/zlib/test/test_zlib.py ......................................
========================== 38 passed in 33.40 seconds ==========================
++ 06:50:15 starting objspace/test [170 started in total]
__ objspace/test [168 done in total, somefailed=False] ________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 75 items
objspace/test/apptest_binop_overriding.py .
objspace/test/apptest_descriptor.py ....s....
objspace/test/apptest_descroperation.py ................s......................................
objspace/test/test_descroperation.py ..........
==================== 73 passed, 2 skipped in 28.57 seconds =====================
++ 06:50:48 starting sandbox/test [171 started in total]
__ module/thread/test [169 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 56 items
module/thread/test/test_fork.py s...
module/thread/test/test_gil.py ....
module/thread/test/test_import_lock.py .....
module/thread/test/test_local.py .......
module/thread/test/test_lock.py .....................
module/thread/test/test_thread.py ...............
==================== 55 passed, 1 skipped in 231.81 seconds ====================
++ 06:50:50 starting tool/bench/test [172 started in total]
__ tool/bench/test [170 done in total, somefailed=False] ______________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/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 1.00 seconds ======================
++ 06:50:52 starting tool/memusage/test [173 started in total]
__ tool/memusage/test [171 done in total, somefailed=False] ___________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
tool/memusage/test/test_log2gnumeric.py .....
=========================== 5 passed in 0.96 seconds ===========================
++ 06:50:54 starting tool/pytest/fake_pytest/test [174 started in total]
__ tool/pytest/fake_pytest/test [172 done in total, somefailed=False] _________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
tool/pytest/fake_pytest/test/apptest_fake_pytest.py .
========================== 1 passed in 13.87 seconds ===========================
++ 06:51:09 starting tool/pytest/test [175 started in total]
__ sandbox/test [173 done in total, somefailed=False] _________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
sandbox/test/test_pypy_interact.py .
========================== 1 passed in 35.01 seconds ===========================
++ 06:51:26 starting tool/release/test [176 started in total]
__ tool/release/test [174 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
tool/release/test/test_package.py ....s
tool/release/test/test_smartstrip.py FFs
=================================== FAILURES ===================================
________________________ TestSmarStrip.test_info_symbol ________________________
self = <pypy.tool.release.test.test_smartstrip.TestSmarStrip object at 0x00007fe1a142fe18>
exe = local('/private/tmp/buildbot-x86_64/pytest/pytest-of-matti/pytest-282/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: lin...o' -ex 'quit'" == 'foo in section .text'
E - /bin/sh: line 1: 84971 Abort trap: 6 gdb /private/tmp/buildbot-x86_64/pytest/pytest-of-matti/pytest-282/test_info_symbol0/myprog -ex 'info symbol foo' -ex 'quit'
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 0x00007fe1a142ffa0>
exe = local('/private/tmp/buildbot-x86_64/pytest/pytest-of-matti/pytest-282/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: line 1: 84978 Abort trap: 6 ...ytest-of-matti/pytest-282/test_strip0/myprog -ex 'info symbol foo' -ex 'quit'">('No symbol table is loaded')
E + where <bound method str.startswith of "/bin/sh: line 1: 84978 Abort trap: 6 ...ytest-of-matti/pytest-282/test_strip0/myprog -ex 'info symbol foo' -ex 'quit'"> = "/bin/sh: line 1: 84978 Abort trap: 6 gdb /private/tmp/buildbot-x86_64/pytest/pytest-of-matti/pytest-282/test_strip0/myprog -ex 'info symbol foo' -ex 'quit'".startswith
tool/release/test/test_smartstrip.py:37: AssertionError
=========================== short test summary info ============================
FAIL tool/release/test/test_smartstrip.py::TestSmarStrip::()::test_info_symbol
FAIL tool/release/test/test_smartstrip.py::TestSmarStrip::()::test_strip
================ 2 failed, 4 passed, 2 skipped in 29.32 seconds ================
++ 06:51:58 starting tool/test [177 started in total]
__ tool/test [175 done in total, somefailed=False] ____________________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/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 16.89 seconds ==========================
__ tool/pytest/test [176 done in total, somefailed=False] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
tool/pytest/test/test_appsupport.py .........
tool/pytest/test/test_astrewrite.py .....
tool/pytest/test/test_conftest1.py ...xx
tool/pytest/test/test_pytestsupport.py ......
==================== 23 passed, 2 xfailed in 197.72 seconds ====================
__ objspace/std/test [177 done in total, somefailed=True] _____________________
============================= test session starts ==============================
platform darwin -- Python 2.7.18[pypy-7.3.17-final], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/.hypothesis/examples')
pytest-2.9.2 from /Users/matti/build-worker-x86_64/own-macos-x86-64/build/pytest.pyc
rootdir: /Users/matti/build-worker-x86_64/own-macos-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2503 items
objspace/std/test/apptest_boolobject.py .........
objspace/std/test/apptest_callmethod.py ..........
objspace/std/test/apptest_complexobject.py ....................................
objspace/std/test/apptest_contains.py ..
objspace/std/test/apptest_fstring.py .....................
objspace/std/test/apptest_instmethobject.py .....
objspace/std/test/apptest_iterobject.py .....................
objspace/std/test/apptest_memoryobject.py .....
objspace/std/test/apptest_operation.py .
objspace/std/test/apptest_stringformat.py .................s......s..................s........................
objspace/std/test/apptest_typeobjject.py ........
objspace/std/test/apptest_unicode.py ...........................s..........................................................................................
objspace/std/test/apptest_userobject.py ........................
objspace/std/test/test_boolobject.py .......
objspace/std/test/test_bytearrayobject.py .........................................................................
objspace/std/test/test_bytesobject.py ................................................................................s......................
objspace/std/test/test_callmethod.py ...
objspace/std/test/test_celldict.py ..........................................
objspace/std/test/test_complexobject.py ....
objspace/std/test/test_dictmultiobject.py .........s.s.........................................................s.........................................................s.........................................................................
objspace/std/test/test_dictproxy.py ................
objspace/std/test/test_floatobject.py ......................................................
objspace/std/test/test_identitydict.py .....
objspace/std/test/test_identityset.py .......
objspace/std/test/test_index.py ...................................
objspace/std/test/test_intobject.py .............................................................................................................................................................
objspace/std/test/test_iterobject.py ....
objspace/std/test/test_jsondict.py ..........
objspace/std/test/test_kwargsdict.py ....................................
objspace/std/test/test_lengthhint.py .....................
objspace/std/test/test_listobject.py ..................................................................................................................
objspace/std/test/test_liststrategies.py ...................................................................s...................................................................
objspace/std/test/test_longobject.py ....................................................
objspace/std/test/test_mapdict.py ..........................................................................................s.......................................................
objspace/std/test/test_memoryobject.py ............................................
objspace/std/test/test_methodcache.py ............................................................................................
objspace/std/test/test_newformat.py ...................................................F...........
objspace/std/test/test_noneobject.py ...
objspace/std/test/test_obj.py .......................................
objspace/std/test/test_prebuiltint.py ..............................................................
objspace/std/test/test_proxy.py ssssssssssss
objspace/std/test/test_proxy_function.py ........
objspace/std/test/test_proxy_internals.py .......
objspace/std/test/test_proxy_iter.py .
objspace/std/test/test_proxy_object.py ..........
objspace/std/test/test_proxy_usercreated.py .
objspace/std/test/test_random_attr.py s....
objspace/std/test/test_setobject.py .................................................................................................
objspace/std/test/test_setstrategies.py ....s...ss...
objspace/std/test/test_sliceobject.py .............
objspace/std/test/test_smalllongobject.py .................................................................................................................................................................................................................................................
objspace/std/test/test_specialisedtupleobject.py ...................ss............................
objspace/std/test/test_stdobjspace.py s........
objspace/std/test/test_translate.py .
objspace/std/test/test_tupleobject.py .......................................
objspace/std/test/test_typeobject.py ............................................................................................................
objspace/std/test/test_unicodeobject.py .................
objspace/std/test/test_userobject.py .
objspace/std/test/test_versionedtype.py ...............
=================================== FAILURES ===================================
__________________ AppTestFloatFormatting.test_locale_german ___________________
self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fb3084c3168>
def test_locale_german(self):
import locale, sys
for name in ['de_DE', 'de_DE.utf8']:
try:
locale.setlocale(locale.LC_NUMERIC, name)
break
except locale.Error:
pass
else:
skip("no german locale")
x = 1234.567890
try:
if sys.platform != "darwin":
assert locale.format('%g', x, grouping=True) == '1.234,57'
assert format(x, 'n') == '1.234,57'
assert format(12345678901234, 'n') == '12.345.678.901.234'
else:
# No thousands separator on German in MacOS since 10.4
> assert locale.format('%g', x, grouping=True) == '1234,57'
E (application-level) AssertionError
[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/objspace/std/test/test_newformat.py:410]:19: AssertionError
=========================== short test summary info ============================
FAIL objspace/std/test/test_newformat.py::AppTestFloatFormatting::()::test_locale_german
============= 1 failed, 2472 passed, 30 skipped in 276.30 seconds ==============
program finished with exit code 1
elapsedTime=5945.720398