virt_test/bin/python testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py '--config=~/machine_cfg.py' --root=rpython --timeout=4000 in dir /build_dir/rpython-linux-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=rpython', '--timeout=4000'] environment: AUDITWHEEL_ARCH=x86_64 AUDITWHEEL_PLAT=manylinux2014_x86_64 AUDITWHEEL_POLICY=manylinux2014 DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root HOME=/home/buildslave HOSTNAME=a58a84039819 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64 LOGNAME=buildslave PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig PWD=/build_dir/rpython-linux-x86-64/build PYPYCHERRYPICK= PYPY_LOCALBASE=/usr/local PYPY_MAKE_PORTABLE=1 PYPY_USESSION_DIR=/tmp/pytest PYTHONPATH=.: SHELL=/bin/bash SHLVL=2 SSL_CERT_FILE=/opt/_internal/certs.pem TERM=xterm TMPDIR=/tmp/pytest USER=buildslave USE_CURL=1 _=/python27_virt/bin/buildslave using PTY: False using config pypy/testrunner_cfg.py using config /home/buildslave/machine_cfg.py running 4 parallel test workers setting MAKEFLAGS to ' ' (space) -- annotator/test -- config/test -- flowspace/test -- jit/backend/aarch64/test/test_basic.py -- jit/backend/aarch64/test/test_call.py -- jit/backend/aarch64/test/test_calling_convention.py -- jit/backend/aarch64/test/test_del.py -- jit/backend/aarch64/test/test_dict.py -- jit/backend/aarch64/test/test_exception.py -- jit/backend/aarch64/test/test_fficall.py -- jit/backend/aarch64/test/test_float.py -- jit/backend/aarch64/test/test_instr_builder.py -- jit/backend/aarch64/test/test_jitlog.py -- jit/backend/aarch64/test/test_list.py -- jit/backend/aarch64/test/test_llop.py -- jit/backend/aarch64/test/test_loop_unroll.py -- jit/backend/aarch64/test/test_quasiimmut.py -- jit/backend/aarch64/test/test_rawmem.py -- jit/backend/aarch64/test/test_recursive.py -- jit/backend/aarch64/test/test_runner.py -- jit/backend/aarch64/test/test_rvmprof.py -- jit/backend/aarch64/test/test_send.py -- jit/backend/aarch64/test/test_slist.py -- jit/backend/aarch64/test/test_string.py -- jit/backend/aarch64/test/test_tl.py -- jit/backend/aarch64/test/test_tlc.py -- jit/backend/aarch64/test/test_virtual.py -- jit/backend/aarch64/test/test_virtualizable.py -- jit/backend/aarch64/test/test_virtualref.py -- jit/backend/aarch64/test/test_zrpy_gc.py -- jit/backend/aarch64/test/test_zrpy_gc_boehm.py -- jit/backend/aarch64/test/test_zrpy_releasegil.py -- jit/backend/aarch64/test/test_zrpy_vmprof.py -- jit/backend/aarch64/test/test_ztranslation_basic.py -- jit/backend/aarch64/test/test_ztranslation_call_assembler.py -- jit/backend/aarch64/test/test_ztranslation_jit_stats.py -- jit/backend/arm/test -- jit/backend/llgraph/test -- jit/backend/llsupport/test -- jit/backend/ppc/test -- jit/backend/riscv/test -- jit/backend/test -- jit/backend/x86/test/test_assembler.py -- jit/backend/x86/test/test_basic.py -- jit/backend/x86/test/test_call.py -- jit/backend/x86/test/test_callbuilder.py -- jit/backend/x86/test/test_calling_convention.py -- jit/backend/x86/test/test_del.py -- jit/backend/x86/test/test_dict.py -- jit/backend/x86/test/test_exception.py -- jit/backend/x86/test/test_fficall.py -- jit/backend/x86/test/test_float.py -- jit/backend/x86/test/test_jitlog.py -- jit/backend/x86/test/test_jump.py -- jit/backend/x86/test/test_list.py -- jit/backend/x86/test/test_llop.py -- jit/backend/x86/test/test_longlong.py -- jit/backend/x86/test/test_loop_unroll.py -- jit/backend/x86/test/test_quasiimmut.py -- jit/backend/x86/test/test_rawmem.py -- jit/backend/x86/test/test_recursive.py -- jit/backend/x86/test/test_regalloc.py -- jit/backend/x86/test/test_regloc.py -- jit/backend/x86/test/test_runner.py -- jit/backend/x86/test/test_rvmprof.py -- jit/backend/x86/test/test_rx86.py -- jit/backend/x86/test/test_rx86_32_auto_encoding.py -- jit/backend/x86/test/test_rx86_64_auto_encoding.py -- jit/backend/x86/test/test_send.py -- jit/backend/x86/test/test_slist.py -- jit/backend/x86/test/test_string.py -- jit/backend/x86/test/test_symbolic_x86.py -- jit/backend/x86/test/test_tl.py -- jit/backend/x86/test/test_tlc.py -- jit/backend/x86/test/test_tracelimit.py -- jit/backend/x86/test/test_virtual.py -- jit/backend/x86/test/test_virtualizable.py -- jit/backend/x86/test/test_virtualref.py -- jit/backend/x86/test/test_x86vector.py -- jit/backend/x86/test/test_zmath.py -- jit/backend/x86/test/test_zrpy_gc.py -- jit/backend/x86/test/test_zrpy_gc_boehm.py -- jit/backend/x86/test/test_zrpy_releasegil.py -- jit/backend/x86/test/test_zrpy_vecopt.py -- jit/backend/x86/test/test_zrpy_vmprof.py -- jit/backend/x86/test/test_ztranslation_basic.py -- jit/backend/x86/test/test_ztranslation_call_assembler.py -- jit/backend/x86/test/test_ztranslation_external_exception.py -- jit/backend/x86/test/test_ztranslation_jit_stats.py -- jit/backend/x86/tool/test/test_viewcode.py -- jit/backend/zarch/test -- jit/codewriter/test -- jit/metainterp/optimizeopt/test/test_costmodel.py -- jit/metainterp/optimizeopt/test/test_dependency.py -- jit/metainterp/optimizeopt/test/test_guard.py -- jit/metainterp/optimizeopt/test/test_intbound.py -- jit/metainterp/optimizeopt/test/test_intdiv.py -- jit/metainterp/optimizeopt/test/test_optimizebasic.py -- jit/metainterp/optimizeopt/test/test_optimizebridge.py -- jit/metainterp/optimizeopt/test/test_optimizeheap.py -- jit/metainterp/optimizeopt/test/test_optimizeintbound.py -- jit/metainterp/optimizeopt/test/test_optimizeopt.py -- jit/metainterp/optimizeopt/test/test_rawbuffer.py -- jit/metainterp/optimizeopt/test/test_schedule.py -- jit/metainterp/optimizeopt/test/test_short.py -- jit/metainterp/optimizeopt/test/test_unroll.py -- jit/metainterp/optimizeopt/test/test_util.py -- jit/metainterp/optimizeopt/test/test_vecopt.py -- jit/metainterp/optimizeopt/test/test_virtualstate.py -- jit/metainterp/optimizeopt/test/test_z3checktests.py -- jit/metainterp/optimizeopt/test/test_z3intbound.py -- jit/metainterp/ruleopt/test/test_codegen.py -- jit/metainterp/ruleopt/test/test_parse.py -- jit/metainterp/ruleopt/test/test_prove.py -- jit/metainterp/test/test_ajit.py -- jit/metainterp/test/test_blackhole.py -- jit/metainterp/test/test_bridgeopt.py -- jit/metainterp/test/test_bytearray.py -- jit/metainterp/test/test_call.py -- jit/metainterp/test/test_compile.py -- jit/metainterp/test/test_counter.py -- jit/metainterp/test/test_del.py -- jit/metainterp/test/test_dict.py -- jit/metainterp/test/test_exception.py -- jit/metainterp/test/test_executor.py -- jit/metainterp/test/test_fficall.py -- jit/metainterp/test/test_float.py -- jit/metainterp/test/test_greenfield.py -- jit/metainterp/test/test_heapcache.py -- jit/metainterp/test/test_history.py -- jit/metainterp/test/test_immutable.py -- jit/metainterp/test/test_jitdriver.py -- jit/metainterp/test/test_jitiface.py -- jit/metainterp/test/test_jitprof.py -- jit/metainterp/test/test_list.py -- jit/metainterp/test/test_llop.py -- jit/metainterp/test/test_logger.py -- jit/metainterp/test/test_longlong.py -- jit/metainterp/test/test_loop.py -- jit/metainterp/test/test_loop_unroll.py -- jit/metainterp/test/test_loop_unroll_disopt.py -- jit/metainterp/test/test_math.py -- jit/metainterp/test/test_memmgr.py -- jit/metainterp/test/test_opencoder.py -- jit/metainterp/test/test_pyjitpl.py -- jit/metainterp/test/test_quasiimmut.py -- jit/metainterp/test/test_rawmem.py -- jit/metainterp/test/test_recursive.py -- jit/metainterp/test/test_resoperation.py -- jit/metainterp/test/test_resume.py -- jit/metainterp/test/test_resumecode.py -- jit/metainterp/test/test_send.py -- jit/metainterp/test/test_slist.py -- jit/metainterp/test/test_string.py -- jit/metainterp/test/test_support.py -- jit/metainterp/test/test_threadlocal.py -- jit/metainterp/test/test_tl.py -- jit/metainterp/test/test_tlc.py -- jit/metainterp/test/test_tracelimit.py -- jit/metainterp/test/test_tracingopts.py -- jit/metainterp/test/test_virtual.py -- jit/metainterp/test/test_virtualizable.py -- jit/metainterp/test/test_virtualref.py -- jit/metainterp/test/test_warmspot.py -- jit/metainterp/test/test_warmstate.py -- jit/metainterp/test/test_zvector.py -- jit/tl/test -- jit/tl/tinyframe/test -- jit/tl/tla -- jit/tool/test -- memory/gc/test -- memory/gctransform/test -- memory/test/test_gctypelayout.py -- memory/test/test_generational_gc.py -- memory/test/test_growingsemispace_gc.py -- memory/test/test_hybrid_gc.py -- memory/test/test_hybrid_gc_smallheap.py -- memory/test/test_incminimark_gc.py -- memory/test/test_incminimark_gc_cardmarking.py -- memory/test/test_lldict.py -- memory/test/test_minimark_gc.py -- memory/test/test_minimark_gc_cardmarking.py -- memory/test/test_semispace_gc.py -- memory/test/test_support.py -- memory/test/test_transformed_gc.py -- rlib/parsing/test/test_deterministic.py -- rlib/parsing/test/test_ebnfparse.py -- rlib/parsing/test/test_lexer.py -- rlib/parsing/test/test_parse.py -- rlib/parsing/test/test_parseerrors.py -- rlib/parsing/test/test_pcre_regtest.py -- rlib/parsing/test/test_pypackrat.py -- rlib/parsing/test/test_pythonlexer.py -- rlib/parsing/test/test_pythonparse.py -- rlib/parsing/test/test_regex.py -- rlib/parsing/test/test_regexparse.py -- rlib/parsing/test/test_translate.py -- rlib/parsing/test/test_translate_lexer.py -- rlib/parsing/test/test_tree.py -- rlib/rjitlog/test/test_jitlog.py -- rlib/rsre/test/test_char.py -- rlib/rsre/test/test_ext_opcode.py -- rlib/rsre/test/test_match.py -- rlib/rsre/test/test_re.py -- rlib/rsre/test/test_search.py -- rlib/rsre/test/test_zexternal.py -- rlib/rsre/test/test_zinterp.py -- rlib/rsre/test/test_zjit.py -- rlib/rstrategies/test/test_rstrategies.py -- rlib/rstruct/test/test_ieee.py -- rlib/rstruct/test/test_pack.py -- rlib/rstruct/test/test_runpack.py -- rlib/rvmprof/test/test_file.py -- rlib/rvmprof/test/test_rvmprof.py -- rlib/rvmprof/test/test_support.py -- rlib/rvmprof/test/test_traceback.py -- rlib/rvmprof/test/test_ztranslation.py -- rlib/test/test__jit_vref.py -- rlib/test/test_buffer.py -- rlib/test/test_cache.py -- rlib/test/test_clibffi.py -- rlib/test/test_compilerinfo.py -- rlib/test/test_debug.py -- rlib/test/test_jit.py -- rlib/test/test_jit_libffi.py -- rlib/test/test_libffi.py -- rlib/test/test_listsort.py -- rlib/test/test_longlong2float.py -- rlib/test/test_mutbuffer.py -- rlib/test/test_nonconst.py -- rlib/test/test_objectmodel.py -- rlib/test/test_posix.py -- rlib/test/test_rStringIO.py -- rlib/test/test_rarithmetic.py -- rlib/test/test_rawrefcount.py -- rlib/test/test_rawrefcount_boehm.py -- rlib/test/test_rawstorage.py -- rlib/test/test_rbigint.py -- rlib/test/test_rbisect.py -- rlib/test/test_rcomplex.py -- rlib/test/test_rdtoa.py -- rlib/test/test_rdynload.py -- rlib/test/test_rerased.py -- rlib/test/test_rfile.py -- rlib/test/test_rfloat.py -- rlib/test/test_rgc.py -- rlib/test/test_rgil.py -- rlib/test/test_rlocale.py -- rlib/test/test_rmarshal.py -- rlib/test/test_rmd5.py -- rlib/test/test_rmmap.py -- rlib/test/test_rope.py -- rlib/test/test_rpath.py -- rlib/test/test_rpoll.py -- rlib/test/test_rposix.py -- rlib/test/test_rposix_environ.py -- rlib/test/test_rposix_scandir.py -- rlib/test/test_rposix_stat.py -- rlib/test/test_rrandom.py -- rlib/test/test_rrawarray.py -- rlib/test/test_rsha.py -- rlib/test/test_rshrinklist.py -- rlib/test/test_rsignal.py -- rlib/test/test_rsiphash.py -- rlib/test/test_rsocket.py -- rlib/test/test_rstacklet.py -- rlib/test/test_rstackovf.py -- rlib/test/test_rstring.py -- rlib/test/test_rtermios.py -- rlib/test/test_rthread.py -- rlib/test/test_rtime.py -- rlib/test/test_rtimer.py -- rlib/test/test_runicode.py -- rlib/test/test_rurandom.py -- rlib/test/test_rutf8.py -- rlib/test/test_rweakkeydict.py -- rlib/test/test_rweaklist.py -- rlib/test/test_rweakref.py -- rlib/test/test_rweakvaldict.py -- rlib/test/test_rwin32.py -- rlib/test/test_rzipfile.py -- rlib/test/test_rzlib.py -- rlib/test/test_signature.py -- rlib/test/test_streamio.py -- rlib/test/test_z3.py -- rlib/unicodedata/test/test_codegen.py -- rlib/unicodedata/test/test_dawg.py -- rlib/unicodedata/test/test_ucd.py -- rlib/unicodedata/test/test_unicodedata.py -- rtyper/lltypesystem/module/test -- rtyper/lltypesystem/test -- rtyper/test -- rtyper/tool/test -- tool/algo/test -- tool/cparser/test -- tool/jitlogparser/test -- tool/pytest/test -- tool/test -- translator/backendopt/test -- translator/c/test/test_backendoptimized.py -- translator/c/test/test_boehm.py -- translator/c/test/test_database.py -- translator/c/test/test_exception.py -- translator/c/test/test_extfunc.py -- translator/c/test/test_genc.py -- translator/c/test/test_lladdresses.py -- translator/c/test/test_llop.py -- translator/c/test/test_lltyped.py -- translator/c/test/test_math.py -- translator/c/test/test_newgc.py -- translator/c/test/test_refcount.py -- translator/c/test/test_rtagged.py -- translator/c/test/test_standalone.py -- translator/c/test/test_standalone_print_function.py -- translator/c/test/test_support.py -- translator/c/test/test_symbolic.py -- translator/c/test/test_typed.py -- translator/platform/arch/test -- translator/platform/test -- translator/sandbox/test -- translator/test -- translator/tool/test -- total: 322 to run ++ 23:30:25 starting annotator/test [1 started in total] ++ 23:30:25 starting config/test [2 started in total] ++ 23:30:25 starting flowspace/test [3 started in total] ++ 23:30:25 starting jit/backend/aarch64/test/test_basic.py [4 started in total] __ flowspace/test [1 done in total, somefailed=False] _________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 162 items flowspace/test/test_argument.py ..... flowspace/test/test_checkgraph.py ........ flowspace/test/test_flowcontext.py ..... flowspace/test/test_framestate.py .......... flowspace/test/test_generator.py ..... flowspace/test/test_model.py ......... flowspace/test/test_objspace.py .............................................................xx...................xx..x................ flowspace/test/test_objspace_py2.py .... flowspace/test/test_print_function.py ......... flowspace/test/test_unroll.py .... ==================== 157 passed, 5 xfailed in 4.72 seconds ===================== ++ 23:30:30 starting jit/backend/aarch64/test/test_call.py [5 started in total] __ jit/backend/aarch64/test/test_basic.py [2 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:31 starting jit/backend/aarch64/test/test_calling_convention.py [6 started in total] __ jit/backend/aarch64/test/test_call.py [3 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:31 starting jit/backend/aarch64/test/test_del.py [7 started in total] __ config/test [4 done in total, somefailed=False] ____________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 43 items config/test/test_config.py .................................... config/test/test_parse.py .. config/test/test_support.py .ss config/test/test_translationoption.py .. ===================== 41 passed, 2 skipped in 5.65 seconds ===================== ++ 23:30:32 starting jit/backend/aarch64/test/test_dict.py [8 started in total] __ jit/backend/aarch64/test/test_calling_convention.py [5 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:33 starting jit/backend/aarch64/test/test_exception.py [9 started in total] __ jit/backend/aarch64/test/test_del.py [6 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:33 starting jit/backend/aarch64/test/test_fficall.py [10 started in total] __ jit/backend/aarch64/test/test_dict.py [7 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:33 starting jit/backend/aarch64/test/test_float.py [11 started in total] __ jit/backend/aarch64/test/test_float.py [8 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:34 starting jit/backend/aarch64/test/test_instr_builder.py [12 started in total] __ jit/backend/aarch64/test/test_exception.py [9 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:34 starting jit/backend/aarch64/test/test_jitlog.py [13 started in total] __ jit/backend/aarch64/test/test_fficall.py [10 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:34 starting jit/backend/aarch64/test/test_list.py [14 started in total] __ jit/backend/aarch64/test/test_instr_builder.py [11 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:36 starting jit/backend/aarch64/test/test_llop.py [15 started in total] __ jit/backend/aarch64/test/test_jitlog.py [12 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:36 starting jit/backend/aarch64/test/test_loop_unroll.py [16 started in total] __ jit/backend/aarch64/test/test_list.py [13 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:36 starting jit/backend/aarch64/test/test_quasiimmut.py [17 started in total] __ jit/backend/aarch64/test/test_llop.py [14 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:37 starting jit/backend/aarch64/test/test_rawmem.py [18 started in total] __ jit/backend/aarch64/test/test_rawmem.py [15 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:38 starting jit/backend/aarch64/test/test_recursive.py [19 started in total] __ jit/backend/aarch64/test/test_loop_unroll.py [16 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:38 starting jit/backend/aarch64/test/test_runner.py [20 started in total] __ jit/backend/aarch64/test/test_quasiimmut.py [17 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:38 starting jit/backend/aarch64/test/test_rvmprof.py [21 started in total] __ jit/backend/aarch64/test/test_recursive.py [18 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:39 starting jit/backend/aarch64/test/test_send.py [22 started in total] __ jit/backend/aarch64/test/test_runner.py [19 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:39 starting jit/backend/aarch64/test/test_slist.py [23 started in total] __ jit/backend/aarch64/test/test_rvmprof.py [20 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:40 starting jit/backend/aarch64/test/test_string.py [24 started in total] __ jit/backend/aarch64/test/test_send.py [21 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:40 starting jit/backend/aarch64/test/test_tl.py [25 started in total] __ jit/backend/aarch64/test/test_tl.py [22 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:41 starting jit/backend/aarch64/test/test_tlc.py [26 started in total] __ jit/backend/aarch64/test/test_slist.py [23 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:41 starting jit/backend/aarch64/test/test_virtual.py [27 started in total] __ jit/backend/aarch64/test/test_string.py [24 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:41 starting jit/backend/aarch64/test/test_virtualizable.py [28 started in total] __ jit/backend/aarch64/test/test_tlc.py [25 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:43 starting jit/backend/aarch64/test/test_virtualref.py [29 started in total] __ jit/backend/aarch64/test/test_virtual.py [26 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:43 starting jit/backend/aarch64/test/test_zrpy_gc.py [30 started in total] __ jit/backend/aarch64/test/test_virtualizable.py [27 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:43 starting jit/backend/aarch64/test/test_zrpy_gc_boehm.py [31 started in total] __ jit/backend/aarch64/test/test_virtualref.py [28 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:44 starting jit/backend/aarch64/test/test_zrpy_releasegil.py [32 started in total] __ jit/backend/aarch64/test/test_zrpy_gc.py [29 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:45 starting jit/backend/aarch64/test/test_zrpy_vmprof.py [33 started in total] __ jit/backend/aarch64/test/test_zrpy_gc_boehm.py [30 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:45 starting jit/backend/aarch64/test/test_ztranslation_basic.py [34 started in total] __ jit/backend/aarch64/test/test_zrpy_releasegil.py [31 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:45 starting jit/backend/aarch64/test/test_ztranslation_call_assembler.py [35 started in total] __ jit/backend/aarch64/test/test_ztranslation_call_assembler.py [32 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:46 starting jit/backend/aarch64/test/test_ztranslation_jit_stats.py [36 started in total] __ jit/backend/aarch64/test/test_zrpy_vmprof.py [33 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:46 starting jit/backend/arm/test [37 started in total] __ jit/backend/aarch64/test/test_ztranslation_basic.py [34 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:46 starting jit/backend/llgraph/test [38 started in total] __ jit/backend/aarch64/test/test_ztranslation_jit_stats.py [35 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:30:47 starting jit/backend/llsupport/test [39 started in total] __ jit/backend/arm/test [36 done in total, somefailed=False] __________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:30:48 starting jit/backend/ppc/test [40 started in total] __ jit/backend/ppc/test [37 done in total, somefailed=False] __________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:30:49 starting jit/backend/riscv/test [41 started in total] __ jit/backend/riscv/test [38 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:30:50 starting jit/backend/test [42 started in total] __ jit/backend/llgraph/test [39 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 156 items jit/backend/llgraph/test/test_llgraph.py ss...............................................................................sss..........s.sssss......s.............ss..s.....s.........s.....s........ ==================== 138 passed, 18 skipped in 2.66 seconds ==================== ++ 23:30:51 starting jit/backend/x86/test/test_assembler.py [43 started in total] __ annotator/test [40 done in total, somefailed=True] _________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.py rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 697 items annotator/test/test_annrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................XX............. annotator/test/test_annrpython_py2.py ... annotator/test/test_annsimplifyrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................XX................ annotator/test/test_argument.py ...... annotator/test/test_description.py ... annotator/test/test_model.py .........Fx.x.......... annotator/test/test_signature.py . =================================== FAILURES =================================== ____________________________ test_union_commutative ____________________________ @given(st_annotation, st_annotation) > @settings(max_examples=500, suppress_health_check=[HealthCheck.filter_too_much]) def test_union_commutative(s1, s2): annotator/test/test_model.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../virt_test/lib/python2.7/site-packages/hypothesis/core.py:563: in execute result = self.test_runner(data, run) ../virt_test/lib/python2.7/site-packages/hypothesis/executors.py:56: in default_new_style_executor return function(data) ../virt_test/lib/python2.7/site-packages/hypothesis/core.py:561: in run return test(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ s1 = SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)) s2 = SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)) @given(st_annotation, st_annotation) @settings(max_examples=500, suppress_health_check=[HealthCheck.filter_too_much]) def test_union_commutative(s1, s2): try: s_union = union(s1, s2) except UnionError: assume(False) > assert union(s2, s1) == s_union E assert SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)) == SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)) E + where SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)) = union(SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)), SomeTuple(const=(nan,), items=(SomeFloat(const=nan),))) annotator/test/test_model.py:190: AssertionError ---------------------------------- Hypothesis ---------------------------------- Falsifying example: test_union_commutative(s1=SomeTuple(const=(nan,), items=(SomeFloat(const=nan),)), s2=SomeTuple(const=(nan,), items=(SomeFloat(const=nan),))) =========================== short test summary info ============================ FAIL annotator/test/test_model.py::test_union_commutative ========= 1 failed, 686 passed, 6 xfailed, 4 xpassed in 26.13 seconds ========== ++ 23:30:53 starting jit/backend/x86/test/test_basic.py [44 started in total] __ jit/backend/x86/test/test_assembler.py [41 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_assembler.py ... =========================== 3 passed in 0.66 seconds =========================== ++ 23:30:53 starting jit/backend/x86/test/test_call.py [45 started in total] __ jit/backend/x86/test/test_call.py [42 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/backend/x86/test/test_call.py ................ ========================== 16 passed in 5.47 seconds =========================== ++ 23:31:00 starting jit/backend/x86/test/test_callbuilder.py [46 started in total] __ jit/backend/x86/test/test_callbuilder.py [43 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/backend/x86/test/test_callbuilder.py .. =========================== 2 passed in 0.07 seconds =========================== ++ 23:31:02 starting jit/backend/x86/test/test_calling_convention.py [47 started in total] __ jit/backend/llsupport/test [44 done in total, somefailed=True] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 420 items jit/backend/llsupport/test/test_asmmemmgr.py ...........s... jit/backend/llsupport/test/test_codemap.py .. jit/backend/llsupport/test/test_descr.py ....s....s............ jit/backend/llsupport/test/test_ffisupport.py . jit/backend/llsupport/test/test_gc.py .EEEEEEEEEE.. jit/backend/llsupport/test/test_gc_integration.py ..............s...... jit/backend/llsupport/test/test_gcreftracer.py ... jit/backend/llsupport/test/test_recompilation.py ..... jit/backend/llsupport/test/test_regalloc.py ...............................................s. jit/backend/llsupport/test/test_regalloc_integration.py ...........................ssssss jit/backend/llsupport/test/test_rewrite.py ........................................................................................... jit/backend/llsupport/test/test_runner.py ssssssssssssss.sssssssssssssssss.ss..sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..sssssss.s.s.s.s.ssssssssssssssssssssssssssssssssssss jit/backend/llsupport/test/test_skiplist.py . jit/backend/llsupport/test/test_symbolic.py ...... jit/backend/llsupport/test/test_zrpy_gc_direct.py FF ==================================== ERRORS ==================================== ________________ ERROR at setup of TestFramework.test_gc_malloc ________________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f44790f4dd0> meth = <bound method TestFramework.test_gc_malloc of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f44790f4dd0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestFramework.test_gc_malloc_array _____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478f92150> meth = <bound method TestFramework.test_gc_malloc_array of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478f92150>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestFramework.test_gc_malloc_str ______________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478e08910> meth = <bound method TestFramework.test_gc_malloc_str of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478e08910>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestFramework.test_gc_malloc_unicode ____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478bb6bd0> meth = <bound method TestFramework.test_gc_malloc_unicode of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478bb6bd0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestFramework.test_gen_write_barrier ____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478e29810> meth = <bound method TestFramework.test_gen_write_barrier of <rpython.jit.backend.llsupport.test.test_gc.TestFramework object at 0x7f4478e29810>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc ____________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f447897d410> meth = <bound method TestFrameworkMiniMark.test_gc_malloc of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f447897d410>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc_array _________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478d1aa90> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_array of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478d1aa90>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc_str __________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478eb73d0> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_str of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478eb73d0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestFrameworkMiniMark.test_gc_malloc_unicode ________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478af3710> meth = <bound method TestFrameworkMiniMark.test_gc_malloc_unicode of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478af3710>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestFrameworkMiniMark.test_gen_write_barrier ________ self = <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478e7e3d0> meth = <bound method TestFrameworkMiniMark.test_gen_write_barrier of <rpython.jit.backend.llsupport.test.test_gc.TestFrameworkMiniMark object at 0x7f4478e7e3d0>> def setup_method(self, meth): class config_(object): class translation(object): gc = self.gc gcrootfinder = 'shadowstack' gctransformer = 'framework' gcremovetypeptr = False class FakeTranslator(object): config = config_ class FakeCPU(object): def cast_adr_to_int(self, adr): if not adr: return 0 try: ptr = llmemory.cast_adr_to_ptr(adr, gc_ll_descr.WB_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_failing_case return 42 except lltype.InvalidCast: ptr = llmemory.cast_adr_to_ptr( adr, gc_ll_descr.WB_ARRAY_FUNCPTR) assert ptr._obj._callable == \ llop1._write_barrier_from_array_failing_case return 43 gcdescr = get_description(config_) llop1 = FakeLLOp() gc_ll_descr = gc.GcLLDescr_framework(gcdescr, FakeTranslator(), None, > llop1) jit/backend/llsupport/test/test_gc.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError =================================== FAILURES =================================== ____________________ test_guards_translated_with_gctypeptr _____________________ def test_guards_translated_with_gctypeptr(): > run_guards_translated(gcremovetypeptr=False) jit/backend/llsupport/test/test_zrpy_gc_direct.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/test_zrpy_gc_direct.py:45: in run_guards_translated gcdescr=get_description(t.config)) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 8 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ___________________ test_guards_translated_without_gctypeptr ___________________ def test_guards_translated_without_gctypeptr(): > run_guards_translated(gcremovetypeptr=True) jit/backend/llsupport/test/test_zrpy_gc_direct.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/test_zrpy_gc_direct.py:45: in run_guards_translated gcdescr=get_description(t.config)) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 8 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL jit/backend/llsupport/test/test_zrpy_gc_direct.py::test_guards_translated_with_gctypeptr FAIL jit/backend/llsupport/test/test_zrpy_gc_direct.py::test_guards_translated_without_gctypeptr ========= 2 failed, 252 passed, 156 skipped, 10 error in 22.13 seconds ========= ++ 23:31:11 starting jit/backend/x86/test/test_del.py [48 started in total] __ jit/backend/x86/test/test_del.py [45 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_del.py ... =========================== 3 passed in 1.43 seconds =========================== ++ 23:31:14 starting jit/backend/x86/test/test_dict.py [49 started in total] __ jit/backend/x86/test/test_calling_convention.py [46 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/backend/x86/test/test_calling_convention.py ....... ========================== 7 passed in 39.85 seconds =========================== ++ 23:31:46 starting jit/backend/x86/test/test_exception.py [50 started in total] __ jit/backend/x86/test/test_exception.py [47 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items jit/backend/x86/test/test_exception.py s............................... ===================== 31 passed, 1 skipped in 9.52 seconds ===================== ++ 23:31:58 starting jit/backend/x86/test/test_fficall.py [51 started in total] __ jit/backend/x86/test/test_dict.py [48 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items jit/backend/x86/test/test_dict.py .................... ========================== 20 passed in 45.95 seconds ========================== ++ 23:32:05 starting jit/backend/x86/test/test_float.py [52 started in total] __ jit/backend/x86/test/test_float.py [49 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items jit/backend/x86/test/test_float.py .......... ========================== 10 passed in 3.46 seconds =========================== ++ 23:32:11 starting jit/backend/x86/test/test_jitlog.py [53 started in total] __ jit/backend/x86/test/test_fficall.py [50 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/x86/test/test_fficall.py ...s........ ==================== 11 passed, 1 skipped in 14.14 seconds ===================== ++ 23:32:15 starting jit/backend/x86/test/test_jump.py [54 started in total] __ jit/backend/x86/test/test_jump.py [51 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/x86/test/test_jump.py ............ ========================== 12 passed in 5.68 seconds =========================== ++ 23:32:22 starting jit/backend/x86/test/test_list.py [55 started in total] __ jit/backend/x86/test/test_jitlog.py [52 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_jitlog.py ... ========================== 3 passed in 14.22 seconds =========================== ++ 23:32:28 starting jit/backend/x86/test/test_llop.py [56 started in total] __ jit/backend/x86/test/test_llop.py [53 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/x86/test/test_llop.py ..... =========================== 5 passed in 2.69 seconds =========================== ++ 23:32:33 starting jit/backend/x86/test/test_longlong.py [57 started in total] __ jit/backend/x86/test/test_longlong.py [54 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items jit/backend/x86/test/test_longlong.py ssssssssssssss ========================== 14 skipped in 0.18 seconds ========================== ++ 23:32:34 starting jit/backend/x86/test/test_loop_unroll.py [58 started in total] __ jit/backend/x86/test/test_basic.py [55 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 194 items jit/backend/x86/test/test_basic.py .s...........................................................................................................................................s................s..............s...........s........ ==================== 189 passed, 5 skipped in 93.40 seconds ==================== ++ 23:32:34 starting jit/backend/x86/test/test_quasiimmut.py [59 started in total] __ jit/backend/x86/test/test_list.py [56 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items jit/backend/x86/test/test_list.py ...s................... ===================== 22 passed, 1 skipped in 9.71 seconds ===================== ++ 23:32:35 starting jit/backend/x86/test/test_rawmem.py [60 started in total] __ jit/backend/x86/test/test_rawmem.py [57 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/backend/x86/test/test_rawmem.py ....... =========================== 7 passed in 2.23 seconds =========================== ++ 23:32:38 starting jit/backend/x86/test/test_recursive.py [61 started in total] __ jit/backend/x86/test/test_quasiimmut.py [58 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items jit/backend/x86/test/test_quasiimmut.py ..............s..... ===================== 19 passed, 1 skipped in 6.78 seconds ===================== ++ 23:32:43 starting jit/backend/x86/test/test_regalloc.py [62 started in total] __ jit/backend/x86/test/test_regalloc.py [59 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items jit/backend/x86/test/test_regalloc.py ....s........s..... ===================== 17 passed, 2 skipped in 0.92 seconds ===================== ++ 23:32:45 starting jit/backend/x86/test/test_regloc.py [63 started in total] __ jit/backend/x86/test/test_regloc.py [60 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items jit/backend/x86/test/test_regloc.py .......................s. ===================== 24 passed, 1 skipped in 0.14 seconds ===================== ++ 23:32:47 starting jit/backend/x86/test/test_runner.py [64 started in total] __ jit/backend/x86/test/test_loop_unroll.py [61 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/backend/x86/test/test_loop_unroll.py ..............................ss.s... ==================== 34 passed, 3 skipped in 24.58 seconds ===================== ++ 23:33:02 starting jit/backend/x86/test/test_rvmprof.py [65 started in total] __ jit/backend/x86/test/test_rvmprof.py [62 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_rvmprof.py ... =========================== 3 passed in 3.72 seconds =========================== ++ 23:33:08 starting jit/backend/x86/test/test_rx86.py [66 started in total] __ jit/backend/x86/test/test_rx86.py [63 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 34 items jit/backend/x86/test/test_rx86.py .................................. ========================== 34 passed in 0.06 seconds =========================== ++ 23:33:09 starting jit/backend/x86/test/test_rx86_32_auto_encoding.py [67 started in total] __ jit/backend/x86/test/test_recursive.py [64 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/backend/x86/test/test_recursive.py ................s........s................ ==================== 40 passed, 2 skipped in 58.04 seconds ===================== ++ 23:33:44 starting jit/backend/x86/test/test_rx86_64_auto_encoding.py [68 started in total] __ jit/backend/test [65 done in total, somefailed=False] ______________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/backend/test/test_detect_cpu.py ..... jit/backend/test/test_ll_random.py . jit/backend/test/test_model.py . jit/backend/test/test_random.py . jit/backend/test/test_zll_stress_0.py . jit/backend/test/test_zll_stress_1.py . jit/backend/test/test_zll_stress_2.py . jit/backend/test/test_zll_stress_3.py . ========================= 12 passed in 221.62 seconds ========================== ++ 23:34:35 starting jit/backend/x86/test/test_send.py [69 started in total] __ jit/backend/x86/test/test_send.py [66 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items jit/backend/x86/test/test_send.py ....................... ========================== 23 passed in 12.06 seconds ========================== ++ 23:34:49 starting jit/backend/x86/test/test_slist.py [70 started in total] __ jit/backend/x86/test/test_slist.py [67 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/backend/x86/test/test_slist.py s..... ===================== 5 passed, 1 skipped in 2.71 seconds ====================== ++ 23:34:53 starting jit/backend/x86/test/test_string.py [71 started in total] __ jit/backend/x86/test/test_runner.py [68 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 [c5817e1ac7fce80] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887000 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA00000008F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3 [c5817e1ac8dd480] jit-backend-dump} [c5817e1acc2dc80] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887090 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA000000049BB78EC4B0F387F0000498B1B49C743F80000000049C7030000000048895D288F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3 [c5817e1acd23080] jit-backend-dump} [c5817e1ad6cb900] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887130 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B518010000488B7424104889EF4883EC0849BB78EC4B0F387F0000498B0B48894D28498B5BF849C743F80000000049C703000000004D8D9B98136B0441FFD34889C5488B4D2848C745280000000049BB78EC4B0F387F000049890B49895BF84883C40848C7451800000000488B4D40488B4548488B5550488B5D58488B7560488B7D684C8B45704C8B4D784C8B95800000004C8BA5880000004C8BAD900000004C8BB5980000004C8BBDA0000000F20F1085A8000000F20F108DB0000000F20F1095B8000000F20F109DC0000000F20F10A5C8000000F20F10ADD0000000F20F10B5D8000000F20F10BDE0000000F2440F1085E8000000F2440F108DF0000000F2440F1095F8000000F2440F109D00010000F2440F10A508010000F2440F10AD10010000F2440F10B518010000C3 [c5817e1ad9be500] jit-backend-dump} [c5817e1ade5a400] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887330 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B5180100008F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3 [c5817e1adfeac80] jit-backend-dump} [c5817e1ae560980] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887430 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B51801000049BB78EC4B0F387F0000498B1B49C743F80000000049C7030000000048895D288F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3 [c5817e1ae714400] jit-backend-dump} [c5817e1ae90d000] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887560 +0 49BB78EC4B0F387F0000498B0349C743F80000000049C703000000004889452848C74508000000004889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3 [c5817e1ae9a3480] jit-backend-dump} [c5817e1aec32300] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d8875c0 +0 48895D584C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA00000004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B5D58488B7560488B7D684C8B45704C8B4D784C8B95800000004C8BA5880000004C8BAD900000004C8BB5980000004C8BBDA0000000C3 [c5817e1aed04080] jit-backend-dump} [c5817e1aee6a300] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887650 +0 4C8945704C894D784C8995800000004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B7560488B7D684C8B45704C8B4D784C8B9580000000C3 [c5817e1aeedc180] jit-backend-dump} [c5817e1af5fec00] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d8876a0 +0 48895D584C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B5180100004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B5D58488B7560488B7D684C8B45704C8B4D784C8B95800000004C8BA5880000004C8BAD900000004C8BB5980000004C8BBDA0000000F20F1085A8000000F20F108DB0000000F20F1095B8000000F20F109DC0000000F20F10A5C8000000F20F10ADD0000000F20F10B5D8000000F20F10BDE0000000F2440F1085E8000000F2440F108DF0000000F2440F1095F8000000F2440F109D00010000F2440F10A508010000F2440F10AD10010000F2440F10B518010000C3 [c5817e1af845a00] jit-backend-dump} [c5817e1afe55a00] {jit-backend-dump BACKEND x86_64 SYS_EXECUTABLE ?? CODE_DUMP @7f380d887830 +0 4C8945704C894D784C899580000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B5180100004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B7560488B7D684C8B45704C8B4D784C8B9580000000F20F1085A8000000F20F108DB0000000F20F1095B8000000F20F109DC0000000F20F10A5C8000000F20F10ADD0000000F20F10B5D8000000F20F10BDE0000000F2440F1085E8000000F2440F108DF0000000F2440F1095F8000000F2440F109D00010000F2440F10A508010000F2440F10AD10010000F2440F10B518010000C3 [c5817e1b0047700] jit-backend-dump} collected 172 items jit/backend/x86/test/test_runner.py ............................................................................................s...read saved errno: 24 read saved errno: 0 read saved errno: 25 read saved errno: 0 .ss.....................ss...........................sssss....s....s....s.s. =================== 158 passed, 14 skipped in 137.03 seconds =================== ++ 23:35:12 starting jit/backend/x86/test/test_symbolic_x86.py [72 started in total] __ jit/backend/x86/test/test_symbolic_x86.py [69 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/backend/x86/test/test_symbolic_x86.py ...... =========================== 6 passed in 0.04 seconds =========================== ++ 23:35:14 starting jit/backend/x86/test/test_tl.py [73 started in total] __ jit/backend/x86/test/test_tl.py [70 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/x86/test/test_tl.py ..... =========================== 5 passed in 6.97 seconds =========================== ++ 23:35:22 starting jit/backend/x86/test/test_tlc.py [74 started in total] __ jit/backend/x86/test/test_tlc.py [71 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_tlc.py ss. ===================== 1 passed, 2 skipped in 3.07 seconds ====================== ++ 23:35:27 starting jit/backend/x86/test/test_tracelimit.py [75 started in total] __ jit/backend/x86/test/test_rx86_32_auto_encoding.py [72 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 615 items jit/backend/x86/test/test_rx86_32_auto_encoding.py ..................................................s...................................................................................s..s....................................................................................................................s........................................................................................................................................................................................................................................................................................................................................................................ =================== 611 passed, 4 skipped in 137.90 seconds ==================== ++ 23:35:34 starting jit/backend/x86/test/test_virtual.py [76 started in total] __ jit/backend/x86/test/test_string.py [73 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 97 items jit/backend/x86/test/test_string.py .............................s............................................s...................... ==================== 95 passed, 2 skipped in 47.57 seconds ===================== ++ 23:35:45 starting jit/backend/x86/test/test_virtualizable.py [77 started in total] __ jit/backend/x86/test/test_virtual.py [74 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 52 items jit/backend/x86/test/test_virtual.py .................................................... ========================== 52 passed in 19.80 seconds ========================== ++ 23:35:58 starting jit/backend/x86/test/test_virtualref.py [78 started in total] __ jit/backend/x86/test/test_virtualref.py [75 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/backend/x86/test/test_virtualref.py ..s.................. ===================== 20 passed, 1 skipped in 8.61 seconds ===================== ++ 23:36:08 starting jit/backend/x86/test/test_x86vector.py [79 started in total] __ jit/backend/x86/test/test_virtualizable.py [76 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/backend/x86/test/test_virtualizable.py s...x................................ =============== 35 passed, 1 skipped, 1 xfailed in 23.71 seconds =============== ++ 23:36:13 starting jit/backend/x86/test/test_zmath.py [80 started in total] __ jit/backend/x86/test/test_zmath.py [77 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zmath.py . =========================== 1 passed in 7.57 seconds =========================== ++ 23:36:23 starting jit/backend/x86/test/test_zrpy_gc.py [81 started in total] __ jit/backend/x86/test/test_rx86_64_auto_encoding.py [78 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 616 items jit/backend/x86/test/test_rx86_64_auto_encoding.py ..................................................s...................................................................................s..s....................................................................................................................s......................................................................................................................................................................................................................................................................................................................................................................... =================== 612 passed, 4 skipped in 153.71 seconds ==================== ++ 23:36:23 starting jit/backend/x86/test/test_zrpy_gc_boehm.py [82 started in total] __ jit/backend/x86/test/test_tracelimit.py [79 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/backend/x86/test/test_tracelimit.py ..... ========================== 5 passed in 58.44 seconds =========================== ++ 23:36:32 starting jit/backend/x86/test/test_zrpy_releasegil.py [83 started in total] __ jit/backend/x86/test/test_zrpy_gc.py [80 done in total, somefailed=True] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 19 items jit/backend/x86/test/test_zrpy_gc.py EEEEEEEEEEEEEEEEEEE ==================================== ERRORS ==================================== __________ ERROR at setup of TestShadowStack.test_compile_framework_1 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stdout setup ----------------------------- {'compile_framework_call_assembler': 11, 'compile_framework_external_exception_handling': 12, 'compile_framework_bug1': 10, 'multiple_pinned': 16, 'pinned_unpin': 18, 'compile_framework_vref': 15, 'pinned_simple': 17, 'compile_framework_float': 13, 'compile_framework_minimal_size_in_nursery': 14, 'compile_framework_7_interior': 7, 'compile_framework_8': 8, 'compile_framework_9': 9, 'compile_framework_3_extra': 3, 'compile_framework_4': 4, 'compile_framework_5': 5, 'compile_framework_7': 6, 'compile_framework_1': 0, 'compile_framework_2': 1, 'compile_framework_3': 2} ---------------------------- Captured stderr setup ----------------------------- [rtyper] specializing: 100 / 640 blocks (15%) [rtyper] specializing: 200 / 781 blocks (25%) [rtyper] specializing: 400 / 1439 blocks (27%) [rtyper] specializing: 500 / 1439 blocks (34%) [rtyper] specializing: 600 / 1439 blocks (41%) [rtyper] specializing: 700 / 1439 blocks (48%) [rtyper] specializing: 800 / 1439 blocks (55%) [rtyper] specializing: 900 / 1439 blocks (62%) [rtyper] specializing: 1000 / 1439 blocks (69%) [rtyper] specializing: 1100 / 1439 blocks (76%) [rtyper] specializing: 1200 / 1443 blocks (83%) [rtyper] specializing: 1300 / 1443 blocks (90%) [rtyper] specializing: 1400 / 1443 blocks (97%) [rtyper] -=- specialized 1443 blocks -=- [rtyper] -=- specialized 4 more blocks -=- __________ ERROR at setup of TestShadowStack.test_compile_framework_2 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_3 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestShadowStack.test_compile_framework_3_extra _______ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_4 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_5 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_7 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestShadowStack.test_compile_framework_7_interior ______ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_8 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestShadowStack.test_compile_framework_9 __________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestShadowStack.test_compile_framework_external_exception_handling cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestShadowStack.test_compile_framework_bug1 _________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestShadowStack.test_compile_framework_vref _________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestShadowStack.test_compile_framework_float ________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestShadowStack.test_compile_framework_minimal_size_in_nursery cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestShadowStack.test_compile_framework_call_assembler ____ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____________ ERROR at setup of TestShadowStack.test_pinned_simple _____________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____________ ERROR at setup of TestShadowStack.test_pinned_unpin ______________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____________ ERROR at setup of TestShadowStack.test_multiple_pinned ____________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_gc.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError =========================== 19 error in 7.75 seconds =========================== ++ 23:36:33 starting jit/backend/x86/test/test_zrpy_vecopt.py [84 started in total] __ jit/backend/x86/test/test_zrpy_releasegil.py [81 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/test/test_zrpy_releasegil.py EEE ==================================== ERRORS ==================================== ________________ ERROR at setup of TestShadowStack.test_simple _________________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_releasegil.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stdout setup ----------------------------- {'simple': 2, 'get_set_errno': 1, 'close_stack': 0} ---------------------------- Captured stderr setup ----------------------------- [rtyper] specializing: 100 / 503 blocks (19%) [rtyper] specializing: 200 / 634 blocks (31%) [rtyper] specializing: 300 / 1336 blocks (22%) [rtyper] specializing: 400 / 1336 blocks (29%) [rtyper] specializing: 500 / 1336 blocks (37%) [rtyper] specializing: 600 / 1340 blocks (44%) [rtyper] specializing: 700 / 1340 blocks (52%) [rtyper] specializing: 800 / 1340 blocks (59%) [rtyper] specializing: 900 / 1340 blocks (67%) [rtyper] specializing: 1000 / 1340 blocks (74%) [rtyper] specializing: 1100 / 1340 blocks (82%) [rtyper] specializing: 1200 / 1340 blocks (89%) [rtyper] specializing: 1300 / 1340 blocks (97%) [rtyper] -=- specialized 1340 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ______________ ERROR at setup of TestShadowStack.test_close_stack ______________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_releasegil.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____________ ERROR at setup of TestShadowStack.test_get_set_errno _____________ cls = <class 'rpython.jit.backend.x86.test.test_zrpy_releasegil.TestShadowStack'> def setup_class(cls): funcs = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue definefunc = getattr(cls, fullname) _, name = fullname.split('_', 1) beforefunc, loopfunc, afterfunc = definefunc.im_func(cls) if beforefunc is None: def beforefunc(n, x): return n, x, None, None, None, None, None, None, None, None, None, '' if afterfunc is None: def afterfunc(n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s): pass beforefunc.__name__ = 'before_'+name loopfunc.__name__ = 'loop_'+name afterfunc.__name__ = 'after_'+name funcs.append((beforefunc, loopfunc, afterfunc)) assert name not in name_to_func name_to_func[name] = len(name_to_func) print(name_to_func) def allfuncs(name, n): x = X() x.foo = 2 main_allfuncs(name, n, x) x.foo = 5 return weakref.ref(x) def main_allfuncs(name, n, x): num = name_to_func[name] n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][0](n, x) while n > 0: myjitdriver.can_enter_jit(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) myjitdriver.jit_merge_point(num=num, n=n, x=x, x0=x0, x1=x1, x2=x2, x3=x3, x4=x4, x5=x5, x6=x6, x7=x7, l=l, s=s) n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s = funcs[num][1]( n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) funcs[num][2](n, x, x0, x1, x2, x3, x4, x5, x6, x7, l, s) myjitdriver = JitDriver(greens = ['num'], reds = ['n', 'x', 'x0', 'x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'l', 's'], is_recursive=True) cls.main_allfuncs = staticmethod(main_allfuncs) cls.name_to_func = name_to_func OLD_DEBUG = GcLLDescr_framework.DEBUG try: GcLLDescr_framework.DEBUG = True cls.cbuilder = compile(get_entry(allfuncs), cls.gc, gcrootfinder=cls.gcrootfinder, jit=True, > thread=True) jit/backend/llsupport/test/zrpy_gc_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/llsupport/test/zrpy_gc_test.py:105: in compile apply_jit(t) jit/metainterp/warmspot.py:51: in apply_jit **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError =========================== 3 error in 2.83 seconds ============================ ++ 23:36:37 starting jit/backend/x86/test/test_zrpy_vmprof.py [85 started in total] __ jit/backend/x86/test/test_zrpy_vmprof.py [82 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zrpy_vmprof.py F =================================== FAILURES =================================== ___________________________ TestZVMprof.test_vmprof ____________________________ self = <rpython.jit.backend.x86.test.test_zrpy_vmprof.TestZVMprof object at 0x7f0b87d6a110> def test_vmprof(self): from rpython.rlib import rvmprof class MyCode: _vmprof_unique_id = 0 _vmprof_weak_list = RWeakListMixin() ; _vmprof_weak_list.initialize() def __init__(self, name): self.name = name def get_name(code): return code.name code2 = MyCode("py:y:foo:4") rvmprof.register_code(code2, get_name) try: rvmprof.register_code_object_class(MyCode, get_name) except rvmprof.VMProfPlatformUnsupported as e: py.test.skip(str(e)) def get_unique_id(code): return rvmprof.get_unique_id(code) driver = JitDriver(greens = ['code'], reds = ['i', 's', 'num'], is_recursive=True, get_unique_id=get_unique_id) @rvmprof.vmprof_execute_code("xcode13", lambda code, num: code) def main(code, num): return main_jitted(code, num) def main_jitted(code, num): s = 0 i = 0 while i < num: driver.jit_merge_point(code=code, i=i, s=s, num=num) s += (i << 1) if i % 3 == 0 and code is not code2: main(code2, 100) i += 1 return s tmpfilename = str(udir.join('test_rvmprof')) def f(num): rthread.get_ident() # register TLOFS_thread_ident code = MyCode("py:x:foo:3") rvmprof.register_code(code, get_name) fd = os.open(tmpfilename, os.O_WRONLY | os.O_CREAT, 0666) period = 0.0001 rvmprof.enable(fd, period) res = main(code, num) #assert res == 499999500000 rvmprof.disable() os.close(fd) return 0 def check_vmprof_output(): from vmprof import read_profile tmpfile = str(udir.join('test_rvmprof')) stats = read_profile(tmpfile) t = stats.get_tree() assert t.name == 'py:x:foo:3' assert len(t.children) == 1 # jit > self.meta_interp(f, [1000000], inline=True) jit/backend/llsupport/test/zrpy_vmprof_test.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/test/support.py:63: in meta_interp **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 668 blocks (14%) [rtyper] specializing: 200 / 724 blocks (27%) [rtyper] specializing: 300 / 734 blocks (40%) [rtyper] specializing: 400 / 749 blocks (53%) [rtyper] specializing: 500 / 754 blocks (66%) [rtyper] specializing: 600 / 758 blocks (79%) [rtyper] specializing: 700 / 758 blocks (92%) [rtyper] -=- specialized 758 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL jit/backend/x86/test/test_zrpy_vmprof.py::TestZVMprof::()::test_vmprof =========================== 1 failed in 1.37 seconds =========================== ++ 23:36:39 starting jit/backend/x86/test/test_ztranslation_basic.py [86 started in total] __ jit/backend/x86/test/test_zrpy_vecopt.py [83 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zrpy_vecopt.py . ========================== 1 passed in 145.41 seconds ========================== ++ 23:39:05 starting jit/backend/x86/test/test_ztranslation_call_assembler.py [87 started in total] __ jit/backend/x86/test/test_zrpy_gc_boehm.py [84 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_zrpy_gc_boehm.py . ========================== 1 passed in 261.80 seconds ========================== ++ 23:40:50 starting jit/backend/x86/test/test_ztranslation_external_exception.py [88 started in total] __ jit/backend/x86/test/test_ztranslation_external_exception.py [85 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_ztranslation_external_exception.py F =================================== FAILURES =================================== _ TestTranslationRemoveTypePtrX86.test_external_exception_handling_translates __ self = <rpython.jit.backend.x86.test.test_ztranslation_external_exception.TestTranslationRemoveTypePtrX86 object at 0x7f794f1b5d50> def test_external_exception_handling_translates(self): jitdriver = JitDriver(greens = [], reds = ['n', 'total']) class ImDone(Exception): def __init__(self, resvalue): self.resvalue = resvalue @dont_look_inside def f(x, total): if x <= 30: raise ImDone(total * 10) if x > 200: return 2 raise ValueError @dont_look_inside def g(x): if x > 150: raise ValueError return 2 class Base: def meth(self): return 2 class Sub(Base): def meth(self): return 1 @dont_look_inside def h(x): if x < 20000: return Sub() else: return Base() def myportal(i): set_param(jitdriver, "threshold", 3) set_param(jitdriver, "trace_eagerness", 2) total = 0 n = i while True: jitdriver.can_enter_jit(n=n, total=total) jitdriver.jit_merge_point(n=n, total=total) try: total += f(n, total) except ValueError: total += 1 try: total += g(n) except ValueError: total -= 1 n -= h(n).meth() # this is to force a GUARD_CLASS def main(i): try: myportal(i) except ImDone as e: return e.resvalue # XXX custom fishing, depends on the exact env var and format logfile = udir.join('test_ztranslation.log') os.environ['PYPYLOG'] = 'jit-log-opt:%s' % (logfile,) try: > res = self.meta_interp(main, [400]) jit/backend/llsupport/test/ztranslation_test.py:334: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jit/backend/test/support.py:63: in meta_interp **kwds) jit/metainterp/warmspot.py:242: in __init__ self.build_cpu(CPUClass, **kwds) jit/metainterp/warmspot.py:494: in build_cpu translate_support_code, gcdescr=self.gcdescr) jit/backend/x86/runner.py:43: in __init__ translate_support_code, gcdescr) jit/backend/llsupport/llmodel.py:58: in __init__ self.gc_ll_descr = get_ll_description(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:664: in get_ll_description return cls(gcdescr, translator, rtyper) jit/backend/llsupport/gc.py:334: in __init__ self._make_layoutbuilder() jit/backend/llsupport/gc.py:373: in _make_layoutbuilder self.layoutbuilder = framework.TransformerLayoutBuilder(translator) memory/gctransform/framework.py:1679: in __init__ GCClass, _ = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 41 blocks -=- [rtyper] -=- specialized 4 more blocks -=- =========================== short test summary info ============================ FAIL jit/backend/x86/test/test_ztranslation_external_exception.py::TestTranslationRemoveTypePtrX86::()::test_external_exception_handling_translates =========================== 1 failed in 0.59 seconds =========================== ++ 23:40:52 starting jit/backend/x86/test/test_ztranslation_jit_stats.py [89 started in total] __ jit/backend/x86/test/test_ztranslation_basic.py [86 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_ztranslation_basic.py . ========================== 1 passed in 265.68 seconds ========================== ++ 23:41:14 starting jit/backend/x86/tool/test/test_viewcode.py [90 started in total] __ jit/backend/x86/tool/test/test_viewcode.py [87 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/backend/x86/tool/test/test_viewcode.py ... =========================== 3 passed in 0.03 seconds =========================== ++ 23:41:15 starting jit/backend/zarch/test [91 started in total] __ jit/backend/zarch/test [88 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items ========================= no tests ran in 0.00 seconds ========================= ++ 23:41:16 starting jit/codewriter/test [92 started in total] __ jit/codewriter/test [89 done in total, somefailed=False] ___________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 530 items jit/codewriter/test/test_assembler.py ...s.......... jit/codewriter/test/test_call.py .......s....... jit/codewriter/test/test_codewriter.py ....... jit/codewriter/test/test_effectinfo.py ............ jit/codewriter/test/test_flatten.py .................................................. jit/codewriter/test/test_format.py ............ jit/codewriter/test/test_jitcode.py . jit/codewriter/test/test_jtransform.py .............................................................................................................................................................................................................................................................................................................................................. jit/codewriter/test/test_list.py ............. jit/codewriter/test/test_liveness.py ................ jit/codewriter/test/test_longlong.py .ssssssss jit/codewriter/test/test_policy.py ........... jit/codewriter/test/test_regalloc.py ............ jit/codewriter/test/test_support.py ........... jit/codewriter/test/test_void_list.py ............. ==================== 520 passed, 10 skipped in 6.05 seconds ==================== ++ 23:41:23 starting jit/metainterp/optimizeopt/test/test_costmodel.py [93 started in total] __ jit/metainterp/optimizeopt/test/test_costmodel.py [90 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/optimizeopt/test/test_costmodel.py ........... ========================== 11 passed in 0.66 seconds =========================== ++ 23:41:25 starting jit/metainterp/optimizeopt/test/test_dependency.py [94 started in total] __ jit/metainterp/optimizeopt/test/test_dependency.py [91 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 36 items jit/metainterp/optimizeopt/test/test_dependency.py .................................... ========================== 36 passed in 0.66 seconds =========================== ++ 23:41:27 starting jit/metainterp/optimizeopt/test/test_guard.py [95 started in total] __ jit/metainterp/optimizeopt/test/test_guard.py [92 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/optimizeopt/test/test_guard.py ....... =========================== 7 passed in 0.63 seconds =========================== ++ 23:41:29 starting jit/metainterp/optimizeopt/test/test_intbound.py [96 started in total] __ jit/backend/x86/test/test_x86vector.py [93 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 94 items jit/backend/x86/test/test_x86vector.py .............................................................................................. ========================= 94 passed in 387.43 seconds ========================== ++ 23:42:45 starting jit/metainterp/optimizeopt/test/test_intdiv.py [97 started in total] __ jit/metainterp/optimizeopt/test/test_intdiv.py [94 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/optimizeopt/test/test_intdiv.py ... =========================== 3 passed in 1.12 seconds =========================== ++ 23:42:47 starting jit/metainterp/optimizeopt/test/test_optimizebasic.py [98 started in total] __ jit/metainterp/optimizeopt/test/test_optimizebasic.py [95 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 136 items jit/metainterp/optimizeopt/test/test_optimizebasic.py ............................................x.........................................................x..............x.................. ==================== 133 passed, 3 xfailed in 2.03 seconds ===================== ++ 23:42:51 starting jit/metainterp/optimizeopt/test/test_optimizebridge.py [99 started in total] __ jit/metainterp/optimizeopt/test/test_optimizebridge.py [96 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items jit/metainterp/optimizeopt/test/test_optimizebridge.py .... =========================== 4 passed in 0.76 seconds =========================== ++ 23:42:52 starting jit/metainterp/optimizeopt/test/test_optimizeheap.py [100 started in total] __ jit/metainterp/optimizeopt/test/test_optimizeheap.py [97 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 111 items jit/metainterp/optimizeopt/test/test_optimizeheap.py ..........................................x......................x............................................. ==================== 109 passed, 2 xfailed in 1.36 seconds ===================== ++ 23:42:55 starting jit/metainterp/optimizeopt/test/test_optimizeintbound.py [101 started in total] __ jit/metainterp/optimizeopt/test/test_optimizeintbound.py [98 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 201 items jit/metainterp/optimizeopt/test/test_optimizeintbound.py ......................................................................................................................................................................................................... ========================== 201 passed in 2.33 seconds ========================== ++ 23:42:58 starting jit/metainterp/optimizeopt/test/test_optimizeopt.py [102 started in total] __ jit/metainterp/optimizeopt/test/test_optimizeopt.py [99 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 417 items jit/metainterp/optimizeopt/test/test_optimizeopt.py ......................................................................................................................x..............................................................................................x..............x..............................................................................................................x.....x.....x....................................x............................ ==================== 410 passed, 7 xfailed in 5.75 seconds ===================== ++ 23:43:05 starting jit/metainterp/optimizeopt/test/test_rawbuffer.py [103 started in total] __ jit/metainterp/optimizeopt/test/test_rawbuffer.py [100 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/optimizeopt/test/test_rawbuffer.py ....... =========================== 7 passed in 0.56 seconds =========================== ++ 23:43:07 starting jit/metainterp/optimizeopt/test/test_schedule.py [104 started in total] __ jit/metainterp/optimizeopt/test/test_schedule.py [101 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items jit/metainterp/optimizeopt/test/test_schedule.py ................. ========================== 17 passed in 0.68 seconds =========================== ++ 23:43:09 starting jit/metainterp/optimizeopt/test/test_short.py [105 started in total] __ jit/metainterp/optimizeopt/test/test_short.py [102 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/metainterp/optimizeopt/test/test_short.py .. =========================== 2 passed in 0.56 seconds =========================== ++ 23:43:10 starting jit/metainterp/optimizeopt/test/test_unroll.py [106 started in total] __ jit/metainterp/optimizeopt/test/test_unroll.py [103 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items jit/metainterp/optimizeopt/test/test_unroll.py ............ ========================== 12 passed in 0.73 seconds =========================== ++ 23:43:12 starting jit/metainterp/optimizeopt/test/test_util.py [107 started in total] __ jit/metainterp/optimizeopt/test/test_util.py [104 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/optimizeopt/test/test_util.py ... =========================== 3 passed in 0.63 seconds =========================== ++ 23:43:14 starting jit/metainterp/optimizeopt/test/test_vecopt.py [108 started in total] __ jit/metainterp/optimizeopt/test/test_vecopt.py [105 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 72 items jit/metainterp/optimizeopt/test/test_vecopt.py ........................s............................................... ===================== 71 passed, 1 skipped in 0.98 seconds ===================== ++ 23:43:15 starting jit/metainterp/optimizeopt/test/test_virtualstate.py [109 started in total] __ jit/metainterp/optimizeopt/test/test_virtualstate.py [106 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 49 items jit/metainterp/optimizeopt/test/test_virtualstate.py ...........................................ssssss ===================== 43 passed, 6 skipped in 1.12 seconds ===================== ++ 23:43:17 starting jit/metainterp/optimizeopt/test/test_z3checktests.py [110 started in total] __ jit/metainterp/optimizeopt/test/test_intbound.py [107 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 133 items jit/metainterp/optimizeopt/test/test_intbound.py ..................................................................................................................................... ========================= 133 passed in 107.53 seconds ========================= ++ 23:43:17 starting jit/metainterp/optimizeopt/test/test_z3intbound.py [111 started in total] __ jit/metainterp/optimizeopt/test/test_z3checktests.py [108 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.65 seconds =========================== ++ 23:43:19 starting jit/metainterp/ruleopt/test/test_codegen.py [112 started in total] __ jit/metainterp/optimizeopt/test/test_z3intbound.py [109 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.71 seconds =========================== ++ 23:43:19 starting jit/metainterp/ruleopt/test/test_parse.py [113 started in total] __ jit/metainterp/ruleopt/test/test_codegen.py [110 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:43:20 starting jit/metainterp/ruleopt/test/test_prove.py [114 started in total] __ jit/metainterp/ruleopt/test/test_parse.py [111 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:43:20 starting jit/metainterp/test/test_ajit.py [115 started in total] __ jit/metainterp/ruleopt/test/test_prove.py [112 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:43:21 starting jit/metainterp/test/test_blackhole.py [116 started in total] __ jit/metainterp/test/test_blackhole.py [113 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_blackhole.py ......xxx.. ===================== 8 passed, 3 xfailed in 1.10 seconds ====================== ++ 23:43:23 starting jit/metainterp/test/test_bridgeopt.py [117 started in total] __ jit/backend/x86/test/test_ztranslation_call_assembler.py [114 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/backend/x86/test/test_ztranslation_call_assembler.py . ========================== 1 passed in 256.54 seconds ========================== ++ 23:43:25 starting jit/metainterp/test/test_bytearray.py [118 started in total] __ jit/metainterp/test/test_bytearray.py [115 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items jit/metainterp/test/test_bytearray.py ......s. ===================== 7 passed, 1 skipped in 1.77 seconds ====================== ++ 23:43:28 starting jit/metainterp/test/test_call.py [119 started in total] __ jit/metainterp/test/test_call.py [116 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/metainterp/test/test_call.py ................ ========================== 16 passed in 2.66 seconds =========================== ++ 23:43:31 starting jit/metainterp/test/test_compile.py [120 started in total] __ jit/metainterp/test/test_compile.py [117 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/metainterp/test/test_compile.py .. =========================== 2 passed in 0.72 seconds =========================== ++ 23:43:33 starting jit/metainterp/test/test_counter.py [121 started in total] __ jit/metainterp/test/test_counter.py [118 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_counter.py ....... =========================== 7 passed in 2.68 seconds =========================== ++ 23:43:36 starting jit/metainterp/test/test_del.py [122 started in total] __ jit/metainterp/test/test_del.py [119 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/test/test_del.py ... =========================== 3 passed in 1.15 seconds =========================== ++ 23:43:39 starting jit/metainterp/test/test_dict.py [123 started in total] __ jit/metainterp/test/test_bridgeopt.py [120 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_bridgeopt.py ..........x ==================== 10 passed, 1 xfailed in 15.23 seconds ===================== ++ 23:43:40 starting jit/metainterp/test/test_exception.py [124 started in total] __ jit/metainterp/test/test_exception.py [121 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items jit/metainterp/test/test_exception.py ................................ ========================== 32 passed in 4.33 seconds =========================== ++ 23:43:46 starting jit/metainterp/test/test_executor.py [125 started in total] __ jit/metainterp/test/test_executor.py [122 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_executor.py ....... =========================== 7 passed in 0.57 seconds =========================== ++ 23:43:47 starting jit/metainterp/test/test_fficall.py [126 started in total] __ jit/metainterp/test/test_fficall.py [123 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items jit/metainterp/test/test_fficall.py ...s........s.... ==================== 15 passed, 2 skipped in 11.23 seconds ===================== ++ 23:44:00 starting jit/metainterp/test/test_float.py [127 started in total] __ jit/metainterp/test/test_float.py [124 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items jit/metainterp/test/test_float.py .......... ========================== 10 passed in 1.58 seconds =========================== ++ 23:44:02 starting jit/metainterp/test/test_greenfield.py [128 started in total] __ jit/metainterp/test/test_greenfield.py [125 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.65 seconds =========================== ++ 23:44:04 starting jit/metainterp/test/test_heapcache.py [129 started in total] __ jit/metainterp/test/test_heapcache.py [126 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 44 items jit/metainterp/test/test_heapcache.py ...............s.sss........................ ===================== 40 passed, 4 skipped in 0.59 seconds ===================== ++ 23:44:06 starting jit/metainterp/test/test_history.py [130 started in total] __ jit/metainterp/test/test_history.py [127 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_history.py ....... =========================== 7 passed in 4.22 seconds =========================== ++ 23:44:11 starting jit/metainterp/test/test_immutable.py [131 started in total] __ jit/metainterp/test/test_immutable.py [128 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items jit/metainterp/test/test_immutable.py ........ =========================== 8 passed in 3.30 seconds =========================== ++ 23:44:15 starting jit/metainterp/test/test_jitdriver.py [132 started in total] __ jit/metainterp/test/test_jitdriver.py [129 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/metainterp/test/test_jitdriver.py ....s.. ===================== 6 passed, 1 skipped in 4.32 seconds ====================== ++ 23:44:21 starting jit/metainterp/test/test_jitiface.py [133 started in total] __ jit/metainterp/test/test_jitiface.py [130 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_jitiface.py ........... ========================== 11 passed in 2.40 seconds =========================== ++ 23:44:24 starting jit/metainterp/test/test_jitprof.py [134 started in total] __ jit/metainterp/test/test_jitprof.py [131 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items jit/metainterp/test/test_jitprof.py s... ===================== 3 passed, 1 skipped in 1.20 seconds ====================== ++ 23:44:27 starting jit/metainterp/test/test_list.py [135 started in total] __ jit/metainterp/test/test_list.py [132 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 27 items jit/metainterp/test/test_list.py ...s....................... ===================== 26 passed, 1 skipped in 7.64 seconds ===================== ++ 23:44:35 starting jit/metainterp/test/test_llop.py [136 started in total] __ jit/metainterp/test/test_llop.py [133 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_llop.py ..... =========================== 5 passed in 1.96 seconds =========================== ++ 23:44:39 starting jit/metainterp/test/test_logger.py [137 started in total] __ jit/metainterp/test/test_logger.py [134 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 16 items jit/metainterp/test/test_logger.py ................ ========================== 16 passed in 0.58 seconds =========================== ++ 23:44:40 starting jit/metainterp/test/test_longlong.py [138 started in total] __ jit/metainterp/test/test_longlong.py [135 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items jit/metainterp/test/test_longlong.py ssssssssssssss ========================== 14 skipped in 0.64 seconds ========================== ++ 23:44:42 starting jit/metainterp/test/test_loop.py [139 started in total] __ jit/backend/x86/test/test_ztranslation_jit_stats.py [136 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/backend/x86/test/test_ztranslation_jit_stats.py s. ==================== 1 passed, 1 skipped in 241.46 seconds ===================== ++ 23:44:58 starting jit/metainterp/test/test_loop_unroll.py [140 started in total] __ jit/metainterp/test/test_dict.py [137 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/metainterp/test/test_dict.py ........................s.ss.....s......s. ==================== 37 passed, 5 skipped in 75.71 seconds ===================== ++ 23:44:59 starting jit/metainterp/test/test_loop_unroll_disopt.py [141 started in total] __ jit/metainterp/test/test_loop.py [138 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/metainterp/test/test_loop.py ..............................ss.s... ==================== 34 passed, 3 skipped in 18.18 seconds ===================== ++ 23:45:02 starting jit/metainterp/test/test_math.py [142 started in total] __ jit/metainterp/test/test_math.py [139 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/metainterp/test/test_math.py . =========================== 1 passed in 1.25 seconds =========================== ++ 23:45:05 starting jit/metainterp/test/test_memmgr.py [143 started in total] __ jit/metainterp/test/test_ajit.py [140 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 223 items jit/metainterp/test/test_ajit.py .............................................................................................................................................................s..............s...........s................................s.s... =================== 218 passed, 5 skipped in 102.06 seconds ==================== ++ 23:45:09 starting jit/metainterp/test/test_opencoder.py [144 started in total] __ jit/metainterp/test/test_opencoder.py [141 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items jit/metainterp/test/test_opencoder.py ........... ========================== 11 passed in 0.78 seconds =========================== ++ 23:45:11 starting jit/metainterp/test/test_pyjitpl.py [145 started in total] __ jit/metainterp/test/test_pyjitpl.py [142 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/test/test_pyjitpl.py s.. ===================== 2 passed, 1 skipped in 0.63 seconds ====================== ++ 23:45:13 starting jit/metainterp/test/test_quasiimmut.py [146 started in total] __ jit/metainterp/test/test_loop_unroll.py [143 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/metainterp/test/test_loop_unroll.py ..............................ss.s... ==================== 34 passed, 3 skipped in 16.25 seconds ===================== ++ 23:45:15 starting jit/metainterp/test/test_rawmem.py [147 started in total] __ jit/metainterp/test/test_quasiimmut.py [144 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/metainterp/test/test_quasiimmut.py ...............s..... ===================== 20 passed, 1 skipped in 3.56 seconds ===================== ++ 23:45:17 starting jit/metainterp/test/test_recursive.py [148 started in total] __ jit/metainterp/test/test_rawmem.py [145 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items jit/metainterp/test/test_rawmem.py ........ =========================== 8 passed in 1.63 seconds =========================== ++ 23:45:18 starting jit/metainterp/test/test_resoperation.py [149 started in total] __ jit/metainterp/test/test_resoperation.py [146 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items jit/metainterp/test/test_resoperation.py ............... ========================== 15 passed in 0.63 seconds =========================== ++ 23:45:19 starting jit/metainterp/test/test_resume.py [150 started in total] __ jit/metainterp/test/test_resume.py [147 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items jit/metainterp/test/test_resume.py ............................ss....... ===================== 35 passed, 2 skipped in 1.10 seconds ===================== ++ 23:45:21 starting jit/metainterp/test/test_resumecode.py [151 started in total] __ jit/metainterp/test/test_resumecode.py [148 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_resumecode.py ..... =========================== 5 passed in 1.72 seconds =========================== ++ 23:45:23 starting jit/metainterp/test/test_send.py [152 started in total] __ jit/metainterp/test/test_send.py [149 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items jit/metainterp/test/test_send.py ...................... ========================== 22 passed in 7.32 seconds =========================== ++ 23:45:32 starting jit/metainterp/test/test_slist.py [153 started in total] __ jit/metainterp/test/test_slist.py [150 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items jit/metainterp/test/test_slist.py ...... =========================== 6 passed in 2.33 seconds =========================== ++ 23:45:35 starting jit/metainterp/test/test_string.py [154 started in total] __ jit/metainterp/test/test_memmgr.py [151 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/metainterp/test/test_memmgr.py . ========================== 1 passed in 38.18 seconds =========================== ++ 23:45:49 starting jit/metainterp/test/test_support.py [155 started in total] __ jit/metainterp/test/test_support.py [152 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items jit/metainterp/test/test_support.py . =========================== 1 passed in 0.07 seconds =========================== ++ 23:45:50 starting jit/metainterp/test/test_threadlocal.py [156 started in total] __ jit/metainterp/test/test_threadlocal.py [153 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items jit/metainterp/test/test_threadlocal.py ... =========================== 3 passed in 1.01 seconds =========================== ++ 23:45:52 starting jit/metainterp/test/test_tl.py [157 started in total] __ jit/metainterp/test/test_tl.py [154 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_tl.py ..... =========================== 5 passed in 6.17 seconds =========================== ++ 23:45:59 starting jit/metainterp/test/test_tlc.py [158 started in total] __ jit/metainterp/test/test_tlc.py [155 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items jit/metainterp/test/test_tlc.py .s ===================== 1 passed, 1 skipped in 3.47 seconds ====================== ++ 23:46:03 starting jit/metainterp/test/test_tracelimit.py [159 started in total] __ jit/metainterp/test/test_recursive.py [156 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items jit/metainterp/test/test_recursive.py ................s........s................ ==================== 40 passed, 2 skipped in 46.85 seconds ===================== ++ 23:46:08 starting jit/metainterp/test/test_tracingopts.py [160 started in total] __ jit/metainterp/test/test_string.py [157 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 97 items jit/metainterp/test/test_string.py .............................s............................................s...................... ==================== 95 passed, 2 skipped in 33.91 seconds ===================== ++ 23:46:13 starting jit/metainterp/test/test_virtual.py [161 started in total] __ jit/metainterp/test/test_tracingopts.py [158 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 39 items jit/metainterp/test/test_tracingopts.py .................................s..... ===================== 38 passed, 1 skipped in 8.84 seconds ===================== ++ 23:46:18 starting jit/metainterp/test/test_virtualizable.py [162 started in total] __ jit/metainterp/test/test_virtualizable.py [159 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 50 items jit/metainterp/test/test_virtualizable.py ................x................................. ==================== 49 passed, 1 xfailed in 18.90 seconds ===================== ++ 23:46:39 starting jit/metainterp/test/test_virtualref.py [163 started in total] __ jit/metainterp/test/test_virtualref.py [160 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items jit/metainterp/test/test_virtualref.py ..s.................. ===================== 20 passed, 1 skipped in 5.69 seconds ===================== ++ 23:46:46 starting jit/metainterp/test/test_warmspot.py [164 started in total] __ jit/metainterp/test/test_virtual.py [161 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 133 items jit/metainterp/test/test_virtual.py ..................................................................................................................................... ========================= 133 passed in 28.65 seconds ========================== ++ 23:46:46 starting jit/metainterp/test/test_warmstate.py [165 started in total] __ jit/metainterp/test/test_warmstate.py [162 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items jit/metainterp/test/test_warmstate.py ......... =========================== 9 passed in 0.78 seconds =========================== ++ 23:46:48 starting jit/metainterp/test/test_zvector.py [166 started in total] __ jit/metainterp/test/test_warmspot.py [163 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 27 items jit/metainterp/test/test_warmspot.py ...........sss.....ssss.... ===================== 20 passed, 7 skipped in 3.41 seconds ===================== ++ 23:46:50 starting jit/tl/test [167 started in total] __ jit/metainterp/test/test_loop_unroll_disopt.py [164 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 259 items jit/metainterp/test/test_loop_unroll_disopt.py ..............................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s... =================== 238 passed, 21 skipped in 114.01 seconds =================== ++ 23:46:55 starting jit/tl/tinyframe/test [168 started in total] __ jit/tl/test [165 done in total, somefailed=False] __________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 44 items / 1 skipped jit/tl/test/test_brainfuck.py . jit/tl/test/test_tl.py ......................s jit/tl/test/test_tlc.py .................. jit/tl/test/test_tlr.py .s ===================== 42 passed, 3 skipped in 4.39 seconds ===================== ++ 23:46:56 starting jit/tl/tla [169 started in total] __ jit/tl/tinyframe/test [166 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items jit/tl/tinyframe/test/test_tinyframe.py ....... =========================== 7 passed in 1.09 seconds =========================== ++ 23:46:57 starting jit/tool/test [170 started in total] __ jit/tool/test [167 done in total, somefailed=False] ________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 49 items jit/tool/test/test_jitoutput.py .. jit/tool/test/test_loopcounter.py . jit/tool/test/test_oparser.py ................................... jit/tool/test/test_traceviewer.py ........... ========================== 49 passed in 1.24 seconds =========================== ++ 23:46:59 starting memory/gc/test [171 started in total] __ jit/tl/tla [168 done in total, somefailed=False] ___________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items jit/tl/tla/test_tla.py ..........ssss. ===================== 11 passed, 4 skipped in 3.77 seconds ===================== ++ 23:47:01 starting memory/gctransform/test [172 started in total] __ jit/metainterp/test/test_tracelimit.py [169 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items jit/metainterp/test/test_tracelimit.py ..... ========================== 5 passed in 54.54 seconds =========================== ++ 23:47:02 starting memory/test/test_gctypelayout.py [173 started in total] __ memory/test/test_gctypelayout.py [170 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items memory/test/test_gctypelayout.py ..... =========================== 5 passed in 0.69 seconds =========================== ++ 23:47:03 starting memory/test/test_generational_gc.py [174 started in total] __ memory/test/test_generational_gc.py [171 done in total, somefailed=True] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________ ERROR collecting memory/test/test_generational_gc.py _____________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_generational_gc.py:3: in <module> class TestGenerationalGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_generational_gc.py:4: in TestGenerationalGC from rpython.memory.gc.generation import GenerationGC as GCClass memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.60 seconds ============================ ++ 23:47:05 starting memory/test/test_growingsemispace_gc.py [175 started in total] __ memory/gctransform/test [172 done in total, somefailed=True] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 85 items memory/gctransform/test/test_boehm.py ...... memory/gctransform/test/test_framework.py F..FFFFFFFF...... memory/gctransform/test/test_refcounting.py .s............. memory/gctransform/test/test_shadowcolor.py ................................... memory/gctransform/test/test_statistics.py .. memory/gctransform/test/test_transform.py .......... =================================== FAILURES =================================== ____________________________ test_framework_simple _____________________________ def test_framework_simple(): def g(x): return x + 1 class A(object): pass def entrypoint(argv): a = A() a.b = g(1) return str(a.b) from rpython.rtyper.llinterp import LLInterpreter from rpython.translator.c.genc import CStandaloneBuilder t = rtype(entrypoint, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, entrypoint, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False > db = cbuild.build_database() memory/gctransform/test/test_framework.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:309: in gettransformer return self.transformerclass(translator, gchooks=gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 33 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- _______________________________ test_no_collect ________________________________ def test_no_collect(): from rpython.rlib import rgc from rpython.translator.c.genc import CStandaloneBuilder @rgc.no_collect def g(): return 1 assert g._dont_inline_ assert g._gc_no_collect_ def entrypoint(argv): return g() + 2 t = rtype(entrypoint, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, entrypoint, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False > db = cbuild.build_database() memory/gctransform/test/test_framework.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:309: in gettransformer return self.transformerclass(translator, gchooks=gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 6 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- __________________________ test_no_collect_detection ___________________________ def test_no_collect_detection(): from rpython.rlib import rgc from rpython.translator.c.genc import CStandaloneBuilder class A(object): def __init__(self, x): self.x = x @rgc.no_collect def g(): return A(1).x assert g._dont_inline_ assert g._gc_no_collect_ def entrypoint(argv): return g() + 2 t = rtype(entrypoint, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, entrypoint, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False with py.test.raises(Exception) as f: cbuild.build_database() expected = "'no_collect' function can trigger collection: <function g at " > assert str(f.value).startswith(expected) E assert <built-in method startswith of str object at 0x7f78af7fc630>("'no_collect' function can trigger collection: <function g at ") E + where <built-in method startswith of str object at 0x7f78af7fc630> = "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)".startswith E + where "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)" = str(SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None))) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None)) = SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None)) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None)) = <ExceptionInfo SyntaxError tblen=7>.value memory/gctransform/test/test_framework.py:148: AssertionError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 8 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- ____________________ test_custom_trace_function_no_collect _____________________ def test_custom_trace_function_no_collect(): from rpython.rlib import rgc from rpython.translator.c.genc import CStandaloneBuilder S = lltype.GcStruct("MyStructure") class Glob: pass glob = Glob() def trace_func(gc, obj, callback, arg1, arg2): glob.foo = (gc, obj) lambda_trace_func = lambda: trace_func def entrypoint(argv): lltype.malloc(S) rgc.register_custom_trace_hook(S, lambda_trace_func) return 0 def run_rtyper(fn): t = rtype(fn, [s_list_of_strings]) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, fn, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False cbuild.build_database() return True with py.test.raises(Exception) as f: run_rtyper(entrypoint) > assert 'can cause the GC to be called' in str(f.value) E assert 'can cause the GC to be called' in "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)" E + where "Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (env.py, line 423)" = str(SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None))) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None)) = SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None)) E + where SyntaxError("Non-ASCII character '\\xe2' in file /build_dir/rpython-linux-x86-.../build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py', 423, 0, None)) = <ExceptionInfo SyntaxError tblen=8>.value memory/gctransform/test/test_framework.py:177: AssertionError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- _____________________ test_write_barrier_support_setfield ______________________ def test_write_barrier_support_setfield(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) PTR_TYPE = lltype.Ptr(lltype.GcStruct('S', ('x', PTR_TYPE2))) write_barrier_check(SpaceOperation( "setfield", [varoftype(PTR_TYPE), Constant('x', lltype.Void), varoftype(PTR_TYPE2)], > varoftype(lltype.Void))) memory/gctransform/test/test_framework.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7f78af56bfd0> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7f78af891350>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ______________ test_dont_add_write_barrier_for_constant_new_value ______________ def test_dont_add_write_barrier_for_constant_new_value(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) PTR_TYPE = lltype.Ptr(lltype.GcStruct('S', ('x', PTR_TYPE2))) write_barrier_check(SpaceOperation( "setfield", [varoftype(PTR_TYPE), Constant('x', lltype.Void), Constant('foo', varoftype(PTR_TYPE2))], > varoftype(lltype.Void)), needs_write_barrier=False) memory/gctransform/test/test_framework.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7f78af542e90> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7f78af891350>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- ___________________ test_write_barrier_support_setarrayitem ____________________ def test_write_barrier_support_setarrayitem(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) ARRAYPTR = lltype.Ptr(lltype.GcArray(PTR_TYPE2)) write_barrier_check(SpaceOperation( "setarrayitem", [varoftype(ARRAYPTR), varoftype(lltype.Signed), varoftype(PTR_TYPE2)], > varoftype(lltype.Void))) memory/gctransform/test/test_framework.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7f78aea19150> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7f78af891350>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- _________________ test_write_barrier_support_setinteriorfield __________________ def test_write_barrier_support_setinteriorfield(): PTR_TYPE2 = lltype.Ptr(lltype.GcStruct('T', ('y', lltype.Signed))) ARRAYPTR2 = lltype.Ptr(lltype.GcArray(('a', lltype.Signed), ('b', PTR_TYPE2))) write_barrier_check(SpaceOperation( "setinteriorfield", [varoftype(ARRAYPTR2), varoftype(lltype.Signed), Constant('b', lltype.Void), varoftype(PTR_TYPE2)], > varoftype(lltype.Void))) memory/gctransform/test/test_framework.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ memory/gctransform/test/test_framework.py:201: in write_barrier_check transformer = WriteBarrierTransformer(t) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7f78ae045910> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7f78af891350>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 4 blocks -=- [rtyper] -=- specialized 4 more blocks -=- _____________________ test_remove_duplicate_write_barrier ______________________ def test_remove_duplicate_write_barrier(): from rpython.translator.c.genc import CStandaloneBuilder from rpython.flowspace.model import summary class A(object): pass glob_a_1 = A() glob_a_2 = A() def f(a, cond): a.x = a a.z = a if cond: a.y = a def g(): f(glob_a_1, 5) f(glob_a_2, 0) t = rtype(g, []) t.config.translation.gc = "minimark" cbuild = CStandaloneBuilder(t, g, t.config, gcpolicy=FrameworkGcPolicy2) cbuild.make_entrypoint_wrapper = False > db = cbuild.build_database() memory/gctransform/test/test_framework.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:309: in gettransformer return self.transformerclass(translator, gchooks=gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 7 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL memory/gctransform/test/test_framework.py::test_framework_simple FAIL memory/gctransform/test/test_framework.py::test_no_collect FAIL memory/gctransform/test/test_framework.py::test_no_collect_detection FAIL memory/gctransform/test/test_framework.py::test_custom_trace_function_no_collect FAIL memory/gctransform/test/test_framework.py::test_write_barrier_support_setfield FAIL memory/gctransform/test/test_framework.py::test_dont_add_write_barrier_for_constant_new_value FAIL memory/gctransform/test/test_framework.py::test_write_barrier_support_setarrayitem FAIL memory/gctransform/test/test_framework.py::test_write_barrier_support_setinteriorfield FAIL memory/gctransform/test/test_framework.py::test_remove_duplicate_write_barrier =============== 9 failed, 75 passed, 1 skipped in 10.85 seconds ================ ++ 23:47:13 starting memory/test/test_hybrid_gc.py [176 started in total] __ memory/test/test_hybrid_gc.py [173 done in total, somefailed=True] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== ________________ ERROR collecting memory/test/test_hybrid_gc.py ________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_hybrid_gc.py:6: in <module> from rpython.memory.test import test_generational_gc memory/test/test_generational_gc.py:3: in <module> class TestGenerationalGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_generational_gc.py:4: in TestGenerationalGC from rpython.memory.gc.generation import GenerationGC as GCClass memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.58 seconds ============================ ++ 23:47:15 starting memory/test/test_hybrid_gc_smallheap.py [177 started in total] __ memory/test/test_hybrid_gc_smallheap.py [174 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== ___________ ERROR collecting memory/test/test_hybrid_gc_smallheap.py ___________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_hybrid_gc_smallheap.py:9: in <module> class TestHybridGCSmallHeap(GCTest): memory/test/test_hybrid_gc_smallheap.py:10: in TestHybridGCSmallHeap from rpython.memory.gc.hybrid import HybridGC as GCClass memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.59 seconds ============================ ++ 23:47:17 starting memory/test/test_incminimark_gc.py [178 started in total] __ memory/test/test_incminimark_gc.py [175 done in total, somefailed=True] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________ ERROR collecting memory/test/test_incminimark_gc.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_incminimark_gc.py:6: in <module> from rpython.memory.test import test_minimark_gc memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.60 seconds ============================ ++ 23:47:19 starting memory/test/test_incminimark_gc_cardmarking.py [179 started in total] __ memory/test/test_incminimark_gc_cardmarking.py [176 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _______ ERROR collecting memory/test/test_incminimark_gc_cardmarking.py ________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_incminimark_gc_cardmarking.py:1: in <module> from rpython.memory.test import test_incminimark_gc memory/test/test_incminimark_gc.py:6: in <module> from rpython.memory.test import test_minimark_gc memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.60 seconds ============================ ++ 23:47:20 starting memory/test/test_lldict.py [180 started in total] __ memory/test/test_lldict.py [177 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items memory/test/test_lldict.py ..... =========================== 5 passed in 0.65 seconds =========================== ++ 23:47:22 starting memory/test/test_minimark_gc.py [181 started in total] __ memory/test/test_minimark_gc.py [178 done in total, somefailed=True] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _______________ ERROR collecting memory/test/test_minimark_gc.py _______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.62 seconds ============================ ++ 23:47:24 starting memory/test/test_minimark_gc_cardmarking.py [182 started in total] __ memory/test/test_minimark_gc_cardmarking.py [179 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _________ ERROR collecting memory/test/test_minimark_gc_cardmarking.py _________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_minimark_gc_cardmarking.py:1: in <module> from rpython.memory.test import test_minimark_gc memory/test/test_minimark_gc.py:8: in <module> class TestMiniMarkGC(test_semispace_gc.TestSemiSpaceGC): memory/test/test_minimark_gc.py:9: in TestMiniMarkGC from rpython.memory.gc.minimark import MiniMarkGC as GCClass memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.60 seconds ============================ ++ 23:47:25 starting memory/test/test_semispace_gc.py [183 started in total] __ memory/test/test_growingsemispace_gc.py [180 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 47 items memory/test/test_growingsemispace_gc.py ............................................... ========================== 47 passed in 35.43 seconds ========================== ++ 23:47:43 starting memory/test/test_support.py [184 started in total] __ memory/test/test_support.py [181 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items memory/test/test_support.py ......... =========================== 9 passed in 3.09 seconds =========================== ++ 23:47:47 starting memory/test/test_transformed_gc.py [185 started in total] __ memory/test/test_transformed_gc.py [182 done in total, somefailed=True] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________ ERROR collecting memory/test/test_transformed_gc.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/test/test_transformed_gc.py:1022: in <module> class TestGenerationGC(GenericMovingGCTests): memory/test/test_transformed_gc.py:1026: in TestGenerationGC class gcpolicy(gc.BasicFrameworkGcPolicy): memory/test/test_transformed_gc.py:1027: in gcpolicy class transformerclass(shadowstack.ShadowStackFrameworkGCTransformer): memory/test/test_transformed_gc.py:1028: in transformerclass from rpython.memory.gc.generation import GenerationGC as \ memory/gc/generation.py:5: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =========================== 1 error in 0.66 seconds ============================ ++ 23:47:49 starting rlib/parsing/test/test_deterministic.py [186 started in total] __ rlib/parsing/test/test_deterministic.py [183 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items rlib/parsing/test/test_deterministic.py ......... =========================== 9 passed in 3.60 seconds =========================== ++ 23:47:54 starting rlib/parsing/test/test_ebnfparse.py [187 started in total] __ rlib/parsing/test/test_ebnfparse.py [184 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 29 items rlib/parsing/test/test_ebnfparse.py ..........................s.. ===================== 28 passed, 1 skipped in 0.41 seconds ===================== ++ 23:47:55 starting rlib/parsing/test/test_lexer.py [188 started in total] __ rlib/parsing/test/test_lexer.py [185 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items rlib/parsing/test/test_lexer.py .......... ========================== 10 passed in 0.13 seconds =========================== ++ 23:47:56 starting rlib/parsing/test/test_parse.py [189 started in total] __ rlib/parsing/test/test_parse.py [186 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/parsing/test/test_parse.py .... =========================== 4 passed in 0.08 seconds =========================== ++ 23:47:57 starting rlib/parsing/test/test_parseerrors.py [190 started in total] __ rlib/parsing/test/test_parseerrors.py [187 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/parsing/test/test_parseerrors.py .. =========================== 2 passed in 0.10 seconds =========================== ++ 23:47:58 starting rlib/parsing/test/test_pcre_regtest.py [191 started in total] __ memory/test/test_semispace_gc.py [188 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 47 items memory/test/test_semispace_gc.py ............................................... ========================== 47 passed in 31.52 seconds ========================== ++ 23:47:58 starting rlib/parsing/test/test_pypackrat.py [192 started in total] __ rlib/parsing/test/test_pypackrat.py [189 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 31 items rlib/parsing/test/test_pypackrat.py ............................... ========================== 31 passed in 0.64 seconds =========================== ++ 23:48:00 starting rlib/parsing/test/test_pythonlexer.py [193 started in total] __ rlib/parsing/test/test_pythonlexer.py [190 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/parsing/test/test_pythonlexer.py ........... ========================== 11 passed in 2.09 seconds =========================== ++ 23:48:03 starting rlib/parsing/test/test_pythonparse.py [194 started in total] __ rlib/parsing/test/test_pythonparse.py [191 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items rlib/parsing/test/test_pythonparse.py ............s.... ===================== 16 passed, 1 skipped in 1.09 seconds ===================== ++ 23:48:05 starting rlib/parsing/test/test_regex.py [195 started in total] __ rlib/parsing/test/test_pcre_regtest.py [192 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 290 items rlib/parsing/test/test_pcre_regtest.py .................................................................................................................................................................................................................................................................................................. ========================== 290 passed in 9.31 seconds ========================== ++ 23:48:08 starting rlib/parsing/test/test_regexparse.py [196 started in total] __ rlib/parsing/test/test_regexparse.py [193 done in total, somefailed=False] _ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items rlib/parsing/test/test_regexparse.py ............... ========================== 15 passed in 0.30 seconds =========================== ++ 23:48:09 starting rlib/parsing/test/test_translate.py [197 started in total] __ rlib/parsing/test/test_regex.py [194 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/parsing/test/test_regex.py ............. ========================== 13 passed in 9.72 seconds =========================== ++ 23:48:17 starting rlib/parsing/test/test_translate_lexer.py [198 started in total] __ rlib/parsing/test/test_translate_lexer.py [195 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/parsing/test/test_translate_lexer.py . =========================== 1 passed in 6.42 seconds =========================== ++ 23:48:25 starting rlib/parsing/test/test_tree.py [199 started in total] __ rlib/parsing/test/test_tree.py [196 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/parsing/test/test_tree.py ...... =========================== 6 passed in 5.31 seconds =========================== ++ 23:48:32 starting rlib/rjitlog/test/test_jitlog.py [200 started in total] __ rlib/rjitlog/test/test_jitlog.py [197 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/rjitlog/test/test_jitlog.py .... =========================== 4 passed in 0.89 seconds =========================== ++ 23:48:34 starting rlib/rsre/test/test_char.py [201 started in total] __ rlib/rsre/test/test_char.py [198 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/rsre/test/test_char.py ....... =========================== 7 passed in 1.97 seconds =========================== ++ 23:48:37 starting rlib/rsre/test/test_ext_opcode.py [202 started in total] __ rlib/rsre/test/test_ext_opcode.py [199 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/rsre/test/test_ext_opcode.py ........... ========================== 11 passed in 0.53 seconds =========================== ++ 23:48:39 starting rlib/rsre/test/test_match.py [203 started in total] __ memory/gc/test [200 done in total, somefailed=True] ________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items / 8 errors memory/gc/test/test_minimarkpage.py ............... ==================================== ERRORS ==================================== ________________ ERROR collecting memory/gc/test/test_direct.py ________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_direct.py:17: in <module> from rpython.memory.gc import minimark, incminimark memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _________________ ERROR collecting memory/gc/test/test_env.py __________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_env.py:2: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _________________ ERROR collecting memory/gc/test/test_hook.py _________________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_hook.py:3: in <module> from rpython.memory.gc.test.test_direct import BaseDirectGCTest, S memory/gc/test/test_direct.py:17: in <module> from rpython.memory.gc import minimark, incminimark memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _____________ ERROR collecting memory/gc/test/test_incminimark.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_incminimark.py:2: in <module> from rpython.memory.gc.incminimark import IncrementalMiniMarkGC memory/gc/incminimark.py:70: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details ______________ ERROR collecting memory/gc/test/test_inspector.py _______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_inspector.py:3: in <module> from rpython.memory.gc.test.test_direct import BaseDirectGCTest, S memory/gc/test/test_direct.py:17: in <module> from rpython.memory.gc import minimark, incminimark memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _______________ ERROR collecting memory/gc/test/test_minimark.py _______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_minimark.py:2: in <module> from rpython.memory.gc.minimark import MiniMarkGC memory/gc/minimark.py:55: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details ____________ ERROR collecting memory/gc/test/test_object_pinning.py ____________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_object_pinning.py:3: in <module> from rpython.memory.gc.incminimark import IncrementalMiniMarkGC, WORD memory/gc/incminimark.py:70: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details _____________ ERROR collecting memory/gc/test/test_rawrefcount.py ______________ ../_pytest/python.py:611: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../py/_path/local.py:650: in pyimport __import__(modname) memory/gc/test/test_rawrefcount.py:3: in <module> from rpython.memory.gc.incminimark import IncrementalMiniMarkGC memory/gc/incminimark.py:70: in <module> from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details ===================== 15 passed, 8 error in 93.46 seconds ====================== ++ 23:48:41 starting rlib/rsre/test/test_re.py [204 started in total] __ rlib/rsre/test/test_match.py [201 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 38 items rlib/rsre/test/test_match.py ...................................... ========================== 38 passed in 1.12 seconds =========================== ++ 23:48:41 starting rlib/rsre/test/test_search.py [205 started in total] __ rlib/rsre/test/test_search.py [202 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 67 items rlib/rsre/test/test_search.py ................................................................... ========================== 67 passed in 0.76 seconds =========================== ++ 23:48:43 starting rlib/rsre/test/test_zexternal.py [206 started in total] __ rlib/rsre/test/test_zexternal.py [203 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1002 items rlib/rsre/test/test_zexternal.py .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ========================= 1002 passed in 1.52 seconds ========================== ++ 23:48:45 starting rlib/rsre/test/test_zinterp.py [207 started in total] __ rlib/rsre/test/test_re.py [204 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 56 items rlib/rsre/test/test_re.py ..............ss........................................ ===================== 54 passed, 2 skipped in 6.03 seconds ===================== ++ 23:48:48 starting rlib/rsre/test/test_zjit.py [208 started in total] __ rlib/parsing/test/test_translate.py [205 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/parsing/test/test_translate.py ..... ========================== 5 passed in 37.16 seconds =========================== ++ 23:48:53 starting rlib/rstrategies/test/test_rstrategies.py [209 started in total] __ rlib/rstrategies/test/test_rstrategies.py [206 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 49 items rlib/rstrategies/test/test_rstrategies.py ................................................. ========================== 49 passed in 0.16 seconds =========================== ++ 23:48:54 starting rlib/rstruct/test/test_ieee.py [210 started in total] __ rlib/rsre/test/test_zinterp.py [207 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items rlib/rsre/test/test_zinterp.py ... ========================== 3 passed in 11.89 seconds =========================== ++ 23:49:00 starting rlib/rstruct/test/test_pack.py [211 started in total] __ rlib/rstruct/test/test_pack.py [208 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 59 items rlib/rstruct/test/test_pack.py ........................................................... ========================== 59 passed in 0.68 seconds =========================== ++ 23:49:01 starting rlib/rstruct/test/test_runpack.py [212 started in total] __ rlib/rstruct/test/test_runpack.py [209 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items rlib/rstruct/test/test_runpack.py ...................... ========================== 22 passed in 7.66 seconds =========================== ++ 23:49:10 starting rlib/rvmprof/test/test_file.py [213 started in total] __ jit/metainterp/test/test_zvector.py [210 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 84 items jit/metainterp/test/test_zvector.py .................................................................................... ========================= 84 passed in 135.53 seconds ========================== ++ 23:49:12 starting rlib/rvmprof/test/test_rvmprof.py [214 started in total] __ rlib/rvmprof/test/test_file.py [211 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/rvmprof/test/test_file.py . =========================== 1 passed in 8.22 seconds =========================== ++ 23:49:20 starting rlib/rvmprof/test/test_support.py [215 started in total] __ rlib/rvmprof/test/test_support.py [212 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items rlib/rvmprof/test/test_support.py ... =========================== 3 passed in 0.51 seconds =========================== ++ 23:49:22 starting rlib/rvmprof/test/test_traceback.py [216 started in total] __ rlib/rstruct/test/test_ieee.py [213 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 14 items rlib/rstruct/test/test_ieee.py .............. ========================== 14 passed in 34.16 seconds ========================== ++ 23:49:32 starting rlib/rvmprof/test/test_ztranslation.py [217 started in total] __ rlib/rvmprof/test/test_ztranslation.py [214 done in total, somefailed=True] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/rvmprof/test/test_ztranslation.py .F =================================== FAILURES =================================== ________________________________ test_compiled _________________________________ def test_compiled(): > fn = compile(main, [], gcpolicy="minimark") rlib/rvmprof/test/test_ztranslation.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c581857005e5b00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:40)main [flowgraph] (rpython.rlib.rthread:114)get_ident [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:11)MyCode.__init__ [flowgraph] (rpython.rlib.rvmprof:17)register_code [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.rlib.rvmprof.rvmprof:59)VMProf.register_code [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rweaklist:46)WeakCodeObjectList.add_handle [flowgraph] (rpython.rlib.rweaklist:24)WeakCodeObjectList.reserve_next_handle_index [flowgraph] (rpython.rlib.rweaklist:51)WeakCodeObjectList.store_handle [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.rvmprof:35)enable [flowgraph] (rpython.rlib.rvmprof.rvmprof:131)VMProf.enable [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_init [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_init [flowgraph] (rpython.rlib.rvmprof.rvmprof:117)gather_all_code_objs [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rlib.rweaklist:21)WeakCodeObjectList.get_all_handles [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.rvmprof.rvmprof:51)<lambda> [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:15)MyCode.get_name [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rvmprof.rvmprof:169)VMProf._write_code_registration [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_register_virtual_function [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_register_virtual_function [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_enable [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_enable [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rvmprof.rvmprof:27)VMProfError.__init__ [flowgraph] (rpython.rlib.rposix:1182)strerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)strerror [flowgraph] (rpython.rlib.rtime:146)time [flowgraph] (rpython.rlib.rtime:101)decode_timeval [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rlib.rvmprof.rvmprof:224)interpret_rvmprof [flowgraph] (rpython.rlib.rvmprof:38)disable [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:26)<lambda> [flowgraph] (rpython.rlib.rvmprof.rvmprof:156)VMProf.disable [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)vmprof_disable [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_vmprof_disable [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rvmprof.cintf:187)enter_code [flowgraph] (rpython.rlib.rvmprof.rvmprof:220)decorated_jitted_function [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:26)interpret [flowgraph] (rpython.rlib.rvmprof.test.test_ztranslation:33)one_less [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rvmprof.cintf:196)leave_code [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (?:1)memo__get_vmprof_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818571115e500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18041 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c5818571117be80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [rtyper] specializing: 100 / 700 blocks (14%) [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 200 / 856 blocks (23%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [rtyper] specializing: 300 / 872 blocks (34%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:695)ll_count_char [flowgraph] (rpython.rtyper.rrange:128)ll_range2list [flowgraph] (rpython.rtyper.rrange:56)_ll_rangelen [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:782)ll_extend [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:600)ll_concat [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 400 / 991 blocks (40%) [rtyper] specializing: 500 / 991 blocks (50%) [rtyper] specializing: 600 / 991 blocks (60%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 700 / 995 blocks (70%) [rtyper] specializing: 800 / 995 blocks (80%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 900 / 1000 blocks (90%) [rtyper] specializing: 1000 / 1000 blocks (100%) [rtyper] -=- specialized 1000 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58185724ada500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18041 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58185724af6400] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__open [backendopt:removecasts] removed 6 cast_pointers in VMProf.enable [backendopt:removecasts] removed 1 cast_pointers in charpsize2str [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string [backendopt:removecasts] removed 3 cast_pointers in VMProf._write_code_registration [backendopt:removecasts] removed 1 cast_pointers in strerror [backendopt:removecasts] removed 2 cast_pointers in interpret_rvmprof__star_1 [backendopt:removecasts] removed 4 cast_pointers in VMProf.disable [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__close [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v38___simple_call__function_ll [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v42___simple_call__function_ll [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_listnext__listiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_pop_default__dum_checkidxConst_listPtr [backendopt:removecasts] removed 1 cast_pointers in ll_range2list__GcArray_SignedLlT_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_extend__listPtr_arrayPtr [backendopt:removecasts] removed 1 cast_pointers in int_force_ge_zero__Signed [backendopt:removecasts] removed 1 cast_pointers in ll_concat__GcArray_Ptr_GCREF__gcopaque_Ll_arrayPtr_arrayPtr [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v61___simple_call__function_is [backendopt:inlining] 0.00 conditional_call__v56___simple_call__function_co_star_3 [backendopt:inlining] 0.00 isconstant__v57___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v39___simple_call__function_is [backendopt:inlining] 0.00 ll_setitem_nonneg__dum_nocheckConst_arrayPtr_Signed_GCREFPtr [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v13___simple_call__function_is [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v34___simple_call__function_is [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v17___simple_call__function_is [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isconstant__v51___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v54___simple_call__function_is [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isvirtual__v40___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v24___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v11___simple_call__function_is [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v29___simple_call__function_is [backendopt:inlining] 0.00 vmprof_disable___star_0 [backendopt:inlining] 0.00 isconstant__v44___simple_call__function_is [backendopt:inlining] 0.00 isvirtual__v52___simple_call__function_is [backendopt:inlining] 0.00 ll_getitem_fast__arrayPtr_Signed [backendopt:inlining] 0.00 isvirtual__v46___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v33___simple_call__function_is [backendopt:inlining] 0.00 isconstant__v18___simple_call__function_is [backendopt:inlining] 0.00 vmprof_enable__Signed_Signed_Signed_star_3 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll_final_null [backendopt:inlining] 0.00 copy_raw_to_string [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_arrayPtr_Signed [backendopt:inlining] 0.00 strerror__Signed_star_1 [backendopt:inlining] 0.00 vmprof_init__Signed_Float_Signed_Signed_SomeString_Signed_Signed_star_7 [backendopt:inlining] 0.00 conditional_call__v35___simple_call__function_co_star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 vmprof_register_virtual_function__SomeString_Signed_Signed_star_3 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v28___simple_call__function_is [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 isconstant__v22___simple_call__function_is [backendopt:inlining] 0.00 conditional_call__v12___simple_call__function_co_star_3 [backendopt:inlining] 0.00 ll_fixed_items__arrayPtr [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 ll_fixed_items__arrayPtr [backendopt:inlining] 0.00 _lambda_ [backendopt:inlining] 0.00 conditional_call__v23___simple_call__function_co_star_3 [backendopt:inlining] 0.00 _as_bytes__str [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 open__SomeString_Signed_Signed_star_3 [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_Ptr_GCREF__gcopaque_Ll_Signed [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 VMProfError.__init__ [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_SignedLlT_Signed [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 WeakCodeObjectList.get_all_handles [backendopt:inlining] 2.00 getraw [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_GCREFPtr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 _ll_zero_or_null__GCREFPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v37___simple_call__function_lo [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_sec [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_usec [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 2.00 ll_len_foldable__arrayPtr [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 disable [backendopt:inlining] 0.00 _as_bytes0__str [backendopt:inlining] 7.50 int_force_ge_zero__Signed [backendopt:inlining] 7.50 mallocstr [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 8.00 ll_listiter__Ptr_GcStruct_listiterLlT_arrayPtr [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 _ll_alloc_and_set_nonnull_look_inside_iff__GcArray_Ptr_GCREF__gcopaque_Ll_Signed_GCREFPtr [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 register_code__rpython_rlib_rvmprof_test_test_ztranslation_MyCode [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Signed [backendopt:inlining] 6.00 leave_code [backendopt:inlining] 11.00 enable [backendopt:inlining] 11.00 MyCode.__init__ [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v49___simple_call__function_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v58___simple_call__function_ll [backendopt:inlining] 10.00 WeakCodeObjectList.store_handle [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 14.25 ll_alloc_and_set__GcArray_Ptr_GCREF__gcopaque_Ll_Signed_GCREFPtr [backendopt:inlining] 17.00 WeakCodeObjectList.add_handle [backendopt:inlining] 21.00 ccall_close [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 21.75 close [backendopt:inlining] 16.00 decode_timeval [backendopt:inlining] 22.33 interpret [backendopt:inlining] 17.00 ll_pop_default__dum_nocheckConst_listPtr [backendopt:inlining] 23.33 charp2str [backendopt:inlining] 18.75 ll_pop_default__dum_checkidxConst_listPtr [backendopt:inlining] 17.50 ll_listnext__listiterPtr [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 13.00 ll_arraycopy__arrayPtr_listPtr_Signed_Signed_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Signed [backendopt:inlining] 19.25 _errno_after__v9___simple_call__function__er [backendopt:inlining] 19.25 _errno_after__v7___simple_call__function__er [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 19.25 _errno_after__v3___simple_call__function__er [backendopt:inlining] 19.25 _errno_after__v5___simple_call__function__er [backendopt:inlining] 19.25 _errno_after__v1___simple_call__function__er [backendopt:inlining] 26.16 ll_join_chars__v45___simple_call__function_ll [backendopt:inlining] 26.16 ll_join_chars__v48___simple_call__function_ll [backendopt:inlining] 19.00 enter_code [backendopt:inlining] 17.83 _ll_alloc_and_clear__GcArray_Ptr_GCREF__gcopaque_Ll_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.66 ll_count_char__rpy_stringPtr_Char_Signed_Signed [backendopt:inlining] 20.67 _ll_alloc_and_set_nonnull__v60___simple_call__function__l [backendopt:inlining] 20.67 _ll_alloc_and_set_nonnull__v63___simple_call__function__l [backendopt:inlining] 25.75 _ll_alloc_and_set_nojit__GcArray_Ptr_GCREF__gcopaque_Ll_Signed_GCREFPtr [backendopt:inlining] 27.50 ll_concat__GcArray_Ptr_GCREF__gcopaque_Ll_arrayPtr_arrayPtr [backendopt:inlining] 27.75 ll_range2list__GcArray_SignedLlT_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__close [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.75 handle_posix_error__open [backendopt:inlining] 31.87 _errno_before__v6___simple_call__function__er [backendopt:inlining] 0.00 close__Signed_star_1 [backendopt:inlining] 31.87 _errno_before__v8___simple_call__function__er [backendopt:inlining] 31.87 _errno_before__v4___simple_call__function__er [backendopt:inlining] 31.87 _errno_before__v2___simple_call__function__er [backendopt:inlining] 31.87 _errno_before__v0___simple_call__function__er [backendopt:inlining] inlined 356 callsites. [backendopt:removecasts] removed 2 cast_pointers in time [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'main' [backendopt:malloc] 10 simple mallocs removed in 'open__str' [backendopt:malloc] 2 simple mallocs removed in 'WeakCodeObjectList.reserve_next_handle_index' [backendopt:malloc] 10 simple mallocs removed in 'open__SomeString_Signed_Signed_star_3' [backendopt:malloc] 23 simple mallocs removed in 'VMProf.enable' [backendopt:malloc] 17 simple mallocs removed in 'vmprof_init__Signed_Float_Signed_Signed_SomeString_Signed_Signed_star_7' [backendopt:malloc] 1 simple mallocs removed in 'gather_all_code_objs' [backendopt:malloc] 1 simple mallocs removed in 'MyCode.get_name' [backendopt:malloc] 11 simple mallocs removed in 'VMProf._write_code_registration' [backendopt:malloc] 10 simple mallocs removed in 'vmprof_register_virtual_function__SomeString_Signed_Signed_star_3' [backendopt:malloc] 6 simple mallocs removed in 'vmprof_enable__Signed_Signed_Signed_star_3' [backendopt:malloc] 3 simple mallocs removed in 'strerror' [backendopt:malloc] 3 simple mallocs removed in 'strerror__Signed_star_1' [backendopt:malloc] 1 simple mallocs removed in 'interpret_rvmprof__star_1' [backendopt:malloc] 1 simple mallocs removed in 'decorated_jitted_function__star_1' [backendopt:malloc] 1 simple mallocs removed in 'close' [backendopt:malloc] 3 simple mallocs removed in 'close__Signed_star_1' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v12___simple_call__function_co_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v23___simple_call__function_co_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v35___simple_call__function_co_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v56___simple_call__function_co_star_3' [backendopt:malloc] removed 126 simple mallocs in total [backendopt:removecasts] removed 3 cast_pointers in interpret_rvmprof__star_1 [backendopt:removecasts] removed 2 cast_pointers in decorated_jitted_function__star_1 [backendopt:mergeifblocks] starting to merge if blocks [c581857326e5f80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18041 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58185732714580] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58185732db1d00] translation-task} [translation:info] Creating database for generating c source... [c58185732dba400] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58185733c96380] translation-task} =========================== short test summary info ============================ FAIL rlib/rvmprof/test/test_ztranslation.py::test_compiled ====================== 1 failed, 1 passed in 5.38 seconds ====================== ++ 23:49:39 starting rlib/test/test__jit_vref.py [218 started in total] __ rlib/test/test__jit_vref.py [215 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 12 items rlib/test/test__jit_vref.py ............ ========================== 12 passed in 0.74 seconds =========================== ++ 23:49:41 starting rlib/test/test_buffer.py [219 started in total] __ rlib/rvmprof/test/test_rvmprof.py [216 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/rvmprof/test/test_rvmprof.py ...... ========================== 6 passed in 27.91 seconds =========================== ++ 23:49:45 starting rlib/test/test_cache.py [220 started in total] __ rlib/test/test_cache.py [217 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_cache.py . =========================== 1 passed in 0.07 seconds =========================== ++ 23:49:46 starting rlib/test/test_clibffi.py [221 started in total] __ rlib/test/test_clibffi.py [218 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items rlib/test/test_clibffi.py ........s......n: 2 Arg 0: 3 Arg 1: 15 .s ===================== 15 passed, 2 skipped in 3.22 seconds ===================== ++ 23:49:50 starting rlib/test/test_compilerinfo.py [222 started in total] __ rlib/test/test_compilerinfo.py [219 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_compilerinfo.py .. =========================== 2 passed in 3.15 seconds =========================== ++ 23:49:55 starting rlib/test/test_debug.py [223 started in total] __ rlib/test/test_buffer.py [220 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 47 items rlib/test/test_buffer.py ............................................... ========================== 47 passed in 15.96 seconds ========================== ++ 23:49:58 starting rlib/test/test_jit.py [224 started in total] __ rlib/test/test_debug.py [221 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/test/test_debug.py ........... ========================== 11 passed in 4.32 seconds =========================== ++ 23:50:00 starting rlib/test/test_jit_libffi.py [225 started in total] __ rlib/test/test_jit.py [222 done in total, somefailed=False] ________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items rlib/test/test_jit.py ...ss......................... ===================== 28 passed, 2 skipped in 1.88 seconds ===================== ++ 23:50:01 starting rlib/test/test_libffi.py [226 started in total] __ rlib/test/test_jit_libffi.py [223 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_jit_libffi.py . =========================== 1 passed in 0.62 seconds =========================== ++ 23:50:02 starting rlib/test/test_listsort.py [227 started in total] __ rlib/test/test_libffi.py [224 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/test/test_libffi.py .........s................ ===================== 25 passed, 1 skipped in 0.93 seconds ===================== ++ 23:50:02 starting rlib/test/test_longlong2float.py [228 started in total] __ rlib/test/test_listsort.py [225 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_listsort.py .... ================= 4 passed, 1 pytest-warnings in 1.00 seconds ================== ++ 23:50:04 starting rlib/test/test_mutbuffer.py [229 started in total] __ rlib/test/test_mutbuffer.py [226 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_mutbuffer.py ..... =========================== 5 passed in 0.51 seconds =========================== ++ 23:50:06 starting rlib/test/test_nonconst.py [230 started in total] __ rlib/test/test_nonconst.py [227 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_nonconst.py ..... =========================== 5 passed in 0.68 seconds =========================== ++ 23:50:07 starting rlib/test/test_objectmodel.py [231 started in total] __ rlib/test/test_longlong2float.py [228 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items rlib/test/test_longlong2float.py .......... ========================== 10 passed in 12.17 seconds ========================== ++ 23:50:17 starting rlib/test/test_posix.py [232 started in total] __ rlib/test/test_posix.py [229 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items rlib/test/test_posix.py ....s......................... ===================== 29 passed, 1 skipped in 7.25 seconds ===================== ++ 23:50:25 starting rlib/test/test_rStringIO.py [233 started in total] __ rlib/test/test_rStringIO.py [230 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 11 items rlib/test/test_rStringIO.py ........... ========================== 11 passed in 0.19 seconds =========================== ++ 23:50:26 starting rlib/test/test_rarithmetic.py [234 started in total] __ rlib/test/test_rarithmetic.py [231 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 103 items rlib/test/test_rarithmetic.py ....................................................................................................... ========================== 103 passed in 1.57 seconds ========================== ++ 23:50:29 starting rlib/test/test_rawrefcount.py [235 started in total] __ rlib/test/test_rawrefcount.py [232 done in total, somefailed=True] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/test/test_rawrefcount.py ............F =================================== FAILURES =================================== _____________________ TestTranslated.test_full_translation _____________________ self = <rpython.rlib.test.test_rawrefcount.TestTranslated object at 0x7f479cadee10> def test_full_translation(self): class State: pass state = State() state.seen = [] def dealloc_trigger(): state.seen.append(1) w_marker = W_Root(-1) def make_p(): p = W_Root(42) ob = lltype.malloc(PyObjectS, flavor='raw', zero=True) rawrefcount.create_link_pypy(p, ob) ob.c_ob_refcnt += REFCNT_FROM_PYPY assert rawrefcount.from_obj(PyObject, p) == ob assert rawrefcount.to_obj(W_Root, ob) == p return ob, p FTYPE = rawrefcount.RAWREFCOUNT_DEALLOC_TRIGGER def entry_point(argv): ll_dealloc_trigger_callback = llhelper(FTYPE, dealloc_trigger) rawrefcount.init(ll_dealloc_trigger_callback) ob, p = make_p() if state.seen != []: print "OB COLLECTED REALLY TOO SOON" return 1 rgc.collect() if state.seen != []: print "OB COLLECTED TOO SOON" return 1 objectmodel.keepalive_until_here(p) p = None rgc.collect() if state.seen != [1]: print "OB NOT COLLECTED" return 1 if rawrefcount.next_dead(PyObject) != ob: print "NEXT_DEAD != OB" return 1 if ob.c_ob_refcnt != 1: print "next_dead().ob_refcnt != 1" return 1 if rawrefcount.next_dead(PyObject) != lltype.nullptr(PyObjectS): print "NEXT_DEAD second time != NULL" return 1 if rawrefcount.to_obj(W_Root, ob) is not None: print "to_obj(dead) is not None?" return 1 rawrefcount.mark_deallocating(w_marker, ob) if rawrefcount.to_obj(W_Root, ob) is not w_marker: print "to_obj(marked-dead) is not w_marker" return 1 print "OK!" lltype.free(ob, flavor='raw') return 0 self.config = get_combined_translation_config(translating=True) self.config.translation.gc = "incminimark" > t, cbuilder = self.compile(entry_point) rlib/test/test_rawrefcount.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:72: in compile exe_name=exe_name) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 462 blocks (21%) [rtyper] specializing: 200 / 513 blocks (38%) [rtyper] specializing: 300 / 513 blocks (58%) [rtyper] specializing: 400 / 513 blocks (77%) [rtyper] specializing: 500 / 513 blocks (97%) [rtyper] -=- specialized 513 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL rlib/test/test_rawrefcount.py::TestTranslated::()::test_full_translation ===================== 1 failed, 12 passed in 2.26 seconds ====================== ++ 23:50:32 starting rlib/test/test_rawrefcount_boehm.py [236 started in total] __ rlib/test/test_objectmodel.py [233 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 60 items rlib/test/test_objectmodel.py ....s....................................................... ==================== 59 passed, 1 skipped in 30.58 seconds ===================== ++ 23:50:40 starting rlib/test/test_rawstorage.py [237 started in total] __ rlib/test/test_rawrefcount_boehm.py [234 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rawrefcount_boehm.py .. =========================== 2 passed in 9.82 seconds =========================== ++ 23:50:44 starting rlib/test/test_rbigint.py [238 started in total] __ rlib/test/test_rawstorage.py [235 done in total, somefailed=False] _________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rawstorage.py ....... =========================== 7 passed in 9.47 seconds =========================== ++ 23:50:50 starting rlib/test/test_rbisect.py [239 started in total] __ rlib/test/test_rbisect.py [236 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rbisect.py .. =========================== 2 passed in 0.07 seconds =========================== ++ 23:50:51 starting rlib/test/test_rcomplex.py [240 started in total] __ rlib/test/test_rcomplex.py [237 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items rlib/test/test_rcomplex.py ........ =========================== 8 passed in 0.16 seconds =========================== ++ 23:50:52 starting rlib/test/test_rdtoa.py [241 started in total] __ rlib/test/test_rdtoa.py [238 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rdtoa.py ...... =========================== 6 passed in 0.26 seconds =========================== ++ 23:50:53 starting rlib/test/test_rdynload.py [242 started in total] __ rlib/test/test_rdynload.py [239 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 3 items rlib/test/test_rdynload.py ... =========================== 3 passed in 0.57 seconds =========================== ++ 23:50:55 starting rlib/test/test_rerased.py [243 started in total] __ rlib/test/test_rerased.py [240 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 25 items rlib/test/test_rerased.py ......................... ========================== 25 passed in 0.82 seconds =========================== ++ 23:50:57 starting rlib/test/test_rfile.py [244 started in total] __ rlib/test/test_rfile.py [241 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/test/test_rfile.py .................test ......... ========================== 26 passed in 22.35 seconds ========================== ++ 23:51:21 starting rlib/test/test_rfloat.py [245 started in total] __ rlib/test/test_rfloat.py [242 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/test/test_rfloat.py ............. ========================== 13 passed in 14.68 seconds ========================== ++ 23:51:38 starting rlib/test/test_rgc.py [246 started in total] __ rlib/test/test_rgc.py [243 done in total, somefailed=True] _________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 37 items rlib/test/test_rgc.py ...................s....F.F........FF =================================== FAILURES =================================== __________________ test_nonmoving_raw_ptr_for_resizable_list ___________________ def test_nonmoving_raw_ptr_for_resizable_list(): def f(n): lst = ['a', 'b', 'c'] lst = rgc.resizable_list_supporting_raw_ptr(lst) lst.append(chr(n)) assert lst[3] == chr(n) assert lst[-1] == chr(n) # ptr = rgc.nonmoving_raw_ptr_for_resizable_list(lst) assert lst[:] == ['a', 'b', 'c', chr(n)] assert lltype.typeOf(ptr) == rffi.CCHARP assert [ptr[i] for i in range(4)] == ['a', 'b', 'c', chr(n)] # lst[-3] = 'X' assert ptr[1] == 'X' ptr[2] = 'Y' assert lst[-2] == 'Y' # addr = rffi.cast(lltype.Signed, ptr) ptr = rffi.cast(rffi.CCHARP, addr) rgc.collect() # should not move lst.items lst[-4] = 'g' assert ptr[0] == 'g' ptr[3] = 'H' assert lst[-1] == 'H' return lst # # direct untranslated run lst = f(35) assert isinstance(lst, rgc._ResizableListSupportingRawPtr) # # llinterp run interpret(f, [35]) # # compilation with the GC transformer import subprocess from rpython.translator.interactive import Translation # def main(argv): f(len(argv)) print "OK!" return 0 # t = Translation(main, gc="incminimark") t.disable(['backendopt']) t.set_backend_extra_options(c_debug_defines=True) > exename = t.compile() rlib/test/test_rgc.py:394: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 238 blocks (42%) [rtyper] specializing: 200 / 238 blocks (84%) [rtyper] -=- specialized 238 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [flowgraph] (rpython.rlib.test.test_rgc:386)main [translation:info] Annotating&simplifying... [c58186560230f80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rgc:349)f [flowgraph] (rpython.rlib.rgc:1473)nonmoving_raw_ptr_for_resizable_list [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58186563c70600] translation-task} [translation:info] RTyping... [c58186563c7b380] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.rgc:1555)ll_nonmovable_raw_ptr_for_resizable_list [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:880)ll_listslice_startonly [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [rtyper] specializing: 100 / 482 blocks (20%) [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 200 / 504 blocks (39%) [rtyper] specializing: 300 / 504 blocks (59%) [rtyper] specializing: 400 / 504 blocks (79%) [rtyper] specializing: 500 / 504 blocks (99%) [rtyper] -=- specialized 504 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818656fe24600] translation-task} [translation:info] inserting stack checks... [c5818656fe2d480] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c581865704de300] translation-task} [translation:info] Creating database for generating c source... [c581865704e6580] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58186571496d80] translation-task} __________________________ test_ll_for_resizable_list __________________________ def test_ll_for_resizable_list(): def f(n): lst = ['a', 'b', 'c'] lst = rgc.resizable_list_supporting_raw_ptr(lst) lst.append(chr(n)) assert lst[3] == chr(n) assert lst[-1] == chr(n) # ll_list = rgc.ll_for_resizable_list(lst) assert lst[:] == ['a', 'b', 'c', chr(n)] assert ll_list.length == 4 assert [ll_list.items[i] for i in range(4)] == ['a', 'b', 'c', chr(n)] # lst[-3] = 'X' assert ll_list.items[1] == 'X' ll_list.items[2] = 'Y' assert lst[-2] == 'Y' # return lst # # direct untranslated run lst = f(35) assert isinstance(lst, rgc._ResizableListSupportingRawPtr) # # llinterp run interpret(f, [35]) # # compilation with the GC transformer import subprocess from rpython.translator.interactive import Translation # def main(argv): f(len(argv)) print "OK!" return 0 # t = Translation(main, gc="incminimark") t.disable(['backendopt']) t.set_backend_extra_options(c_debug_defines=True) > exename = t.compile() rlib/test/test_rgc.py:461: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 228 blocks (43%) [rtyper] specializing: 200 / 228 blocks (87%) [rtyper] -=- specialized 228 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [flowgraph] (rpython.rlib.test.test_rgc:453)main [translation:info] Annotating&simplifying... [c58186588ce6280] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rgc:423)f [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c5818658c549b00] translation-task} [translation:info] RTyping... [c5818658c554700] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:880)ll_listslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:552)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [rtyper] specializing: 100 / 453 blocks (22%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [rtyper] specializing: 200 / 494 blocks (40%) [rtyper] specializing: 300 / 494 blocks (60%) [rtyper] specializing: 400 / 494 blocks (80%) [rtyper] -=- specialized 494 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58186598343f80] translation-task} [translation:info] inserting stack checks... [c5818659834c480] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 500 / 506 blocks (98%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58186598920380] translation-task} [translation:info] Creating database for generating c source... [c58186598928a80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c581865995f3300] translation-task} ________________ TestFinalizerQueue.test_translated_incminimark ________________ self = <rpython.rlib.test.test_rgc.TestFinalizerQueue instance at 0x7fea730b10a0> def test_translated_incminimark(self): > self._test_translated(use_gc="incminimark", llcase=False) rlib/test/test_rgc.py:701: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rlib/test/test_rgc.py:781: in _test_translated exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.rlib.test.test_rgc:756)main [translation:info] Annotating&simplifying... [c58186655565900] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.test.test_rgc:718)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.test.test_rgc:731)subfunc [flowgraph] (rpython.rlib.test.test_rgc:572)T_Int.__init__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58186659830300] translation-task} [translation:info] RTyping... [c5818665983a500] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [rtyper] specializing: 100 / 327 blocks (30%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 200 / 391 blocks (51%) [rtyper] specializing: 300 / 391 blocks (76%) [rtyper] -=- specialized 391 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58186661bb5e00] translation-task} [translation:info] inserting stack checks... [c58186661bbe080] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 400 / 403 blocks (99%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58186662173580] translation-task} [translation:info] Creating database for generating c source... [c5818666217b680] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [rtyper] -=- specialized 21 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58186662e18500] translation-task} ______________ TestFinalizerQueue.test_translated_incminimark_ll _______________ self = <rpython.rlib.test.test_rgc.TestFinalizerQueue instance at 0x7fea72b73820> def test_translated_incminimark_ll(self): > self._test_translated(use_gc="incminimark", llcase=True) rlib/test/test_rgc.py:704: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rlib/test/test_rgc.py:781: in _test_translated exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.rlib.test.test_rgc:756)main [translation:info] Annotating&simplifying... [c5818666be86500] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.test.test_rgc:718)finalizer_trigger [flowgraph] (rpython.rlib.test.test_rgc:731)subfunc [flowgraph] (rpython.rlib.test.test_rgc:728)llbuilder [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c5818666ff35000] translation-task} [translation:info] RTyping... [c5818666ff40180] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 100 / 342 blocks (29%) [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [rtyper] specializing: 200 / 401 blocks (49%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 405 blocks (74%) [rtyper] specializing: 400 / 405 blocks (98%) [rtyper] -=- specialized 405 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58186678ae1580] translation-task} [translation:info] inserting stack checks... [c58186678ae9c80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c5818667914a380] translation-task} [translation:info] Creating database for generating c source... [c58186679153000] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58186679e31380] translation-task} =========================== short test summary info ============================ FAIL rlib/test/test_rgc.py::test_nonmoving_raw_ptr_for_resizable_list FAIL rlib/test/test_rgc.py::test_ll_for_resizable_list FAIL rlib/test/test_rgc.py::TestFinalizerQueue::()::test_translated_incminimark FAIL rlib/test/test_rgc.py::TestFinalizerQueue::()::test_translated_incminimark_ll =============== 4 failed, 32 passed, 1 skipped in 10.95 seconds ================ ++ 23:51:50 starting rlib/test/test_rgil.py [247 started in total] __ rlib/test/test_rgil.py [244 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rgil.py .... ========================== 4 passed in 24.27 seconds =========================== ++ 23:52:18 starting rlib/test/test_rlocale.py [248 started in total] __ rlib/test/test_rlocale.py [245 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rlocale.py ss.. ===================== 2 passed, 2 skipped in 0.08 seconds ====================== ++ 23:52:19 starting rlib/test/test_rmarshal.py [249 started in total] __ rlib/test/test_rmarshal.py [246 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rmarshal.py ...... =========================== 6 passed in 7.85 seconds =========================== ++ 23:52:29 starting rlib/test/test_rmd5.py [250 started in total] __ rlib/test/test_rmd5.py [247 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rmd5.py ....... =========================== 7 passed in 1.78 seconds =========================== ++ 23:52:32 starting rlib/test/test_rmmap.py [251 started in total] __ rlib/test/test_rmmap.py [248 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 32 items rlib/test/test_rmmap.py ...........................ss... ==================== 30 passed, 2 skipped in 21.36 seconds ===================== ++ 23:52:55 starting rlib/test/test_rope.py [252 started in total] __ rlib/test/test_rope.py [249 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 58 items rlib/test/test_rope.py .............................s............................ ==================== 57 passed, 1 skipped in 17.95 seconds ===================== ++ 23:53:16 starting rlib/test/test_rpath.py [253 started in total] __ rlib/test/test_rpath.py [250 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items rlib/test/test_rpath.py ......s... ===================== 9 passed, 1 skipped in 0.49 seconds ====================== ++ 23:53:17 starting rlib/test/test_rpoll.py [254 started in total] __ rlib/test/test_rpoll.py [251 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rpoll.py s...... ===================== 6 passed, 1 skipped in 13.35 seconds ===================== ++ 23:53:32 starting rlib/test/test_rposix.py [255 started in total] __ rlib/rvmprof/test/test_traceback.py [252 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/rvmprof/test/test_traceback.py . ========================== 1 passed in 277.49 seconds ========================== ++ 23:54:04 starting rlib/test/test_rposix_environ.py [256 started in total] __ rlib/test/test_rposix_environ.py [253 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rposix_environ.py .. =========================== 2 passed in 8.89 seconds =========================== ++ 23:54:14 starting rlib/test/test_rposix_scandir.py [257 started in total] __ rlib/test/test_rposix_scandir.py [254 done in total, somefailed=False] _____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_rposix_scandir.py . =========================== 1 passed in 1.07 seconds =========================== ++ 23:54:15 starting rlib/test/test_rposix_stat.py [258 started in total] __ rlib/test/test_rposix.py [255 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 80 items rlib/test/test_rposix.py ..ss.sss...............ss....................................................... ==================== 73 passed, 7 skipped in 40.91 seconds ===================== ++ 23:54:16 starting rlib/test/test_rrandom.py [259 started in total] __ rlib/test/test_rrandom.py [256 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items rlib/test/test_rrandom.py ....... =========================== 7 passed in 5.23 seconds =========================== ++ 23:54:23 starting rlib/test/test_rrawarray.py [260 started in total] __ rlib/test/test_rrawarray.py [257 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rrawarray.py .... =========================== 4 passed in 0.89 seconds =========================== ++ 23:54:25 starting rlib/test/test_rsha.py [261 started in total] __ rlib/test/test_rsha.py [258 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rsha.py .... =========================== 4 passed in 1.17 seconds =========================== ++ 23:54:27 starting rlib/test/test_rshrinklist.py [262 started in total] __ rlib/test/test_rshrinklist.py [259 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rshrinklist.py .. =========================== 2 passed in 0.07 seconds =========================== ++ 23:54:28 starting rlib/test/test_rsignal.py [263 started in total] __ rlib/test/test_rposix_stat.py [260 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items rlib/test/test_rposix_stat.py ......s.. ===================== 8 passed, 1 skipped in 12.16 seconds ===================== ++ 23:54:30 starting rlib/test/test_rsiphash.py [264 started in total] __ rlib/test/test_rsignal.py [261 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rsignal.py ...... =========================== 6 passed in 6.30 seconds =========================== ++ 23:54:37 starting rlib/test/test_rsocket.py [265 started in total] __ rlib/test/test_rsiphash.py [262 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rsiphash.py ...... ========================== 6 passed in 12.77 seconds =========================== ++ 23:54:44 starting rlib/test/test_rstacklet.py [266 started in total] __ rlib/test/test_rstacklet.py [263 done in total, somefailed=True] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rstacklet.py F. =================================== FAILURES =================================== ______________________ TestStackletShadowStack.test_demo1 ______________________ self = <rpython.rlib.test.test_rstacklet.TestStackletShadowStack object at 0x7fbd02fa1a10> def test_demo1(self): > t, cbuilder = self.compile(entry_point) rlib/test/test_rstacklet.py:325: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:72: in compile exe_name=exe_name) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 521 blocks (19%) [rtyper] specializing: 200 / 818 blocks (24%) [rtyper] specializing: 400 / 1155 blocks (34%) [rtyper] specializing: 500 / 1157 blocks (43%) [rtyper] specializing: 700 / 1314 blocks (53%) [rtyper] specializing: 800 / 1314 blocks (60%) [rtyper] specializing: 900 / 1358 blocks (66%) [rtyper] specializing: 1000 / 1358 blocks (73%) [rtyper] specializing: 1100 / 1358 blocks (81%) [rtyper] specializing: 1200 / 1358 blocks (88%) [rtyper] specializing: 1300 / 1360 blocks (95%) [rtyper] -=- specialized 1360 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL rlib/test/test_rstacklet.py::TestStackletShadowStack::()::test_demo1 ====================== 1 failed, 1 passed in 2.39 seconds ====================== ++ 23:54:48 starting rlib/test/test_rstackovf.py [267 started in total] __ rlib/test/test_rstackovf.py [264 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/test/test_rstackovf.py .s.. ===================== 3 passed, 1 skipped in 2.98 seconds ====================== ++ 23:54:52 starting rlib/test/test_rstring.py [268 started in total] __ rlib/test/test_rstring.py [265 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items rlib/test/test_rstring.py ..........s.s.......... ===================== 21 passed, 2 skipped in 4.85 seconds ===================== ++ 23:54:58 starting rlib/test/test_rtermios.py [269 started in total] __ rlib/test/test_rtermios.py [266 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_rtermios.py sssss ========================== 5 skipped in 0.01 seconds =========================== ++ 23:54:59 starting rlib/test/test_rthread.py [270 started in total] __ rlib/test/test_rthread.py [267 done in total, somefailed=True] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 20 items rlib/test/test_rthread.py ............FFFFFFFF =================================== FAILURES =================================== ___________________ TestUsingFramework.test_start_new_thread ___________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25fbd84d0> def test_start_new_thread(self): import time class State: pass state = State() def bootstrap1(): state.my_thread_ident1 = get_ident() def bootstrap2(): state.my_thread_ident2 = get_ident() def f(): state.my_thread_ident1 = get_ident() state.my_thread_ident2 = get_ident() start_new_thread(bootstrap1, ()) start_new_thread(bootstrap2, ()) willing_to_wait_more = 1000 while (state.my_thread_ident1 == get_ident() or state.my_thread_ident2 == get_ident()): willing_to_wait_more -= 1 if not willing_to_wait_more: raise Exception("thread didn't start?") time.sleep(0.01) return 42 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58187f5be12980] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:86)f [flowgraph] (rpython.rlib.rthread:114)get_ident [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:81)bootstrap1 [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.test.test_rthread:83)bootstrap2 [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rtime:282)sleep [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c58187f6752b000] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58187f67547d00] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 100 / 460 blocks (21%) [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [rtyper] specializing: 200 / 561 blocks (35%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [rtyper] specializing: 300 / 563 blocks (53%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 400 / 565 blocks (70%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 500 / 567 blocks (88%) [rtyper] -=- specialized 567 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 600 / 615 blocks (97%) [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58187f73794500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58187f737b0400] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__bootstrap1 [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__bootstrap2 [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6565___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6569___simple_call__function_ [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v6566___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6567___simple_call__function_ [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isvirtual__v6556___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6543___simple_call__function_ [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 isconstant__v6549___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6550___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6555___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6561___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 isconstant__v6539___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6538___simple_call__function__star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 RPyThreadStart__bootstrap2Const_star_1 [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 RPyThreadStart__bootstrap1Const_star_1 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v6537___simple_call__function_ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v6558___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6544___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6559___simple_call__function__star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6564___simple_call__function_ [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 2.00 get_ident [backendopt:inlining] 5.00 allocate [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 bootstrap1 [backendopt:inlining] 7.00 start_new_thread__bootstrap1 [backendopt:inlining] 4.00 bootstrap2 [backendopt:inlining] 7.00 start_new_thread__bootstrap2 [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6553___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6562___simple_call__function_ [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6571___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6533___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6535___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6547___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6552___simple_call__function_ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6570___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6532___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6534___simple_call__function_ [backendopt:inlining] inlined 193 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__bootstrap1' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__bootstrap1Const_star_1' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__bootstrap2' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__bootstrap2Const_star_1' [backendopt:malloc] 1 simple mallocs removed in 'sleep' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6538___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6559___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 51 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58187f79ba6780] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58187f79bd5380] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58187f7a0dd300] translation-task} [translation:info] Creating database for generating c source... [c58187f7a0e4c00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58187f7afcc680] translation-task} ______________________ TestUsingFramework.test_gc_locking ______________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25f53ad50> @py.test.mark.xfail(platform.machine() == 's390x' or sys.platform == 'darwin', reason='may fail this test under heavy load') def test_gc_locking(self): import time from rpython.rlib.debug import ll_assert class State: pass state = State() class Z: def __init__(self, i, j): self.i = i self.j = j def run(self): j = self.j if self.i > 1: g(self.i-1, self.j * 2) ll_assert(j == self.j, "1: bad j") g(self.i-2, self.j * 2 + 1) else: if len(state.answers) % 7 == 5: gc.collect() state.answers.append(self.j) ll_assert(j == self.j, "2: bad j") run._dont_inline_ = True def bootstrap(): # after_extcall() is called before we arrive here. # We can't just acquire and release the GIL manually here, # because it is unsafe: bootstrap() is called from a rffi # callback which checks for and reports exceptions after # bootstrap() returns. The exception checking code must be # protected by the GIL too. z = state.z state.z = None state.bootstrapping.release() z.run() gc_thread_die() # before_extcall() is called after we leave here def g(i, j): state.bootstrapping.acquire(True) state.z = Z(i, j) start_new_thread(bootstrap, ()) def f(): state.bootstrapping = allocate_lock() state.answers = [] state.finished = 0 g(10, 1) done = False willing_to_wait_more = 2000 while not done: if not willing_to_wait_more: break willing_to_wait_more -= 1 done = len(state.answers) == expected print "waitting %d more iterations" % willing_to_wait_more time.sleep(0.01) time.sleep(0.1) return len(state.answers) expected = 89 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58187f805f5b00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:150)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rlib.test.test_rthread:145)g [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rlib.rthread:169)Lock.acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLock [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLock [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:115)Z.__init__ [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.test.test_rthread:131)bootstrap [flowgraph] (rpython.rlib.rthread:199)Lock.release [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.test.test_rthread:118)Z.run [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:297)gc_thread_die [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rtime:282)sleep [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c58187f8c363f00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58187f8c380280] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [rtyper] specializing: 100 / 475 blocks (21%) [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [rtyper] specializing: 200 / 479 blocks (41%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [rtyper] specializing: 300 / 645 blocks (46%) [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [rtyper] specializing: 400 / 684 blocks (58%) [rtyper] specializing: 500 / 684 blocks (73%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 600 / 688 blocks (87%) [rtyper] -=- specialized 688 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 700 / 736 blocks (95%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58187f9ad6f580] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58187f9ad8a100] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in Lock.acquire [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__bootstrap [backendopt:removecasts] removed 1 cast_pointers in Lock.release [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6588___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6593___simple_call__function_ [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v6590___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6618___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6579___simple_call__function_ [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 conditional_call__v6613___simple_call__function__star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v6584___simple_call__function_ [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 0.00 isvirtual__v6591___simple_call__function_ [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 conditional_call__v6578___simple_call__function__star_3 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isconstant__v6583___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6617___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6596___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 RPyThreadStart__bootstrapConst_star_1 [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 isconstant__v6602___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6607___simple_call__function__star_3 [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 isconstant__v6606___simple_call__function_ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v6597___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6605___simple_call__function_ [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 isconstant__v6611___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6612___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2 [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6577___simple_call__function_ [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isvirtual__v6603___simple_call__function_ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 gc_thread_die [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_int_py_mod_nonnegargs__Signed_Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 4.00 Z.__init__ [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6589___simple_call__function_ [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 allocate [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 acquire [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 start_new_thread__bootstrap [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6601___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6609___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 Lock.release [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 17.00 ll_append__listPtr_Signed [backendopt:inlining] 19.25 _errno_after__v6575___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6622___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6573___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6595___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6599___simple_call__function_ [backendopt:inlining] 28.75 bootstrap [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 28.00 g [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6621___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6574___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6572___simple_call__function_ [backendopt:inlining] inlined 226 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 5 simple mallocs removed in 'Lock.acquire' [backendopt:malloc] 5 simple mallocs removed in 'RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2' [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__bootstrap' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__bootstrapConst_star_1' [backendopt:malloc] 1 simple mallocs removed in 'wrapper' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 1 simple mallocs removed in 'sleep' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6578___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6607___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6613___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 66 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58187fa2310c00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58187fa2343080] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58187fa28dd400] translation-task} [translation:info] Creating database for generating c source... [c58187fa28e6680] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58187fa364cb00] translation-task} __________________ TestUsingFramework.test_acquire_timed_1sec __________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25f4bce50> def test_acquire_timed_1sec(self): import time def f(): l = allocate_lock() l.acquire(True) t1 = time.time() ok = l.acquire_timed(1000001) t2 = time.time() delay = t2 - t1 if ok == 0: # RPY_LOCK_FAILURE return -delay elif ok == 2: # RPY_LOCK_INTR return delay else: # RPY_LOCK_ACQUIRED return 0.0 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58187fa8ae8b80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:178)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:169)Lock.acquire [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLock [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLock [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rtime:146)time [flowgraph] (rpython.rlib.rtime:101)decode_timeval [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rlib.rthread:192)Lock.acquire_timed [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLockTimed [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLockTimed [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (?:2)formatd [flowgraph] (rpython.rlib.rfloat:105)formatd [flowgraph] (rpython.rlib.rdtoa:290)dtoa_formatd [flowgraph] (rpython.rlib.rdtoa:248)dtoa [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_dtoa [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_freedtoa [flowgraph] (rpython.rlib.rdtoa:82)format_nonfinite [flowgraph] (rpython.rlib.rdtoa:97)format_number [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58187fb84f3780] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58187fb8512980] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:1046)ll_contains [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:890)ll_char_isdigit [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [rtyper] specializing: 100 / 612 blocks (16%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:328)ll_append_charpsize [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [rtyper] specializing: 200 / 634 blocks (31%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rstr:930)ll_lower_char [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [rtyper] specializing: 300 / 720 blocks (41%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:856)ll_stringslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [rtyper] specializing: 400 / 788 blocks (50%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 500 / 792 blocks (63%) [rtyper] specializing: 600 / 792 blocks (75%) [rtyper] specializing: 700 / 792 blocks (88%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 794 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58187fc719f580] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58187fc71ba580] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in Lock.acquire [backendopt:removecasts] removed 2 cast_pointers in dtoa_formatd [backendopt:removecasts] removed 3 cast_pointers in dtoa [backendopt:removecasts] removed 1 cast_pointers in format_nonfinite [backendopt:removecasts] removed 4 cast_pointers in format_number [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6625___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6631___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_grow_by__stringbuilderPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_stringslice__rpy_stringPtr_Signed_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 ll_append_char__stringbuilderPtr_Char [backendopt:inlining] 0.00 isvirtual__v6664___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2 [backendopt:inlining] 0.00 copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 isconstant__v6645___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6652___simple_call__function_ [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isvirtual__v6658___simple_call__function_ [backendopt:inlining] 0.00 _PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isvirtual__v6629___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6634___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6628___simple_call__function_ [backendopt:inlining] 0.00 ll_append_multiple_char__stringbuilderPtr_Char_Signed [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v6663___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6639___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isconstant__v6640___simple_call__function_ [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 memo_emptystrfun_0 [backendopt:inlining] 0.00 ll_getlength__stringbuilderPtr [backendopt:inlining] 0.00 conditional_call__v6644___simple_call__function__star_2 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 conditional_call__v6669___simple_call__function__star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v6635___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6647___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6649___simple_call__function_ [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_foldable_nonnegCons_arrayPtr_Signed [backendopt:inlining] 0.00 isconstant__v6633___simple_call__function_ [backendopt:inlining] 0.00 _PyPy_dg_freedtoa__arrayPtr_star_1 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v6667___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6666___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6656___simple_call__function_ [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_sec [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_usec [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 ll_min__Unsigned_Unsigned [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_build_look_inside_iff__stringbuilderPtr [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 4.00 ll_getitem_foldable_nonneg__arrayPtr_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 7.50 ll_char_isdigit__Char [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 llrepr_out__float [backendopt:inlining] 9.00 formatd [backendopt:inlining] 9.00 formatd [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.50 ll_chr2str__Char [backendopt:inlining] 7.00 acquire [backendopt:inlining] 10.75 ll_lower_char__Char [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_stringslice_startonly__rpy_stringPtr_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6662___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6670___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 17.00 ll_contains__rpy_stringPtr_Char [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6627___simple_call__function_ [backendopt:inlining] 18.12 ll_stringslice_startstop__rpy_stringPtr_Signed_Signed [backendopt:inlining] 19.00 ll_shrink_final__stringbuilderPtr [backendopt:inlining] 16.00 decode_timeval [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 22.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6624___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6657___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6660___simple_call__function_ [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_new__Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6623___simple_call__function_ [backendopt:inlining] inlined 255 callsites. [backendopt:removecasts] removed 2 cast_pointers in time [backendopt:malloc] starting malloc removal [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 5 simple mallocs removed in 'Lock.acquire' [backendopt:malloc] 5 simple mallocs removed in 'RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2' [backendopt:malloc] 6 simple mallocs removed in 'Lock.acquire_timed' [backendopt:malloc] 6 simple mallocs removed in 'RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 13 simple mallocs removed in '_PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6' [backendopt:malloc] 3 simple mallocs removed in '_PyPy_dg_freedtoa__arrayPtr_star_1' [backendopt:malloc] 7 simple mallocs removed in 'format_number' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6634___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_append_char__stringbuilderPtr_Char' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6644___simple_call__function__star_2' [backendopt:malloc] 4 simple mallocs removed in '_ll_append_multiple_char__stringbuilderPtr_Char_Signed' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6669___simple_call__function__star_3' [backendopt:malloc] removed 75 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in f [backendopt] merging blocks in dtoa_formatd [backendopt] merging blocks in format_number [c58187fd0ae7380] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58187fd0b15a00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] specializing: 800 / 806 blocks (99%) [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58187fd1095f80] translation-task} [translation:info] Creating database for generating c source... [c58187fd109da80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58187fd1d3b000] translation-task} ______________ TestUsingFramework.test_acquire_timed_huge_timeout ______________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25e800c90> def test_acquire_timed_huge_timeout(self): t = r_longlong(2 ** 61) def f(): l = allocate_lock() return l.acquire_timed(t) > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58187fdb367d00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:197)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rlib.rthread:192)Lock.acquire_timed [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLockTimed [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLockTimed [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58187fdfd7d080] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58187fdfd99600] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [rtyper] specializing: 100 / 297 blocks (33%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [rtyper] specializing: 200 / 415 blocks (48%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 419 blocks (71%) [rtyper] specializing: 400 / 419 blocks (95%) [rtyper] -=- specialized 419 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58187fe8871500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58187fe888d280] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6701___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6706___simple_call__function_ [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v6681___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6676___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6680___simple_call__function_ [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v6691___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v6695___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6687___simple_call__function_ [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v6686___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6675___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6704___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6674___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6697___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6703___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v6693___simple_call__function_ [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 conditional_call__v6696___simple_call__function__star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 f [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6699___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6692___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 6.75 loop_unrolling_heuristic__v6702___simple_call__function_ [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6672___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6685___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6689___simple_call__function_ [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6671___simple_call__function_ [backendopt:inlining] inlined 129 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 6 simple mallocs removed in 'Lock.acquire_timed' [backendopt:malloc] 6 simple mallocs removed in 'RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6676___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6696___simple_call__function__star_3' [backendopt:malloc] removed 36 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58187fed03f480] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58187fed06c700] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58187fed543380] translation-task} [translation:info] Creating database for generating c source... [c58187fed54bd80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58187fee1f3980] translation-task} _________________ TestUsingFramework.test_acquire_timed_alarm __________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25e7153d0> def test_acquire_timed_alarm(self): import sys if not sys.platform.startswith('linux'): py.test.skip("skipped on non-linux") import time from rpython.rlib import rsignal def f(): l = allocate_lock() l.acquire(True) # rsignal.pypysig_setflag(rsignal.SIGALRM) rsignal.c_alarm(1) # t1 = time.time() ok = l.acquire_timed(2500000) t2 = time.time() delay = t2 - t1 if ok == 0: # RPY_LOCK_FAILURE return -delay elif ok == 2: # RPY_LOCK_INTR return delay else: # RPY_LOCK_ACQUIRED return 0.0 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58187ff3321200] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:210)f [flowgraph] (rpython.rlib.rthread:92)allocate_lock [flowgraph] (rpython.rlib.rthread:249)allocate_ll_lock [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadLockInit [flowgraph] (rpython.rlib.rthread:203)Lock.__del__ [flowgraph] (rpython.rlib.rthread:166)Lock.__init__ [flowgraph] (rpython.rlib.rthread:260)free_ll_lock [flowgraph] (rpython.rlib.rthread:266)acquire_NOAUTO [flowgraph] (rpython.rlib.rthread:169)Lock.acquire [flowgraph] (rpython.rlib.rthread:272)release_NOAUTO [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLock [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLock [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)pypysig_setflag [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)alarm [flowgraph] (rpython.rlib.rtime:146)time [flowgraph] (rpython.rlib.rtime:101)decode_timeval [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1374)getintfield [flowgraph] (rpython.rlib.rthread:192)Lock.acquire_timed [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadAcquireLockTimed [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadAcquireLockTimed [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (?:2)formatd [flowgraph] (rpython.rlib.rfloat:105)formatd [flowgraph] (rpython.rlib.rdtoa:290)dtoa_formatd [flowgraph] (rpython.rlib.rdtoa:248)dtoa [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_dtoa [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)_PyPy_dg_freedtoa [flowgraph] (rpython.rlib.rdtoa:97)format_number [flowgraph] (rpython.rlib.rdtoa:82)format_nonfinite [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58187fffaad580] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58187fffacd300] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rstr:930)ll_lower_char [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [rtyper] specializing: 100 / 451 blocks (22%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:328)ll_append_charpsize [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:856)ll_stringslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rstr:890)ll_char_isdigit [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [rtyper] specializing: 300 / 781 blocks (38%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1046)ll_contains [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 400 / 804 blocks (49%) [rtyper] specializing: 500 / 804 blocks (62%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 600 / 810 blocks (74%) [rtyper] specializing: 700 / 810 blocks (86%) [rtyper] specializing: 800 / 810 blocks (98%) [rtyper] -=- specialized 810 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818801304a500] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58188013065680] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in allocate_ll_lock [backendopt:removecasts] removed 1 cast_pointers in Lock.acquire [backendopt:removecasts] removed 2 cast_pointers in dtoa_formatd [backendopt:removecasts] removed 3 cast_pointers in dtoa [backendopt:removecasts] removed 4 cast_pointers in format_number [backendopt:removecasts] removed 1 cast_pointers in format_nonfinite [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_grow_by__stringbuilderPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6713___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6717___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in _ll_stringslice__rpy_stringPtr_Signed_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 copy_raw_to_string__arrayPtr_rpy_stringPtr_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6744___simple_call__function_ [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 ll_append_multiple_char__stringbuilderPtr_Char_Signed [backendopt:inlining] 0.00 isconstant__v6754___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_foldable_nonnegCons_arrayPtr_Signed [backendopt:inlining] 0.00 isvirtual__v6737___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6752___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isconstant__v6731___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6714___simple_call__function_ [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 memo_emptystrfun_0 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6736___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6750___simple_call__function_ [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 pypysig_setflag__Signed_star_1 [backendopt:inlining] 0.00 RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 conditional_call__v6725___simple_call__function__star_3 [backendopt:inlining] 0.00 RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2 [backendopt:inlining] 0.00 isconstant__v6724___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6730___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3 [backendopt:inlining] 0.00 ll_append_char__stringbuilderPtr_Char [backendopt:inlining] 0.00 isconstant__v6726___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6719___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6742___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6746___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6745___simple_call__function_ [backendopt:inlining] 0.00 ll_getlength__stringbuilderPtr [backendopt:inlining] 0.00 _PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6 [backendopt:inlining] 0.00 conditional_call__v6747___simple_call__function__star_3 [backendopt:inlining] 0.00 _PyPy_dg_freedtoa__arrayPtr_star_1 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 conditional_call__v6710___simple_call__function__star_2 [backendopt:inlining] 0.00 alarm__Signed_star_1 [backendopt:inlining] 0.00 isvirtual__v6715___simple_call__function_ [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 Lock.__init__ [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_sec [backendopt:inlining] 4.00 getintfield__timevalPtr_c_tv_usec [backendopt:inlining] 4.00 ll_min__Unsigned_Unsigned [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 release_NOAUTO [backendopt:inlining] 4.00 ll_getitem_foldable_nonneg__arrayPtr_Signed [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 7.00 ll_build_look_inside_iff__stringbuilderPtr [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 7.50 ll_char_isdigit__Char [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 llrepr_out__float [backendopt:inlining] 9.00 formatd [backendopt:inlining] 9.00 formatd [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.50 ll_chr2str__Char [backendopt:inlining] 10.75 ll_lower_char__Char [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 11.00 ll_stringslice_startonly__rpy_stringPtr_Signed [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 acquire_NOAUTO [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6740___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6749___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 17.00 ll_contains__rpy_stringPtr_Char [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6712___simple_call__function_ [backendopt:inlining] 18.12 ll_stringslice_startstop__rpy_stringPtr_Signed_Signed [backendopt:inlining] 19.00 ll_shrink_final__stringbuilderPtr [backendopt:inlining] 16.00 decode_timeval [backendopt:inlining] 17.00 allocate_lock [backendopt:inlining] 22.00 ll_shrink_array__rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6708___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6734___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6739___simple_call__function_ [backendopt:inlining] 29.00 free_ll_lock [backendopt:inlining] 27.50 ll_new__Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6707___simple_call__function_ [backendopt:inlining] inlined 241 callsites. [backendopt:removecasts] removed 2 cast_pointers in time [backendopt:malloc] starting malloc removal [backendopt:malloc] 4 simple mallocs removed in 'f' [backendopt:malloc] 3 simple mallocs removed in 'allocate_ll_lock' [backendopt:malloc] 3 simple mallocs removed in 'RPyThreadLockInit__struct_RPyOpaque_ThreadLockPtr_star_1' [backendopt:malloc] 5 simple mallocs removed in 'Lock.acquire' [backendopt:malloc] 5 simple mallocs removed in 'RPyThreadAcquireLock__struct_RPyOpaque_ThreadLockPtr_Signed_star_2' [backendopt:malloc] 2 simple mallocs removed in 'pypysig_setflag__Signed_star_1' [backendopt:malloc] 2 simple mallocs removed in 'alarm__Signed_star_1' [backendopt:malloc] 6 simple mallocs removed in 'Lock.acquire_timed' [backendopt:malloc] 6 simple mallocs removed in 'RPyThreadAcquireLockTimed__struct_RPyOpaque_ThreadLockPtr_Signed_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 13 simple mallocs removed in '_PyPy_dg_dtoa__Float_Signed_Signed_arrayPtr_arrayPtr_arrayPtr_star_6' [backendopt:malloc] 3 simple mallocs removed in '_PyPy_dg_freedtoa__arrayPtr_star_1' [backendopt:malloc] 7 simple mallocs removed in 'format_number' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_append_char__stringbuilderPtr_Char' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6710___simple_call__function__star_2' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6725___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6747___simple_call__function__star_3' [backendopt:malloc] 4 simple mallocs removed in '_ll_append_multiple_char__stringbuilderPtr_Char_Signed' [backendopt:malloc] removed 83 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in f [backendopt] merging blocks in dtoa_formatd [backendopt] merging blocks in format_number [c5818801c953700] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c5818801c982700] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c5818801cf06300] translation-task} [translation:info] Creating database for generating c source... [c5818801cf0de00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818801dc3d200] translation-task} ________________________ TestUsingFramework.test_tlref _________________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25edc6f10> def test_tlref(self): class FooBar(object): pass t = ThreadLocalReference(FooBar) def f(): x1 = FooBar() t.set(x1) import gc; gc.collect() assert t.get() is x1 return 42 > fn = self.getcompiled(f, []) rlib/test/test_rthread.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58188022e3fc00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:235)f [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58188026629b80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58188026645100] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 100 / 365 blocks (27%) [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 200 / 383 blocks (52%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 387 blocks (77%) [rtyper] -=- specialized 387 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818802e9cb380] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818802e9e6900] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6769___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6774___simple_call__function_ [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v6771___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6778___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6783___simple_call__function_ [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6763___simple_call__function_ [backendopt:inlining] 0.00 conditional_call__v6787___simple_call__function__star_3 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 conditional_call__v6760___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6777___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6758___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6784___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6786___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isconstant__v6759___simple_call__function_ [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 cast_instance_to_base_ptr__rpython_rlib_test_test_rthread_FooBar [backendopt:inlining] 0.00 isvirtual__v6772___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v6789___simple_call__function_ [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v6765___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF3Ptr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 set [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6781___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6790___simple_call__function_ [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6770___simple_call__function_ [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.50 f [backendopt:inlining] 19.25 _errno_after__v6756___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6775___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6780___simple_call__function_ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6755___simple_call__function_ [backendopt:inlining] inlined 123 callsites. [backendopt:removecasts] removed 1 cast_pointers in entry_point [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6760___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6787___simple_call__function__star_3' [backendopt:malloc] removed 18 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c581880328a5c80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c581880328d1c00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58188032da4380] translation-task} [translation:info] Creating database for generating c source... [c58188032dac100] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] specializing: 400 / 424 blocks (94%) [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58188033ae2200] translation-task} ___________________ TestUsingFramework.test_tlref_keepalive ____________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25e88e990> no__thread = True def test_tlref_keepalive(self, no__thread=True): import weakref from rpython.config.translationoption import SUPPORT__THREAD if not (SUPPORT__THREAD or no__thread): py.test.skip("no __thread support here") class FooBar(object): def __init__(self, a, b): self.lst = [a, b] t = ThreadLocalReference(FooBar) t2 = ThreadLocalReference(FooBar) def tset(): x1 = FooBar(40, 2) t.set(x1) return weakref.ref(x1) tset._dont_inline_ = True def t2set(): x1 = FooBar(50, 3) t2.set(x1) return weakref.ref(x1) t2set._dont_inline_ = True class WrFromThread: pass wr_from_thread = WrFromThread() def f(): config = objectmodel.fetch_translated_config() assert t.automatic_keepalive(config) is True wr = tset() wr2 = t2set() import gc; gc.collect() # the two 'x1' should not be collected x1 = t.get() assert x1 is not None assert wr() is not None assert wr() is x1 assert x1.lst == [40, 2] x2 = t2.get() assert x2 is not None assert wr2() is not None assert wr2() is x2 assert x2.lst == [50, 3] return wr, wr2 def thread_entry_point(): wr, wr2 = f() wr_from_thread.wr = wr wr_from_thread.wr2 = wr2 wr_from_thread.seen = True def main(): wr_from_thread.seen = False start_new_thread(thread_entry_point, ()) wr1, wr2 = f() count = 0 while True: time.sleep(0.5) if wr_from_thread.seen or count >= 50: break count += 1 assert wr_from_thread.seen is True wr_other_1 = wr_from_thread.wr wr_other_2 = wr_from_thread.wr2 import gc; gc.collect() # wr_other_*() should be collected here assert wr1() is not None # this thread, still running assert wr2() is not None # this thread, still running assert wr_other_1() is None # other thread, not running any more assert wr_other_2() is None # other thread, not running any more assert wr1().lst == [40, 2] assert wr2().lst == [50, 3] return 42 extra_options = {'no__thread': no__thread, 'shared': True} > fn = self.getcompiled(main, [], extra_options=extra_options) rlib/test/test_rthread.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c5818803d895180] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:310)main [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:304)thread_entry_point [flowgraph] (rpython.rlib.test.test_rthread:286)f [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rlib.rthread:446)automatic_keepalive [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.test.test_rthread:270)tset [flowgraph] (rpython.rlib.test.test_rthread:265)FooBar.__init__ [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.test.test_rthread:276)t2set [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.rtime:282)sleep [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c581880459e6f00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58188045a03c00] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [rtyper] specializing: 100 / 514 blocks (19%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [rtyper] specializing: 200 / 537 blocks (37%) [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [rtyper] specializing: 300 / 640 blocks (46%) [rtyper] specializing: 400 / 640 blocks (62%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 500 / 642 blocks (77%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 600 / 644 blocks (93%) [rtyper] -=- specialized 644 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [rtyper] -=- specialized 48 more blocks -=- [rtyper] specializing: 700 / 701 blocks (99%) [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818805394ed80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818805396a300] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 7 cast_pointers in main [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__thread_entry_point [backendopt:removecasts] removed 8 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6797___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6801___simple_call__function_ [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 isconstant__v6827___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6822___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6828___simple_call__function_ [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 isvirtual__v6815___simple_call__function_ [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v6809___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6816___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6810___simple_call__function_ [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 conditional_call__v6804___simple_call__function__star_3 [backendopt:inlining] 0.00 isconstant__v6831___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6798___simple_call__function_ [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 0.00 ll_setitem_nonneg__dum_nocheckConst_arrayPtr_Signed_Signed [backendopt:inlining] 0.00 cast_instance_to_base_ptr__rpython_rlib_test_test_rthread_FooBar [backendopt:inlining] 0.00 isconstant__v6821___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6799___simple_call__function_ [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v6803___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6805___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadStart__thread_entry_pointConst_star_1 [backendopt:inlining] 0.00 isconstant__v6830___simple_call__function_ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 conditional_call__v6832___simple_call__function__star_3 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_SignedLlT_Signed [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF5Ptr [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF4Ptr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 allocate [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 acquire [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 start_new_thread__thread_entry_point [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_listeq_look_inside_iff__arrayPtr_arrayPtr_NoneConst [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 set [backendopt:inlining] 4.00 set [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6825___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6834___simple_call__function_ [backendopt:inlining] 15.00 thread_entry_point [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6796___simple_call__function_ [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6794___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6836___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6792___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6819___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6824___simple_call__function_ [backendopt:inlining] 12.00 FooBar.__init__ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 29.05 ll_listeq__v6814___simple_call__function_ [backendopt:inlining] 29.05 ll_listeq__v6818___simple_call__function_ [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v6835___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6791___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6793___simple_call__function_ [backendopt:inlining] inlined 245 callsites. [backendopt:removecasts] removed 1 cast_pointers in tset [backendopt:removecasts] removed 1 cast_pointers in t2set [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__thread_entry_point' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__thread_entry_pointConst_star_1' [backendopt:malloc] 1 simple mallocs removed in 'wrapper' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'sleep' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6804___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6832___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 48 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c5818805b49ae80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c5818805b4ced00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c5818805ba47300] translation-task} [translation:info] Creating database for generating c source... [c5818805ba50780] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818805c806200] translation-task} _______________ TestUsingFramework.test_tlref_keepalive__thread ________________ self = <rpython.rlib.test.test_rthread.TestUsingFramework object at 0x7fa25ebe8e10> def test_tlref_keepalive__thread(self): > self.test_tlref_keepalive(no__thread=False) rlib/test/test_rthread.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rlib/test/test_rthread.py:333: in test_tlref_keepalive fn = self.getcompiled(main, [], extra_options=extra_options) translator/c/test/test_boehm.py:40: in getcompiled thread=self.use_threads, **extra_options) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58188068591900] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rlib.test.test_rthread:310)main [flowgraph] (rpython.rlib.rthread:130)start_new_thread [flowgraph] (rpython.rlib.rthread:99)ll_start_new_thread [flowgraph] (rpython.rlib.rgil:153)allocate [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)RPyThreadStart [flowgraph] (?:6)wrapper [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_RPyThreadStart [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.test.test_rthread:304)thread_entry_point [flowgraph] (rpython.rlib.test.test_rthread:286)f [flowgraph] (rpython.rlib.rthread:446)automatic_keepalive [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.test.test_rthread:270)tset [flowgraph] (rpython.rlib.test.test_rthread:265)FooBar.__init__ [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.test.test_rthread:276)t2set [flowgraph] (rpython.rlib.rthread:413)set [flowgraph] (rpython.rlib.rgc:1166)ll_writebarrier [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rthread:403)get [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.rtime:282)sleep [flowgraph] (rpython.rtyper.lltypesystem.lltype:2296)scoped_alloc [flowgraph] (rpython.rtyper.lltypesystem.lltype:2280)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2286)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.lltype:2289)ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:1362)setintfield [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)select [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_select [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__make_scoped_allocator_0 [flowgraph] (?:1)memo__isfunctype_0 [c58188070878e80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58188070896180] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [rtyper] specializing: 100 / 406 blocks (24%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [rtyper] specializing: 200 / 576 blocks (34%) [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:218)ll_math_fmod [rtyper] specializing: 300 / 640 blocks (46%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 400 / 642 blocks (62%) [rtyper] specializing: 500 / 642 blocks (77%) [rtyper] specializing: 600 / 642 blocks (93%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] -=- specialized 644 blocks -=- [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fmod [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_fmod [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rfloat:567)_likely_raise [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)fabs [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:91)ll_math_isnan [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] -=- specialized 48 more blocks -=- [rtyper] specializing: 700 / 701 blocks (99%) [rtyper] -=- specialized 9 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c5818807e2d7600] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c5818807e2f3300] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 7 cast_pointers in main [backendopt:removecasts] removed 1 cast_pointers in ll_start_new_thread__thread_entry_point [backendopt:removecasts] removed 8 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 3 cast_pointers in sleep [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6858___simple_call__function_ [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v6864___simple_call__function_ [backendopt:removecasts] removed 3 cast_pointers in _likely_raise [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 cast_instance_to_base_ptr__rpython_rlib_test_test_rthread_FooBar [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isvirtual__v6855___simple_call__function_ [backendopt:inlining] 0.00 ll_setitem_nonneg__dum_nocheckConst_arrayPtr_Signed_Signed [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5 [backendopt:inlining] 0.00 fmod__Float_Float_star_2 [backendopt:inlining] 0.00 isconstant__v6873___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6876___simple_call__function_ [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v6867___simple_call__function_ [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v6854___simple_call__function_ [backendopt:inlining] 0.00 RPyThreadStart__thread_entry_pointConst_star_1 [backendopt:inlining] 0.00 conditional_call__v6844___simple_call__function__star_3 [backendopt:inlining] 0.00 isvirtual__v6874___simple_call__function_ [backendopt:inlining] 0.00 memo_conststr_0 [backendopt:inlining] 0.00 isconstant__v6861___simple_call__function_ [backendopt:inlining] 0.00 isvirtual__v6862___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6848___simple_call__function_ [backendopt:inlining] 0.00 fabs__Float_star_1 [backendopt:inlining] 0.00 isvirtual__v6868___simple_call__function_ [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isconstant__v6843___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6878___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6849___simple_call__function_ [backendopt:inlining] 0.00 isconstant__v6842___simple_call__function_ [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 conditional_call__v6879___simple_call__function__star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 ll_unsigned__Unsigned [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_fixed_newlist__GcArray_SignedLlT_Signed [backendopt:inlining] 2.00 ll_fixed_length__arrayPtr [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF6Ptr [backendopt:inlining] 2.00 get_or_make_raw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_math_isnan__Float [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__enter__ [backendopt:inlining] 2.00 get [backendopt:inlining] 2.00 ll_writebarrier__TRACETLREF7Ptr [backendopt:inlining] 4.00 ll_fixed_setitem_fast__arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_fixed_getitem_fast__arrayPtr_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_math_isfinite__Float [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_usec_Signed [backendopt:inlining] 4.00 setintfield__timevalPtr_c_tv_sec_Signed [backendopt:inlining] 4.00 __exit____star_3 [backendopt:inlining] 5.00 release [backendopt:inlining] 2.00 get_or_make_ident [backendopt:inlining] 5.00 allocate [backendopt:inlining] 5.50 ll_math_isinf__Float [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 ScopedAlloc_Struct timeval { c_tv_sec, c_tv_usec }.__init__ [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 start_new_thread__thread_entry_point [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_listeq_look_inside_iff__arrayPtr_arrayPtr_NoneConst [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 set [backendopt:inlining] 4.00 set [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 9.00 acquire_maybe_in_new_thread [backendopt:inlining] 12.00 scoped_alloc__timeval_False [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6871___simple_call__function_ [backendopt:inlining] 9.00 ll_listdelslice_startonly__v6880___simple_call__function_ [backendopt:inlining] 15.00 thread_entry_point [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 4.00 loop_unrolling_heuristic__v6860___simple_call__function_ [backendopt:inlining] 21.00 ccall_fmod [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v6840___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6838___simple_call__function_ [backendopt:inlining] 19.25 _errno_after__v6882___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6865___simple_call__function_ [backendopt:inlining] 26.16 ll_join_chars__v6870___simple_call__function_ [backendopt:inlining] 12.00 FooBar.__init__ [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 29.05 ll_listeq__v6852___simple_call__function_ [backendopt:inlining] 29.05 ll_listeq__v6857___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6881___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6839___simple_call__function_ [backendopt:inlining] 31.87 _errno_before__v6837___simple_call__function_ [backendopt:inlining] inlined 235 callsites. [backendopt:removecasts] removed 1 cast_pointers in tset [backendopt:removecasts] removed 1 cast_pointers in t2set [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'll_start_new_thread__thread_entry_point' [backendopt:malloc] 2 simple mallocs removed in 'RPyThreadStart__thread_entry_pointConst_star_1' [backendopt:malloc] 1 simple mallocs removed in 'wrapper' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'sleep' [backendopt:malloc] 8 simple mallocs removed in 'select__Signed_arrayPtr_arrayPtr_arrayPtr_timevalPtr_star_5' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6844___simple_call__function__star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v6879___simple_call__function__star_3' [backendopt:malloc] 5 simple mallocs removed in 'll_math_fmod__Float_Float' [backendopt:malloc] 5 simple mallocs removed in 'fmod__Float_Float_star_2' [backendopt:malloc] 3 simple mallocs removed in '_likely_raise' [backendopt:malloc] 3 simple mallocs removed in 'fabs__Float_star_1' [backendopt:malloc] removed 48 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58188085b69180] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18095 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58188085b96e00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c581880860a3000] translation-task} [translation:info] Creating database for generating c source... [c581880860aaf00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58188086d62680] translation-task} =========================== short test summary info ============================ FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_start_new_thread FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_gc_locking FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_acquire_timed_1sec FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_acquire_timed_huge_timeout FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_acquire_timed_alarm FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_tlref FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_tlref_keepalive FAIL rlib/test/test_rthread.py::TestUsingFramework::()::test_tlref_keepalive__thread ===================== 8 failed, 12 passed in 33.67 seconds ===================== ++ 23:55:37 starting rlib/test/test_rtime.py [271 started in total] __ rlib/test/test_rtime.py [268 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 5 items rlib/test/test_rtime.py ..... =========================== 5 passed in 1.51 seconds =========================== ++ 23:55:39 starting rlib/test/test_rtimer.py [272 started in total] __ rlib/test/test_rtimer.py [269 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 6 items rlib/test/test_rtimer.py ...... =========================== 6 passed in 5.48 seconds =========================== ++ 23:55:46 starting rlib/test/test_runicode.py [273 started in total] __ rlib/test/test_runicode.py [270 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 48 items rlib/test/test_runicode.py ................................................ ========================== 48 passed in 8.95 seconds =========================== ++ 23:55:56 starting rlib/test/test_rurandom.py [274 started in total] __ rlib/test/test_rurandom.py [271 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rurandom.py .. =========================== 2 passed in 0.62 seconds =========================== ++ 23:55:58 starting rlib/test/test_rutf8.py [275 started in total] __ rlib/test/test_rutf8.py [272 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items rlib/test/test_rutf8.py ....................... ========================== 23 passed in 19.14 seconds ========================== ++ 23:56:18 starting rlib/test/test_rweakkeydict.py [276 started in total] __ rlib/test/test_rweakkeydict.py [273 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 8 items rlib/test/test_rweakkeydict.py .....XXx ================ 5 passed, 1 xfailed, 2 xpassed in 3.81 seconds ================ ++ 23:56:24 starting rlib/test/test_rweaklist.py [277 started in total] __ rlib/test/test_rweaklist.py [274 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rweaklist.py .. =========================== 2 passed in 0.13 seconds =========================== ++ 23:56:25 starting rlib/test/test_rweakref.py [278 started in total] __ rlib/test/test_rsocket.py [275 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 68 items rlib/test/test_rsocket.py ...........................................................xxx....s. ============== 64 passed, 1 skipped, 3 xfailed in 104.62 seconds =============== ++ 23:56:26 starting rlib/test/test_rweakvaldict.py [279 started in total] __ rlib/test/test_rweakref.py [276 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items rlib/test/test_rweakref.py . =========================== 1 passed in 0.64 seconds =========================== ++ 23:56:27 starting rlib/test/test_rwin32.py [280 started in total] __ rlib/test/test_rwin32.py [277 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.01 seconds =========================== ++ 23:56:28 starting rlib/test/test_rzipfile.py [281 started in total] __ rlib/test/test_rweakvaldict.py [278 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 13 items rlib/test/test_rweakvaldict.py .......X..... ==================== 12 passed, 1 xpassed in 12.15 seconds ===================== ++ 23:56:40 starting rlib/test/test_rzlib.py [282 started in total] __ rlib/test/test_rzipfile.py [279 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/test/test_rzipfile.py .. ========================== 2 passed in 17.02 seconds =========================== ++ 23:56:48 starting rlib/test/test_signature.py [283 started in total] __ rlib/test/test_signature.py [280 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 23 items rlib/test/test_signature.py .....x..............xxx ===================== 19 passed, 4 xfailed in 0.76 seconds ===================== ++ 23:56:50 starting rlib/test/test_streamio.py [284 started in total] __ rlib/test/test_streamio.py [281 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 112 items rlib/test/test_streamio.py ................................................................................................................ ========================= 112 passed in 50.67 seconds ========================== ++ 23:57:48 starting rlib/test/test_z3.py [285 started in total] __ rlib/test/test_z3.py [282 done in total, somefailed=False] _________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 23:57:49 starting rlib/unicodedata/test/test_codegen.py [286 started in total] __ rlib/unicodedata/test/test_codegen.py [283 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items rlib/unicodedata/test/test_codegen.py .. =========================== 2 passed in 0.47 seconds =========================== ++ 23:57:50 starting rlib/unicodedata/test/test_dawg.py [287 started in total] __ rlib/unicodedata/test/test_dawg.py [284 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 9 items rlib/unicodedata/test/test_dawg.py ......... =========================== 9 passed in 2.31 seconds =========================== ++ 23:57:54 starting rlib/unicodedata/test/test_ucd.py [288 started in total] __ rlib/unicodedata/test/test_ucd.py [285 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items rlib/unicodedata/test/test_ucd.py .... =========================== 4 passed in 8.33 seconds =========================== ++ 23:58:04 starting rlib/unicodedata/test/test_unicodedata.py [289 started in total] __ rlib/unicodedata/test/test_unicodedata.py [286 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/unicodedata/test/test_unicodedata.py .......................... ========================== 26 passed in 9.51 seconds =========================== ++ 23:58:14 starting rtyper/lltypesystem/module/test [290 started in total] __ rlib/test/test_rzlib.py [287 done in total, somefailed=False] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 22 items rlib/test/test_rzlib.py ................s..... ==================== 21 passed, 1 skipped in 87.78 seconds ===================== ++ 23:58:15 starting rtyper/lltypesystem/test [291 started in total] __ rtyper/lltypesystem/module/test [288 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 200 items rtyper/lltypesystem/module/test/test_ll_math.py ............................................................................................................................................................................ rtyper/lltypesystem/module/test/test_llinterp_math.py ............................ ========================= 200 passed in 13.36 seconds ========================== ++ 23:58:29 starting rtyper/test [292 started in total] __ rtyper/lltypesystem/test [289 done in total, somefailed=True] ______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 276 items rtyper/lltypesystem/test/test_ll2ctypes.py ...........................................................................n: 3 Arg 0: 1 Arg 1: 20 Arg 2: 300 ....s. rtyper/lltypesystem/test/test_llarena.py .....s....... rtyper/lltypesystem/test/test_llgroup.py .... rtyper/lltypesystem/test/test_llmemory.py ..................................s.... rtyper/lltypesystem/test/test_lloperation.py ......... rtyper/lltypesystem/test/test_lltype.py ............................................................ rtyper/lltypesystem/test/test_rffi.py ................................s........FF.sF....... rtyper/lltypesystem/test/test_rtagged.py .............. rtyper/lltypesystem/test/test_ztranslated.py FF. =================================== FAILURES =================================== ___________________ TestCRffi.test_nonmovingbuffer_semispace ___________________ self = <rpython.rtyper.lltypesystem.test.test_rffi.TestCRffi instance at 0x7f10764f3dc0> def test_nonmovingbuffer_semispace(self): d = 'cool data' def f(): counter = 0 for n in range(32): buf, llobj, flag = get_nonmovingbuffer_ll(d) try: for i in range(len(d)): if buf[i] == d[i]: counter += 1 finally: free_nonmovingbuffer_ll(buf, llobj, flag) return counter > fn = self.compile(f, [], gcpolicy='semispace') rtyper/lltypesystem/test/test_rffi.py:614: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/lltypesystem/test/test_rffi.py:878: in compile return compile_c(func, args, **kwds) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7f1076ffb350> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7f10760dad50>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58189af768b880] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:603)f [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58189afaf85580] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58189afafa1500] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [rtyper] specializing: 100 / 310 blocks (32%) [flowgraph] (rpython.rtyper.rstr:949)ll_stritem_nonneg_checked [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [rtyper] specializing: 200 / 399 blocks (50%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 300 / 403 blocks (74%) [rtyper] specializing: 400 / 403 blocks (99%) [rtyper] -=- specialized 403 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58189b03a2f200] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58189b03a49800] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 2 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27572___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27578___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 conditional_call__v27594___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v27575___simple_call__function [backendopt:inlining] 0.00 isconstant__v27563___simple_call__function [backendopt:inlining] 0.00 isconstant__v27568___simple_call__function [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isvirtual__v27588___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27576___simple_call__function [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v27590___simple_call__function [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 isvirtual__v27582___simple_call__function [backendopt:inlining] 0.00 isconstant__v27562___simple_call__function [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 isconstant__v27581___simple_call__function [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v27569___simple_call__function [backendopt:inlining] 0.00 isconstant__v27587___simple_call__function [backendopt:inlining] 0.00 isconstant__v27592___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 conditional_call__v27564___simple_call__function_star_3 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v27574___simple_call__function [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27585___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27593___simple_call__function [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 10.50 ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v27560___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27580___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27584___simple_call__function [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.87 _errno_before__v27559___simple_call__function [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] inlined 133 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 6 simple mallocs removed in 'f' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27564___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27594___simple_call__function_star_3' [backendopt:malloc] removed 24 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58189b081c4780] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58189b081f0c80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58189b086c4000] translation-task} [translation:info] Creating database for generating c source... [c58189b086cbd80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [flowgraph] (rpython.memory.gctransform.framework:178)frameworkgc_setup [flowgraph] (rpython.memory.gctransform.framework:184)frameworkgc__teardown [flowgraph] (rpython.memory.gctransform.shadowstack:80)incr_stack [flowgraph] (rpython.memory.gctransform.shadowstack:86)decr_stack [flowgraph] (rpython.memory.gctypelayout:594)ll_weakref_deref [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fixedsize_clear [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear [flowgraph] (rpython.memory.gc.semispace:248)SemiSpaceGC.collect [flowgraph] (rpython.memory.gc.base:165)GCBase.collect_step [flowgraph] (rpython.memory.gc.base:156)GCBase.enable [flowgraph] (rpython.memory.gc.base:159)GCBase.disable [flowgraph] (rpython.memory.gc.base:162)GCBase.isenabled [flowgraph] (rpython.memory.gc.base:512)MovingGCBase.can_move [flowgraph] (rpython.memory.gc.semispace:136)SemiSpaceGC.shrink_array [flowgraph] (rpython.memory.gc.semispace:731)SemiSpaceGC.heap_stats [flowgraph] (rpython.memory.gc.base:118)GCBase.get_member_index [flowgraph] (rpython.memory.gc.base:149)GCBase.get_type_id_cast [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fast [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear_fast [flowgraph] (rpython.memory.gc.semispace:676)SemiSpaceGC.identityhash [flowgraph] (rpython.memory.gc.semispace:158)SemiSpaceGC.obtain_free_space [flowgraph] (rpython.memory.gc.base:515)MovingGCBase.id [flowgraph] (rpython.memory.gc.inspector:32)get_rpy_roots [flowgraph] (rpython.memory.gc.inspector:63)get_rpy_referents [flowgraph] (rpython.memory.gc.inspector:76)get_rpy_memory_usage [flowgraph] (rpython.memory.gc.inspector:79)get_rpy_type_index [flowgraph] (rpython.memory.gc.inspector:83)is_rpy_instance [flowgraph] (rpython.memory.gc.inspector:265)dump_rpy_heap [flowgraph] (rpython.memory.gc.inspector:281)get_typeids_z [flowgraph] (rpython.memory.gc.inspector:285)get_typeids_list [flowgraph] (rpython.memory.gc.semispace:232)SemiSpaceGC.set_max_heap_size [flowgraph] (rpython.memory.gc.base:213)GCBase.malloc_fixed_or_varsize_nonmovable [flowgraph] (rpython.memory.gc.semispace:151)SemiSpaceGC.register_finalizer [flowgraph] (rpython.memory.gctransform.shadowstack:258)gc_increase_root_stack_depth [flowgraph] (rpython.memory.gc.inspector:201)HeapDumper.__init__ [flowgraph] (rpython.memory.gc.inspector:173)BaseWalker.process [flowgraph] (rpython.memory.gctransform.shadowstack:351)ShadowStackPool.increase_root_stack_depth [flowgraph] (rpython.memory.gc.base:442)GCBase.debug_check_consistency [flowgraph] (rpython.memory.gc.semispace:166)SemiSpaceGC.try_obtain_free_space [flowgraph] (rpython.memory.gc.semispace:474)SemiSpaceGC.get_type_id [flowgraph] (rpython.memory.gc.inspector:99)BaseWalker.__init__ [flowgraph] (rpython.memory.gc.base:380)GCBase.is_valid_gc_object [flowgraph] (rpython.memory.gc.inspector:112)BaseWalker.add_roots [flowgraph] (rpython.memory.gctransform.shadowstack:108)setup_root_walker [flowgraph] (rpython.memory.gc.inspector:56)_do_append_rpy_referents [flowgraph] (rpython.memory.gc.semispace:342)SemiSpaceGC.get_size_incl_hash [flowgraph] (rpython.memory.gc.semispace:87)SemiSpaceGC._teardown [flowgraph] (rpython.memory.gc.semispace:644)SemiSpaceGC._is_in_the_space [flowgraph] (rpython.memory.gc.base:130)GCBase.header [flowgraph] (rpython.memory.support:101)AddressStack.__init__ [flowgraph] (rpython.memory.gctransform.shadowstack:288)ShadowStackPool.initial_setup [flowgraph] (rpython.memory.gc.base:146)GCBase.get_size [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.support:40)FreeList.get [flowgraph] (rpython.memory.gc.inspector:25)_do_append_rpy_roots [flowgraph] (rpython.memory.support:307)AddressDict [flowgraph] (rpython.memory.gctransform.shadowstack:344)ShadowStackPool._prepare_unused_stack [flowgraph] (rpython.memory.lldict:17)newdict [flowgraph] (rpython.memory.gctransform.framework:1758)walk_roots [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.rtyper.lltypesystem.rdict:667)ll_newdict_size [flowgraph] (rpython.memory.gc.base:377)GCBase.points_to_valid_gc_object [flowgraph] (rpython.memory.lldict:20)dict_allocate [flowgraph] (rpython.memory.gctransform.shadowstack:112)walk_stack_roots [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.inspector:259)_hd_add_root [flowgraph] (rpython.memory.gc.inspector:123)BaseWalker.add [flowgraph] (rpython.memory.support:122)AddressStack.append [flowgraph] (rpython.memory.gc.semispace:255)SemiSpaceGC.semispace_collect [flowgraph] (rpython.memory.gctransform.shadowstack:335)ShadowStackPool.start_fresh_new_state [flowgraph] (rpython.memory.gctypelayout:131)GCData.q_member_index [flowgraph] (rpython.memory.lldict:29)dict_allocate_entries [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gctypelayout:59)GCData.get [flowgraph] (rpython.memory.gc.inspector:14)_append_rpy_root [flowgraph] (rpython.memory.gc.semispace:641)SemiSpaceGC._is_external [flowgraph] (rpython.memory.gctypelayout:204)_check_valid_type_info [flowgraph] (?:2)debug_start [flowgraph] (rpython.rlib.debug:99)debug_start [flowgraph] (rpython.memory.gctypelayout:143)GCData.q_fast_path_tracing [flowgraph] (rpython.memory.gc.base:134)GCBase._get_size_for_typeid [flowgraph] (rpython.memory.gctypelayout:135)GCData.q_is_rpython_class [flowgraph] (rpython.memory.gc.base:543)MovingGCBase._compute_id [flowgraph] (rpython.memory.gctypelayout:110)GCData.q_fixed_size [flowgraph] (rpython.memory.gctypelayout:73)GCData.q_is_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:376)ShadowStackPool._resize [flowgraph] (rpython.memory.gctransform.shadowstack:43)walk_stack_root [flowgraph] (rpython.memory.gctypelayout:119)GCData.q_varsize_offset_to_length [flowgraph] (rpython.memory.gctypelayout:85)GCData.q_is_gcarrayofgcptr [flowgraph] (rpython.memory.support:108)AddressStack.enlarge [flowgraph] (rpython.memory.gctypelayout:66)GCData.get_varsize [flowgraph] (rpython.memory.gctypelayout:107)GCData.q_offsets_to_gc_pointers [flowgraph] (rpython.memory.gctypelayout:207)_check_valid_type_info_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:93)<lambda> [flowgraph] (rpython.memory.gctransform.framework:1754)setup_root_walker [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctypelayout:77)GCData.q_has_gcptr_in_varsize [flowgraph] (rpython.memory.gc.inspector:44)_append_rpy_referent [flowgraph] (rpython.memory.gctypelayout:139)GCData.q_has_custom_trace [flowgraph] (rpython.memory.gctypelayout:116)GCData.q_varsize_offset_to_variable_part [flowgraph] (rpython.memory.gctypelayout:113)GCData.q_varsize_item_sizes [flowgraph] (rpython.rtyper.lltypesystem.rdict:866)ll_contains [flowgraph] (rpython.memory.gctypelayout:122)GCData.q_varsize_offsets_to_gcpointers_in_var_part [flowgraph] (rpython.memory.lldict:47)dict_keyhash [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.lldict:44)_hash [flowgraph] (rpython.memory.support:10)mangle_hash [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.memory.lldict:50)dict_entry_valid [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.llarena:365)round_up_for_allocation [flowgraph] (rpython.memory.lldict:59)dict_add [flowgraph] (rpython.rtyper.lltypesystem.rdict:459)ll_dict_setitem [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rdict:544)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rdict:554)_ll_dict_resize_to [flowgraph] (rpython.memory.lldict:40)dict_delete_entries [flowgraph] (rpython.memory.lldict:53)dict_entry_hash [flowgraph] (rpython.memory.gc.semispace:67)SemiSpaceGC.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:495)ll_dict_insertclean [flowgraph] (rpython.memory.gc.semispace:380)SemiSpaceGC._get_object_hash [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.gc.base:506)MovingGCBase.setup [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rdict:639)ll_dict_lookup_clean [flowgraph] (rpython.memory.gc.base:45)GCBase.setup [flowgraph] (rpython.memory.support:228)AddressDeque.__init__ [flowgraph] (rpython.memory.gc.semispace:672)SemiSpaceGC._compute_current_nursery_hash [flowgraph] (rpython.memory.lldict:56)dict_get [flowgraph] (rpython.memory.gc.semispace:484)SemiSpaceGC.init_gc_object [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:735)ll_get [flowgraph] (rpython.memory.gc.semispace:471)SemiSpaceGC.combine [flowgraph] (rpython.memory.gc.semispace:668)SemiSpaceGC.is_in_nursery [flowgraph] (rpython.rtyper.lltypesystem.rdict:434)ll_get_value [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.memory.support:250)AddressDeque.append [flowgraph] (rpython.memory.support:235)AddressDeque.enlarge [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.gc.base:58)GCBase.post_setup [c58189b209ff580] translation-task} __________________ TestCRffi.test_nonmovingbuffer_incminimark __________________ self = <rpython.rtyper.lltypesystem.test.test_rffi.TestCRffi instance at 0x7f1075fb7960> def test_nonmovingbuffer_incminimark(self): d = 'cool data' def f(): counter = 0 for n in range(32): buf, llobj, flag = get_nonmovingbuffer_ll(d) try: for i in range(len(d)): if buf[i] == d[i]: counter += 1 finally: free_nonmovingbuffer_ll(buf, llobj, flag) return counter > fn = self.compile(f, [], gcpolicy='incminimark') rtyper/lltypesystem/test/test_rffi.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/lltypesystem/test/test_rffi.py:878: in compile return compile_c(func, args, **kwds) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58189b2cddac00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:624)f [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58189b307cb280] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58189b307e7f80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rstr:949)ll_stritem_nonneg_checked [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 100 / 394 blocks (25%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [rtyper] specializing: 200 / 399 blocks (50%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 300 / 401 blocks (74%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 400 / 403 blocks (99%) [rtyper] -=- specialized 403 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58189b394ebf00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58189b39508400] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 2 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27641___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27647___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isconstant__v27625___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27626___simple_call__function_star_3 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isconstant__v27644___simple_call__function [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v27627___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27640___simple_call__function_star_3 [backendopt:inlining] 0.00 isvirtual__v27623___simple_call__function [backendopt:inlining] 0.00 isconstant__v27622___simple_call__function [backendopt:inlining] 0.00 isconstant__v27634___simple_call__function [backendopt:inlining] 0.00 isconstant__v27633___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27617___simple_call__function [backendopt:inlining] 0.00 isconstant__v27638___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isconstant__v27615___simple_call__function [backendopt:inlining] 0.00 isconstant__v27639___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27645___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 acquire [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.25 loop_unrolling_heuristic__v27643___simple_call__function [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27629___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27620___simple_call__function [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 10.50 ll_stritem_nonneg_checked__LLHelpersConst_rpy_stringPtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v27613___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27616___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27619___simple_call__function [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v27612___simple_call__function [backendopt:inlining] inlined 133 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 6 simple mallocs removed in 'f' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27626___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27640___simple_call__function_star_3' [backendopt:malloc] removed 24 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58189b3e087e80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58189b3e0b6880] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58189b3e5aaf80] translation-task} [translation:info] Creating database for generating c source... [c58189b3e5b2e80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58189b3f2f8a00] translation-task} _______________ TestCRffi.test__get_raw_address_buf_from_string ________________ self = <rpython.rtyper.lltypesystem.test.test_rffi.TestCRffi instance at 0x7f1075b1c9b0> def test__get_raw_address_buf_from_string(self): from rpython.rlib import rgc from rpython.rtyper.lltypesystem import rffi def check_content(strings, rawptrs): for i in range(len(strings)): p = rawptrs[i] expected = strings[i] + '\x00' for j in range(len(expected)): assert p[j] == expected[j] def f(n): strings = ["foo%d" % i for i in range(n)] rawptrs = [rffi._get_raw_address_buf_from_string(s) for s in strings] check_content(strings, rawptrs) rgc.collect(); rgc.collect(); rgc.collect() check_content(strings, rawptrs) for i in range(len(strings)): # check that it still returns the # same raw ptrs p1 = rffi._get_raw_address_buf_from_string(strings[i]) assert rawptrs[i] == p1 del strings rgc.collect(); rgc.collect(); rgc.collect() return 42 rffi._StrFinalizerQueue.print_debugging = True try: xf = self.compile(f, [int], gcpolicy="incminimark", > return_stderr=True) rtyper/lltypesystem/test/test_rffi.py:912: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ rtyper/lltypesystem/test/test_rffi.py:878: in compile return compile_c(func, args, **kwds) translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58189b45536000] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:894)f [flowgraph] (rpython.rtyper.lltypesystem.test.test_rffi:887)check_content [flowgraph] (rpython.rtyper.lltypesystem.rffi:1584)_get_raw_address_buf_from_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1564)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58189b4997ff80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58189b4999cc80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1284)ll_dict_get [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 100 / 1146 blocks (8%) [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [rtyper] specializing: 200 / 1308 blocks (15%) [rtyper] specializing: 300 / 1308 blocks (22%) [rtyper] specializing: 400 / 1308 blocks (30%) [rtyper] specializing: 500 / 1308 blocks (38%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 600 / 1313 blocks (45%) [rtyper] specializing: 700 / 1313 blocks (53%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 800 / 1315 blocks (60%) [rtyper] specializing: 900 / 1315 blocks (68%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 1000 / 1317 blocks (75%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 1100 / 1321 blocks (83%) [rtyper] specializing: 1200 / 1321 blocks (90%) [rtyper] specializing: 1300 / 1321 blocks (98%) [rtyper] -=- specialized 1321 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58189b7f29c600] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58189b7f2b7180] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in f [backendopt:removecasts] removed 1 cast_pointers in check_content [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 4 cast_pointers in ll_int__rpy_stringPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v27707___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v27709___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr [backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v27715___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v27716___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27733___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v27739___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_listnext__listiterPtr [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 ll_hash_int__Signed [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT [backendopt:inlining] 0.00 isvirtual__v27684___simple_call__function [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT [backendopt:inlining] 0.00 isvirtual__v27711___simple_call__function [backendopt:inlining] 0.00 isconstant__v27693___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27726___simple_call__function [backendopt:inlining] 0.00 isconstant__v27719___simple_call__function [backendopt:inlining] 0.00 isconstant__v27692___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isvirtual__v27687___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27656___simple_call__function [backendopt:inlining] 0.00 isconstant__v27658___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 isconstant__v27664___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isvirtual__v27737___simple_call__function [backendopt:inlining] 0.00 isconstant__v27668___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isvirtual__v27688___simple_call__function [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v27728___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT [backendopt:inlining] 0.00 isconstant__v27652___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27732___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v27742___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT [backendopt:inlining] 0.00 isconstant__v27690___simple_call__function [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 0.00 isconstant__v27729___simple_call__function [backendopt:inlining] 0.00 isconstant__v27669___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isvirtual__v27689___simple_call__function [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 isconstant__v27662___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27663___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v27748___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27720___simple_call__function [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 isvirtual__v27674___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 isconstant__v27712___simple_call__function [backendopt:inlining] 0.00 isconstant__v27736___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 isvirtual__v27708___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27653___simple_call__function_star_3 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isconstant__v27651___simple_call__function [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isconstant__v27725___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27747___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27741___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27743___simple_call__function_star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27691___simple_call__function [backendopt:inlining] 0.00 isvirtual__v27677___simple_call__function [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 register_finalizer___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 next_dead___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_int_py_div_nonnegargs__Signed_Signed [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_length__rpy_stringPtr [backendopt:inlining] 4.00 _ll_len_of_d_indexes__dicttablePtr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_min__Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 ll_stritem_nonneg__rpy_stringPtr_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 free_charp [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 _overallocate_entries_len__Signed [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_dict_grow_look_inside_iff__dicttablePtr [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 acquire [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 8.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 8.00 ll_listiter__Ptr_GcStruct_listiterLlT_listPtr [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_dict_setitem__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_arrayPtr [backendopt:inlining] 11.00 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_arrayPtr_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_GCREFPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 6.75 loop_unrolling_heuristic__v27735___simple_call__function [backendopt:inlining] 14.00 ll_hash_recomputed__arrayPtr_dicttablePtr_Signed [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27731___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v27723___simple_call__function [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 ll_valid_from_value__arrayPtr_Signed [backendopt:inlining] 15.00 ll_dict_resize__dicttablePtr [backendopt:inlining] 18.00 ll_dict_create_initial_index__v27705___simple_call__function [backendopt:inlining] 18.00 ll_dict_create_initial_index__v27679___simple_call__function [backendopt:inlining] 20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_arrayPtr [backendopt:inlining] 19.00 ll_listnext__listiterPtr [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 17.00 ll_append__listPtr_GCREFPtr [backendopt:inlining] 17.00 ll_append__listPtr_arrayPtr [backendopt:inlining] 25.00 ll_dict_get__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 19.25 _errno_after__v27649___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27718___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v27722___simple_call__function [backendopt:inlining] 26.50 ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:inlining] 26.50 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v27648___simple_call__function [backendopt:inlining] inlined 335 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'entry_point' [backendopt:malloc] 5 simple mallocs removed in 'f' [backendopt:malloc] 4 simple mallocs removed in 'check_content' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'finalizer_trigger' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27653___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27663___simple_call__function_star_3' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27675___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27678___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27681___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27685___simple_call__function' [backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr' [backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_value__arrayPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27696___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27700___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27703___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v27704___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v27707___simple_call__function' [backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v27715___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27732___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_get__dicttablePtr_Signed_arrayPtr' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem_with_hash__dicttablePtr_Signed_Signed' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27743___simple_call__function_star_3' [backendopt:malloc] removed 74 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in ll_call_lookup_function__v27672___simple_call__function [backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed [backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed [backendopt] merging blocks in ll_call_lookup_function__v27702___simple_call__function [backendopt] merging blocks in ll_dict_grow__v27709___simple_call__function [backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt] merging blocks in ll_dict_grow__v27716___simple_call__function [c58189b8d4e5b00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58189b8d513f80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58189b8db76380] translation-task} [translation:info] Creating database for generating c source... [c58189b8db7ea00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58189b8e88aa00] translation-task} __________________________ test_compiled_incminimark ___________________________ def test_compiled_incminimark(): > fn = compile(main, [], gcpolicy="incminimark") rtyper/lltypesystem/test/test_ztranslated.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58189babd3f400] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:39)main [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:13)use_str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1525)get_raw_address_of_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:1584)_get_raw_address_buf_from_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:8)debug_assert [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1564)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:30)long_str [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58189bb0a36080] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58189bb0a54a80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1313)ll_getnextindex [rtyper] specializing: 100 / 897 blocks (11%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1284)ll_dict_get [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 200 / 1057 blocks (18%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [rtyper] specializing: 300 / 1062 blocks (28%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 400 / 1069 blocks (37%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 500 / 1073 blocks (46%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [rtyper] specializing: 600 / 1075 blocks (55%) [rtyper] specializing: 700 / 1075 blocks (65%) [rtyper] specializing: 800 / 1075 blocks (74%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 900 / 1079 blocks (83%) [rtyper] specializing: 1000 / 1079 blocks (92%) [rtyper] -=- specialized 1079 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58189e356d3980] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58189e356ee780] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 1 cast_pointers in debug_assert [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v28285___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v28290___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28354___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28357___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr [backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28361___simple_call__function [backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28362___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT [backendopt:inlining] 0.00 isconstant__v28294___simple_call__function [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isvirtual__v28325___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28329___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28311___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28320___simple_call__function [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 conditional_call__v28315___simple_call__function_star_3 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 conditional_call__v28293___simple_call__function_star_3 [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v28337___simple_call__function [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 0.00 isvirtual__v28356___simple_call__function [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28314___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT [backendopt:inlining] 0.00 isvirtual__v28305___simple_call__function [backendopt:inlining] 0.00 isconstant__v28297___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28353___simple_call__function [backendopt:inlining] 0.00 isconstant__v28287___simple_call__function [backendopt:inlining] 0.00 isconstant__v28338___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28313___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT [backendopt:inlining] 0.00 isconstant__v28310___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT [backendopt:inlining] 0.00 isvirtual__v28288___simple_call__function [backendopt:inlining] 0.00 isconstant__v28292___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28326___simple_call__function [backendopt:inlining] 0.00 isconstant__v28304___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 ll_hash_int__Signed [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isconstant__v28358___simple_call__function [backendopt:inlining] 0.00 isconstant__v28336___simple_call__function [backendopt:inlining] 0.00 isconstant__v28339___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28299___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 isvirtual__v28335___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28334___simple_call__function [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_getnextindex__stringiterPtr [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 next_dead___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 register_finalizer___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 ll_int_py_div_nonnegargs__Signed_Signed [backendopt:inlining] 4.00 _ll_len_of_d_indexes__dicttablePtr [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 4.00 loop_unrolling_heuristic__v28286___simple_call__function [backendopt:inlining] 4.00 ll_min__Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 free_charp [backendopt:inlining] 6.00 _overallocate_entries_len__Signed [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_dict_grow_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 ll_str__CharR_CharConst_Char [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_dict_setitem__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 9.50 ll_chr2str__Char [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 11.00 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_arrayPtr_Signed_Signed [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28317___simple_call__function [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28308___simple_call__function [backendopt:inlining] 14.00 ll_hash_recomputed__arrayPtr_dicttablePtr_Signed [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 ll_valid_from_value__arrayPtr_Signed [backendopt:inlining] 9.00 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 15.00 ll_dict_resize__dicttablePtr [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28349___simple_call__function [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28322___simple_call__function [backendopt:inlining] 20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_arrayPtr [backendopt:inlining] 22.00 debug_assert [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v28283___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28303___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28307___simple_call__function [backendopt:inlining] 26.50 ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:inlining] 26.50 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 23.37 get_raw_address_of_string [backendopt:inlining] 29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 25.00 ll_dict_get__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v28282___simple_call__function [backendopt:inlining] inlined 267 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'finalizer_trigger' [backendopt:malloc] 2 simple mallocs removed in 'long_str' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28293___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28315___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem_with_hash__dicttablePtr_Signed_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28324___simple_call__function' [backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28328___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28331___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28333___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_value__arrayPtr_Signed' [backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28342___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28345___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28350___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28351___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_get__dicttablePtr_Signed_arrayPtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28354___simple_call__function' [backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28361___simple_call__function' [backendopt:malloc] removed 61 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in ll_call_lookup_function__v28318___simple_call__function [backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed [backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed [backendopt] merging blocks in ll_call_lookup_function__v28347___simple_call__function [backendopt] merging blocks in ll_dict_grow__v28357___simple_call__function [backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt] merging blocks in ll_dict_grow__v28362___simple_call__function [c58189e41bf8a00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58189e41c29b00] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58189e422bce80] translation-task} [translation:info] Creating database for generating c source... [c58189e422c6680] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] specializing: 1100 / 1116 blocks (98%) [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58189e43039100] translation-task} ___________________________ test_compiled_semispace ____________________________ def test_compiled_semispace(): > fn = compile(main, [], gcpolicy="semispace") rtyper/lltypesystem/test/test_ztranslated.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_genc.py:124: in compile t.compile_c() translator/interactive.py:123: in compile_c self.driver.compile_c() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7f107498a3d0> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7f10760dad50>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.c.test.test_genc:66)entry_point [translation:info] Annotating&simplifying... [c58189e53335f80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:39)main [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:13)use_str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1525)get_raw_address_of_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:1584)_get_raw_address_buf_from_string [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:8)debug_assert [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1564)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out [flowgraph] (rpython.rtyper.lltypesystem.test.test_ztranslated:30)long_str [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [c58189e57ef0300] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] RTyping... [c58189e57f0ce00] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1284)ll_dict_get [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [rtyper] specializing: 100 / 1050 blocks (9%) [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:1313)ll_getnextindex [rtyper] specializing: 200 / 1057 blocks (18%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 300 / 1059 blocks (28%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 400 / 1064 blocks (37%) [rtyper] specializing: 500 / 1064 blocks (46%) [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [rtyper] specializing: 600 / 1069 blocks (56%) [rtyper] specializing: 700 / 1069 blocks (65%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 800 / 1073 blocks (74%) [rtyper] specializing: 900 / 1073 blocks (83%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 1000 / 1077 blocks (92%) [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [rtyper] -=- specialized 1079 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58189e7c98ea00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] lltype back-end optimisations... [c58189e7c9a9580] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string [backendopt:removecasts] removed 1 cast_pointers in debug_assert [backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write [backendopt:removecasts] removed 1 cast_pointers in ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v28399___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v28405___simple_call__function [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28406___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28409___simple_call__function [backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v28414___simple_call__function [backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v28416___simple_call__function [backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 _get_raw_buf__rpy_string [backendopt:inlining] 0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT [backendopt:inlining] 0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28412___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28367___simple_call__function [backendopt:inlining] 0.00 isconstant__v28385___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28379___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28411___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT [backendopt:inlining] 0.00 isconstant__v28402___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__init__ [backendopt:inlining] 0.00 isconstant__v28436___simple_call__function [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28384___simple_call__function [backendopt:inlining] 0.00 __exit____star_3 [backendopt:inlining] 0.00 isvirtual__v28420___simple_call__function [backendopt:inlining] 0.00 ll_hash_int__Signed [backendopt:inlining] 0.00 isvirtual__v28382___simple_call__function [backendopt:inlining] 0.00 isconstant__v28441___simple_call__function [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 0.00 isconstant__v28386___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28381___simple_call__function [backendopt:inlining] 0.00 isconstant__v28383___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT [backendopt:inlining] 0.00 isconstant__v28419___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28403___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT [backendopt:inlining] 0.00 isconstant__v28425___simple_call__function [backendopt:inlining] 0.00 conditional_call__v28442___simple_call__function_star_3 [backendopt:inlining] 0.00 widen__int [backendopt:inlining] 0.00 isconstant__v28437___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28408___simple_call__function [backendopt:inlining] 0.00 copy_string_to_raw [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 conditional_call__v28430___simple_call__function_star_3 [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v28428___simple_call__function [backendopt:inlining] 0.00 isconstant__v28429___simple_call__function [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 memo_ll_constant_0 [backendopt:inlining] 0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT [backendopt:inlining] 0.00 get_nonmovingbuffer_ll [backendopt:inlining] 0.00 gc_thread_run [backendopt:inlining] 0.00 isvirtual__v28372___simple_call__function [backendopt:inlining] 0.00 isconstant__v28443___simple_call__function [backendopt:inlining] 0.00 scoped_nonmovingbuffer.__enter__ [backendopt:inlining] 0.00 isvirtual__v28371___simple_call__function [backendopt:inlining] 0.00 isvirtual__v28426___simple_call__function [backendopt:inlining] 0.00 write__Signed_arrayPtr_Signed_star_3 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_strlen__rpy_stringPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 register_finalizer___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 next_dead___rpython_rtyper_lltypesystem_r [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 setraw [backendopt:inlining] 2.00 ll_unsigned__Signed [backendopt:inlining] 2.00 ll_uint_py_div__Unsigned_Unsigned [backendopt:inlining] 2.00 ll_int_py_div_nonnegargs__Signed_Signed [backendopt:inlining] 2.00 ll_uint_py_mod__Unsigned_Unsigned [backendopt:inlining] 2.00 getraw [backendopt:inlining] 2.00 ll_getnextindex__stringiterPtr [backendopt:inlining] 4.00 _ll_len_of_d_indexes__dicttablePtr [backendopt:inlining] 4.00 ll_min__Signed_Signed [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 5.00 release [backendopt:inlining] 5.00 free_charp [backendopt:inlining] 6.00 _str_ofs__rpy_string [backendopt:inlining] 6.00 _overallocate_entries_len__Signed [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_dict_grow_look_inside_iff__dicttablePtr [backendopt:inlining] 7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed [backendopt:inlining] 7.00 rpython_print_newline [backendopt:inlining] 4.00 get_saved_errno [backendopt:inlining] 7.00 ll_str__CharR_CharConst_Char [backendopt:inlining] 7.00 ll_str__IntegerR_SignedConst_Signed [backendopt:inlining] 7.00 llrepr_out__int [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 8.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 9.00 ll_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed [backendopt:inlining] 9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT [backendopt:inlining] 4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr [backendopt:inlining] 9.50 ll_chr2str__Char [backendopt:inlining] 7.00 acquire [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT [backendopt:inlining] 11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 11.00 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_arrayPtr_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_Char [backendopt:inlining] 12.00 ll_striter__rpy_stringPtr [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.00 ll_arrayclear__arrayPtr [backendopt:inlining] 12.25 loop_unrolling_heuristic__v28401___simple_call__function [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 13.00 free_nonmovingbuffer_ll [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28424___simple_call__function [backendopt:inlining] 14.00 ll_hash_recomputed__arrayPtr_dicttablePtr_Signed [backendopt:inlining] 9.00 ll_listdelslice_startonly__v28432___simple_call__function [backendopt:inlining] 15.00 ll_int_py_div__Signed_Signed [backendopt:inlining] 15.50 ll_strnext__stringiterPtr [backendopt:inlining] 16.00 ll_valid_from_value__arrayPtr_Signed [backendopt:inlining] 9.00 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 9.00 ll_dict_setitem__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 15.00 ll_dict_resize__dicttablePtr [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28396___simple_call__function [backendopt:inlining] 18.00 ll_dict_create_initial_index__v28376___simple_call__function [backendopt:inlining] 20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_arrayPtr [backendopt:inlining] 22.00 debug_assert [backendopt:inlining] 17.00 ll_append__listPtr_Char [backendopt:inlining] 19.25 _errno_after__v28364___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28417___simple_call__function [backendopt:inlining] 26.16 ll_join_chars__v28422___simple_call__function [backendopt:inlining] 26.50 ll_dict_getitem_with_hash__dicttablePtr_Signed_Signed [backendopt:inlining] 26.50 ll_dict_getitem__dicttablePtr_Signed [backendopt:inlining] 23.37 get_raw_address_of_string [backendopt:inlining] 29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed [backendopt:inlining] 30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 25.00 ll_dict_get__dicttablePtr_Signed_arrayPtr [backendopt:inlining] 32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt:inlining] 31.75 handle_posix_error__write [backendopt:inlining] 31.87 _errno_before__v28363___simple_call__function [backendopt:inlining] inlined 257 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item' [backendopt:malloc] 1 simple mallocs removed in 'finalizer_trigger' [backendopt:malloc] 2 simple mallocs removed in 'long_str' [backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end' [backendopt:malloc] 3 simple mallocs removed in 'write' [backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__' [backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_getitem_with_hash__dicttablePtr_Signed_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28370___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28373___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28374___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28377___simple_call__function' [backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr' [backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_value__arrayPtr_Signed' [backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28389___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28391___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28395___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v28397___simple_call__function' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28406___simple_call__function' [backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr' [backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v28414___simple_call__function' [backendopt:malloc] 1 simple mallocs removed in 'll_dict_get__dicttablePtr_Signed_arrayPtr' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28430___simple_call__function_star_3' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v28442___simple_call__function_star_3' [backendopt:malloc] removed 61 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [backendopt] merging blocks in ll_call_lookup_function__v28366___simple_call__function [backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed [backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed [backendopt] merging blocks in ll_call_lookup_function__v28398___simple_call__function [backendopt] merging blocks in ll_dict_grow__v28409___simple_call__function [backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed [backendopt] merging blocks in ll_dict_grow__v28416___simple_call__function [backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed [c58189e88722b80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18117 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] already done: lltype back-end optimisations [translation:info] inserting stack checks... [c58189e88750480] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58189e88d6d900] translation-task} [translation:info] Creating database for generating c source... [c58189e88d75c00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] specializing: 1100 / 1116 blocks (98%) [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [flowgraph] (rpython.memory.gctransform.framework:178)frameworkgc_setup [flowgraph] (rpython.memory.gctransform.framework:184)frameworkgc__teardown [flowgraph] (rpython.memory.gctransform.shadowstack:80)incr_stack [flowgraph] (rpython.memory.gctransform.shadowstack:86)decr_stack [flowgraph] (rpython.memory.gctypelayout:594)ll_weakref_deref [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fixedsize_clear [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear [flowgraph] (rpython.memory.gc.semispace:248)SemiSpaceGC.collect [flowgraph] (rpython.memory.gc.base:165)GCBase.collect_step [flowgraph] (rpython.memory.gc.base:156)GCBase.enable [flowgraph] (rpython.memory.gc.base:159)GCBase.disable [flowgraph] (rpython.memory.gc.base:162)GCBase.isenabled [flowgraph] (rpython.memory.gc.base:512)MovingGCBase.can_move [flowgraph] (rpython.memory.gc.semispace:136)SemiSpaceGC.shrink_array [flowgraph] (rpython.memory.gc.semispace:731)SemiSpaceGC.heap_stats [flowgraph] (rpython.memory.gc.base:118)GCBase.get_member_index [flowgraph] (rpython.memory.gc.base:149)GCBase.get_type_id_cast [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fast [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear_fast [flowgraph] (rpython.memory.gc.semispace:676)SemiSpaceGC.identityhash [flowgraph] (rpython.memory.gc.semispace:158)SemiSpaceGC.obtain_free_space [flowgraph] (rpython.memory.gc.base:515)MovingGCBase.id [flowgraph] (rpython.memory.gc.inspector:32)get_rpy_roots [flowgraph] (rpython.memory.gc.inspector:63)get_rpy_referents [flowgraph] (rpython.memory.gc.inspector:76)get_rpy_memory_usage [flowgraph] (rpython.memory.gc.inspector:79)get_rpy_type_index [flowgraph] (rpython.memory.gc.inspector:83)is_rpy_instance [flowgraph] (rpython.memory.gc.inspector:265)dump_rpy_heap [flowgraph] (rpython.memory.gc.inspector:281)get_typeids_z [flowgraph] (rpython.memory.gc.inspector:285)get_typeids_list [flowgraph] (rpython.memory.gc.semispace:232)SemiSpaceGC.set_max_heap_size [flowgraph] (rpython.memory.gc.base:213)GCBase.malloc_fixed_or_varsize_nonmovable [flowgraph] (rpython.memory.gc.semispace:151)SemiSpaceGC.register_finalizer [flowgraph] (rpython.memory.gctransform.shadowstack:258)gc_increase_root_stack_depth [flowgraph] (rpython.memory.gctransform.shadowstack:108)setup_root_walker [flowgraph] (rpython.memory.gc.semispace:342)SemiSpaceGC.get_size_incl_hash [flowgraph] (rpython.memory.gc.base:380)GCBase.is_valid_gc_object [flowgraph] (rpython.memory.gc.base:442)GCBase.debug_check_consistency [flowgraph] (rpython.memory.gc.inspector:56)_do_append_rpy_referents [flowgraph] (rpython.memory.gctransform.shadowstack:351)ShadowStackPool.increase_root_stack_depth [flowgraph] (rpython.memory.gc.semispace:474)SemiSpaceGC.get_type_id [flowgraph] (rpython.memory.gc.base:130)GCBase.header [flowgraph] (rpython.memory.gctransform.shadowstack:288)ShadowStackPool.initial_setup [flowgraph] (rpython.memory.gc.inspector:201)HeapDumper.__init__ [flowgraph] (rpython.memory.gc.inspector:173)BaseWalker.process [flowgraph] (rpython.memory.gc.semispace:87)SemiSpaceGC._teardown [flowgraph] (rpython.memory.gc.semispace:166)SemiSpaceGC.try_obtain_free_space [flowgraph] (rpython.memory.support:307)AddressDict [flowgraph] (rpython.memory.lldict:17)newdict [flowgraph] (rpython.memory.gc.inspector:99)BaseWalker.__init__ [flowgraph] (rpython.memory.gc.base:146)GCBase.get_size [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gctransform.shadowstack:344)ShadowStackPool._prepare_unused_stack [flowgraph] (rpython.memory.gc.inspector:25)_do_append_rpy_roots [flowgraph] (rpython.memory.gc.inspector:112)BaseWalker.add_roots [flowgraph] (rpython.memory.gc.base:134)GCBase._get_size_for_typeid [flowgraph] (rpython.memory.gctypelayout:143)GCData.q_fast_path_tracing [flowgraph] (rpython.rtyper.lltypesystem.rdict:667)ll_newdict_size [flowgraph] (rpython.memory.gctypelayout:59)GCData.get [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.gctypelayout:110)GCData.q_fixed_size [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.gctypelayout:204)_check_valid_type_info [flowgraph] (rpython.memory.support:101)AddressStack.__init__ [flowgraph] (rpython.memory.lldict:20)dict_allocate [flowgraph] (rpython.memory.support:40)FreeList.get [flowgraph] (rpython.memory.gctransform.framework:1758)walk_roots [flowgraph] (rpython.memory.gc.base:377)GCBase.points_to_valid_gc_object [flowgraph] (rpython.memory.gctransform.shadowstack:112)walk_stack_roots [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.inspector:14)_append_rpy_root [flowgraph] (rpython.memory.gctypelayout:135)GCData.q_is_rpython_class [flowgraph] (rpython.memory.gc.semispace:644)SemiSpaceGC._is_in_the_space [flowgraph] (rpython.memory.gctypelayout:131)GCData.q_member_index [flowgraph] (rpython.memory.gc.semispace:255)SemiSpaceGC.semispace_collect [flowgraph] (rpython.memory.gctransform.shadowstack:335)ShadowStackPool.start_fresh_new_state [flowgraph] (rpython.memory.lldict:29)dict_allocate_entries [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.semispace:641)SemiSpaceGC._is_external [flowgraph] (rpython.memory.gc.inspector:259)_hd_add_root [flowgraph] (rpython.memory.gc.inspector:123)BaseWalker.add [flowgraph] (?:2)debug_start [flowgraph] (rpython.rlib.debug:99)debug_start [flowgraph] (rpython.memory.support:122)AddressStack.append [flowgraph] (rpython.memory.support:108)AddressStack.enlarge [flowgraph] (rpython.memory.gc.base:543)MovingGCBase._compute_id [flowgraph] (rpython.memory.gctypelayout:73)GCData.q_is_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:376)ShadowStackPool._resize [flowgraph] (rpython.memory.gctransform.shadowstack:43)walk_stack_root [flowgraph] (rpython.memory.gctypelayout:107)GCData.q_offsets_to_gc_pointers [flowgraph] (rpython.memory.gctypelayout:119)GCData.q_varsize_offset_to_length [flowgraph] (rpython.memory.gctypelayout:85)GCData.q_is_gcarrayofgcptr [flowgraph] (rpython.memory.gctypelayout:66)GCData.get_varsize [flowgraph] (rpython.memory.gctypelayout:207)_check_valid_type_info_varsize [flowgraph] (rpython.memory.gctransform.shadowstack:93)<lambda> [flowgraph] (rpython.memory.gctransform.framework:1754)setup_root_walker [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctypelayout:77)GCData.q_has_gcptr_in_varsize [flowgraph] (rpython.memory.gc.inspector:44)_append_rpy_referent [flowgraph] (rpython.memory.gctypelayout:139)GCData.q_has_custom_trace [flowgraph] (rpython.memory.gctypelayout:116)GCData.q_varsize_offset_to_variable_part [flowgraph] (rpython.memory.gctypelayout:122)GCData.q_varsize_offsets_to_gcpointers_in_var_part [flowgraph] (rpython.memory.gctypelayout:113)GCData.q_varsize_item_sizes [flowgraph] (rpython.rtyper.lltypesystem.rdict:866)ll_contains [flowgraph] (rpython.memory.lldict:47)dict_keyhash [flowgraph] (rpython.memory.lldict:44)_hash [flowgraph] (rpython.memory.lldict:59)dict_add [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.support:10)mangle_hash [flowgraph] (rpython.rtyper.lltypesystem.rdict:459)ll_dict_setitem [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.memory.lldict:50)dict_entry_valid [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.llarena:365)round_up_for_allocation [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:544)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rdict:554)_ll_dict_resize_to [flowgraph] (rpython.memory.lldict:40)dict_delete_entries [flowgraph] (rpython.memory.lldict:53)dict_entry_hash [flowgraph] (rpython.memory.gc.semispace:380)SemiSpaceGC._get_object_hash [flowgraph] (rpython.memory.gc.semispace:67)SemiSpaceGC.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:495)ll_dict_insertclean [flowgraph] (rpython.memory.gc.base:506)MovingGCBase.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:639)ll_dict_lookup_clean [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.gc.base:45)GCBase.setup [flowgraph] (rpython.memory.support:228)AddressDeque.__init__ [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.memory.gc.semispace:672)SemiSpaceGC._compute_current_nursery_hash [flowgraph] (rpython.memory.lldict:56)dict_get [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.memory.gc.semispace:484)SemiSpaceGC.init_gc_object [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rdict:735)ll_get [flowgraph] (rpython.memory.gc.semispace:668)SemiSpaceGC.is_in_nursery [flowgraph] (rpython.memory.gc.semispace:471)SemiSpaceGC.combine [flowgraph] (rpython.rtyper.lltypesystem.rdict:434)ll_get_value [flowgraph] (rpython.memory.support:250)AddressDeque.append [flowgraph] (rpython.memory.support:235)AddressDeque.enlarge [flowgraph] (rpython.memory.gc.semispace:321)SemiSpaceGC.starting_full_collect [flowgraph] (rpython.memory.gc.base:58)GCBase.post_setup [c58189e97aa2900] translation-task} =========================== short test summary info ============================ FAIL rtyper/lltypesystem/test/test_rffi.py::TestCRffi::()::test_nonmovingbuffer_semispace FAIL rtyper/lltypesystem/test/test_rffi.py::TestCRffi::()::test_nonmovingbuffer_incminimark FAIL rtyper/lltypesystem/test/test_rffi.py::TestCRffi::()::test__get_raw_address_buf_from_string FAIL rtyper/lltypesystem/test/test_ztranslated.py::test_compiled_incminimark FAIL rtyper/lltypesystem/test/test_ztranslated.py::test_compiled_semispace ============== 5 failed, 266 passed, 5 skipped in 106.02 seconds =============== ++ 00:00:03 starting rtyper/tool/test [293 started in total] __ rtyper/tool/test [290 done in total, somefailed=False] _____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 38 items rtyper/tool/test/test_mkrffi.py ....... rtyper/tool/test/test_rffi_platform.py ............................ rtyper/tool/test/test_rfficache.py ... ========================== 38 passed in 3.07 seconds =========================== ++ 00:00:08 starting tool/algo/test [294 started in total] __ tool/algo/test [291 done in total, somefailed=False] _______________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 44 items tool/algo/test/test_bitstring.py .... tool/algo/test/test_color.py ..... tool/algo/test/test_graphlib.py ...s....ss.....s....s....... tool/algo/test/test_regalloc.py .. tool/algo/test/test_sparsemat.py ... tool/algo/test/test_unionfind.py .. ==================== 39 passed, 5 skipped in 14.90 seconds ===================== ++ 00:00:25 starting tool/cparser/test [295 started in total] __ tool/cparser/test [292 done in total, somefailed=False] ____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 21 items tool/cparser/test/test_cts.py ..................... ========================== 21 passed in 1.37 seconds =========================== ++ 00:00:28 starting tool/jitlogparser/test [296 started in total] __ tool/jitlogparser/test [293 done in total, somefailed=False] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 24 items tool/jitlogparser/test/test_parser.py .......ss....s......... tool/jitlogparser/test/test_storage.py . ===================== 21 passed, 3 skipped in 0.63 seconds ===================== ++ 00:00:29 starting tool/pytest/test [297 started in total] __ tool/pytest/test [294 done in total, somefailed=False] _____________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items tool/pytest/test/test_expecttest.py s ========================== 1 skipped in 0.07 seconds =========================== ++ 00:00:30 starting tool/test [298 started in total] __ tool/test [295 done in total, somefailed=False] ____________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 67 items tool/test/test_ansi_print.py ........ tool/test/test_descriptor.py ... tool/test/test_error.py .... tool/test/test_flattenrec.py . tool/test/test_frozenlist.py . tool/test/test_gcc_cache.py ..... tool/test/test_identitydict.py .......... tool/test/test_killsubprocess.py ... tool/test/test_leakfinder.py ........ tool/test/test_logparser.py ... tool/test/test_nullpath.py . tool/test/test_pairtype.py ....... tool/test/test_runsubprocess.py ..... tool/test/test_sourcetools.py .... tool/test/test_udir.py .. tool/test/test_version.py .. ========================== 67 passed in 5.98 seconds =========================== ++ 00:00:37 starting translator/backendopt/test [299 started in total] __ translator/backendopt/test [296 done in total, somefailed=False] ___________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 182 items translator/backendopt/test/test_all.py ............ translator/backendopt/test/test_canraise.py ............ translator/backendopt/test/test_constfold.py ...................... translator/backendopt/test/test_finalizer.py ........ translator/backendopt/test/test_gilanalysis.py .... translator/backendopt/test/test_graphanalyze.py ... translator/backendopt/test/test_inline.py ............................. translator/backendopt/test/test_innerloop.py ... translator/backendopt/test/test_malloc.py .............s..s..s...s translator/backendopt/test/test_merge_if_blocks.py ......... translator/backendopt/test/test_removeassert.py ...... translator/backendopt/test/test_removenoops.py .... translator/backendopt/test/test_ssa.py .... translator/backendopt/test/test_storesink.py ............ translator/backendopt/test/test_support.py ...... translator/backendopt/test/test_writeanalyze.py ...............s........ ==================== 177 passed, 5 skipped in 6.77 seconds ===================== ++ 00:00:46 starting translator/c/test/test_backendoptimized.py [300 started in total] __ translator/c/test/test_backendoptimized.py [297 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 90 items translator/c/test/test_backendoptimized.py .......................................................................................... ========================= 90 passed in 274.59 seconds ========================== ++ 00:05:27 starting translator/c/test/test_boehm.py [301 started in total] __ translator/c/test/test_boehm.py [298 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_boehm.py ................. ========================== 17 passed in 55.05 seconds ========================== ++ 00:06:26 starting translator/c/test/test_database.py [302 started in total] __ translator/c/test/test_database.py [299 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_database.py ................. ========================== 17 passed in 1.21 seconds =========================== ++ 00:06:28 starting translator/c/test/test_exception.py [303 started in total] __ translator/c/test/test_exception.py [300 done in total, somefailed=False] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items translator/c/test/test_exception.py .......... ========================== 10 passed in 26.42 seconds ========================== ++ 00:06:56 starting translator/c/test/test_extfunc.py [304 started in total] __ rtyper/test [301 done in total, somefailed=False] __________________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1161 items rtyper/test/test_annlowlevel.py .......... rtyper/test/test_controllerentry.py ........ rtyper/test/test_exception.py ......... rtyper/test/test_extfunc.py ....... rtyper/test/test_extregistry.py ....... rtyper/test/test_generator.py ...x.. rtyper/test/test_llann.py ......................... rtyper/test/test_llannotation.py ... rtyper/test/test_llinterp.py .........................s....... rtyper/test/test_llop.py ........ rtyper/test/test_nongc.py ........ rtyper/test/test_normalizecalls.py ................. rtyper/test/test_rbool.py ........ rtyper/test/test_rbuilder.py ..................... rtyper/test/test_rbuiltin.py ....................s..ss................... rtyper/test/test_rbytearray.py ...... rtyper/test/test_rclass.py ...................................................................x..... rtyper/test/test_rconstantdict.py ..... rtyper/test/test_rdict.py ......................................................................... rtyper/test/test_remptydict.py .. rtyper/test/test_rfloat.py ............................ rtyper/test/test_rint.py ........................s........ rtyper/test/test_rlist.py .................................................................................................. rtyper/test/test_rordereddict.py ............................................................................................................................................ rtyper/test/test_rpbc.py .................................................................................s..........s.......................................................................................s..........s...... rtyper/test/test_rptr.py ....................... rtyper/test/test_rrange.py ................ rtyper/test/test_rstr.py ........................................................................................ rtyper/test/test_rtuple.py ................................. rtyper/test/test_rtyper.py ........ rtyper/test/test_runicode.py .........................................................................s..............ssssssssssss... rtyper/test/test_rvirtualizable.py ............. rtyper/test/test_rweakref.py ....... ============= 1137 passed, 22 skipped, 2 xfailed in 520.46 seconds ============= ++ 00:07:15 starting translator/c/test/test_genc.py [305 started in total] __ translator/c/test/test_genc.py [302 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 24 items translator/c/test/test_genc.py ........................ ========================== 24 passed in 65.31 seconds ========================== ++ 00:08:28 starting translator/c/test/test_lladdresses.py [306 started in total] __ translator/c/test/test_lladdresses.py [303 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 17 items translator/c/test/test_lladdresses.py ................. ========================== 17 passed in 43.24 seconds ========================== ++ 00:09:12 starting translator/c/test/test_llop.py [307 started in total] __ translator/c/test/test_llop.py [304 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 4 items translator/c/test/test_llop.py .... ========================== 4 passed in 21.12 seconds =========================== ++ 00:09:36 starting translator/c/test/test_lltyped.py [308 started in total] __ rlib/test/test_rbigint.py [305 done in total, somefailed=False] ____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 199 items rlib/test/test_rbigint.py ....................................................................................................................................................................................................... ======================== 199 passed in 1125.84 seconds ========================= ++ 00:09:36 starting translator/c/test/test_math.py [309 started in total] __ translator/c/test/test_extfunc.py [306 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 58 items translator/c/test/test_extfunc.py ..........s..............................s................ ==================== 56 passed, 2 skipped in 168.63 seconds ==================== ++ 00:09:50 starting translator/c/test/test_newgc.py [310 started in total] __ translator/c/test/test_math.py [307 done in total, somefailed=False] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items translator/c/test/test_math.py .. ========================== 2 passed in 22.99 seconds =========================== ++ 00:10:00 starting translator/c/test/test_refcount.py [311 started in total] __ translator/c/test/test_refcount.py [308 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 10 items translator/c/test/test_refcount.py .......... ========================== 10 passed in 30.57 seconds ========================== ++ 00:10:33 starting translator/c/test/test_rtagged.py [312 started in total] __ translator/c/test/test_rtagged.py [309 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 2 items translator/c/test/test_rtagged.py .. =========================== 2 passed in 2.70 seconds =========================== ++ 00:10:37 starting translator/c/test/test_standalone.py [313 started in total] __ translator/c/test/test_lltyped.py [310 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 50 items translator/c/test/test_lltyped.py ..................s..............s................ ==================== 48 passed, 2 skipped in 139.92 seconds ==================== ++ 00:12:01 starting translator/c/test/test_standalone_print_function.py [314 started in total] __ translator/c/test/test_standalone_print_function.py [311 done in total, somefailed=False] [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 1 items translator/c/test/test_standalone_print_function.py . =========================== 1 passed in 6.42 seconds =========================== ++ 00:12:10 starting translator/c/test/test_support.py [315 started in total] __ translator/c/test/test_support.py [312 done in total, somefailed=False] ____ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 107 items translator/c/test/test_support.py ........................................................................................................... ========================== 107 passed in 0.16 seconds ========================== ++ 00:12:11 starting translator/c/test/test_symbolic.py [316 started in total] __ translator/c/test/test_symbolic.py [313 done in total, somefailed=False] ___ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 7 items translator/c/test/test_symbolic.py ....... ========================== 7 passed in 16.87 seconds =========================== ++ 00:12:31 starting translator/c/test/test_typed.py [317 started in total] __ translator/c/test/test_standalone.py [314 done in total, somefailed=True] __ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 42 items translator/c/test/test_standalone.py ...s..............s......s...........FFFF. =================================== FAILURES =================================== __________________________ TestThread.test_stack_size __________________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0x7f8b65cb56d0> def test_stack_size(self): import time from rpython.rlib import rthread from rpython.rtyper.lltypesystem import lltype class State: pass state = State() def recurse(n): if n > 0: return recurse(n-1)+1 else: time.sleep(0.2) # invokes before/after return 0 # recurse a lot RECURSION = 19500 if sys.platform == 'win32': # If I understand it correctly: # - The stack size "reserved" for a new thread is a compile-time # option (by default: 1Mb). This is a minimum that user code # cannot control. # - set_stacksize() only sets the initially "committed" size, # which eventually requires a larger "reserved" size. # - The limit below is large enough to exceed the "reserved" size, # for small values of set_stacksize(). RECURSION = 150 * 1000 def bootstrap(): recurse(RECURSION) state.count += 1 def entry_point(argv): os.write(1, "hello world\n") error = rthread.set_stacksize(int(argv[1])) if error != 0: os.write(2, "set_stacksize(%d) returned %d\n" % ( int(argv[1]), error)) raise AssertionError # malloc a bit s1 = State(); s2 = State(); s3 = State() s1.x = 0x11111111; s2.x = 0x22222222; s3.x = 0x33333333 # start 3 new threads state.count = 0 ident1 = rthread.start_new_thread(bootstrap, ()) ident2 = rthread.start_new_thread(bootstrap, ()) ident3 = rthread.start_new_thread(bootstrap, ()) # wait for the 3 threads to finish while True: if state.count == 3: break time.sleep(0.1) # invokes before/after # check that the malloced structures were not overwritten assert s1.x == 0x11111111 assert s2.x == 0x22222222 assert s3.x == 0x33333333 os.write(1, "done\n") return 0 > t, cbuilder = self.compile(entry_point) translator/c/test/test_standalone.py:1306: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 364 blocks (27%) [rtyper] specializing: 200 / 431 blocks (46%) [rtyper] specializing: 300 / 433 blocks (69%) [rtyper] specializing: 400 / 433 blocks (92%) [rtyper] -=- specialized 435 blocks -=- [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] specializing: 500 / 521 blocks (95%) [rtyper] -=- specialized 25 more blocks -=- ________________________ TestThread.test_thread_and_gc _________________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0x7f8b662c2e90> def test_thread_and_gc(self): import time, gc from rpython.rlib import rthread, rposix from rpython.rtyper.lltypesystem import lltype class State: pass state = State() class Cons: def __init__(self, head, tail): self.head = head self.tail = tail def check_errno(value): rposix.set_saved_errno(value) for i in range(10000000): pass assert rposix.get_saved_errno() == value def bootstrap(): rthread.gc_thread_start() check_errno(42) state.xlist.append(Cons(123, Cons(456, None))) gc.collect() rthread.gc_thread_die() def new_thread(): ident = rthread.start_new_thread(bootstrap, ()) check_errno(41) time.sleep(0.5) # enough time to start, hopefully return ident def entry_point(argv): os.write(1, "hello world\n") state.xlist = [] x2 = Cons(51, Cons(62, Cons(74, None))) # start 5 new threads ident1 = new_thread() ident2 = new_thread() # gc.collect() # ident3 = new_thread() ident4 = new_thread() ident5 = new_thread() # wait for the 5 threads to finish while True: gc.collect() if len(state.xlist) == 5: break time.sleep(0.1) # invokes before/after # check that the malloced structures were not overwritten assert x2.head == 51 assert x2.tail.head == 62 assert x2.tail.tail.head == 74 assert x2.tail.tail.tail is None # check the structures produced by the threads for i in range(5): assert state.xlist[i].head == 123 assert state.xlist[i].tail.head == 456 assert state.xlist[i].tail.tail is None os.write(1, "%d ok\n" % (i+1)) return 0 def runme(no__thread): t, cbuilder = self.compile(entry_point, no__thread=no__thread) data = cbuilder.cmdexec('') assert data.splitlines() == ['hello world', '1 ok', '2 ok', '3 ok', '4 ok', '5 ok'] if SUPPORT__THREAD: > runme(no__thread=False) translator/c/test/test_standalone.py:1406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1396: in runme t, cbuilder = self.compile(entry_point, no__thread=no__thread) translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 376 blocks (26%) [rtyper] specializing: 200 / 420 blocks (47%) [rtyper] specializing: 300 / 500 blocks (60%) [rtyper] specializing: 400 / 500 blocks (80%) [rtyper] specializing: 500 / 504 blocks (99%) [rtyper] -=- specialized 504 blocks -=- [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- _________________ TestThread.test_gc_with_fork_without_threads _________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0x7f8b67cc6e90> def test_gc_with_fork_without_threads(self): if not hasattr(os, 'fork'): py.test.skip("requires fork()") def entry_point(argv): childpid = os.fork() if childpid == 0: print "Testing..." else: pid, status = os.waitpid(childpid, 0) assert pid == childpid assert status == 0 print "OK." return 0 > t, cbuilder = self.compile(entry_point) translator/c/test/test_standalone.py:1425: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 403 blocks (24%) [rtyper] specializing: 200 / 424 blocks (47%) [rtyper] specializing: 300 / 424 blocks (70%) [rtyper] specializing: 400 / 424 blocks (94%) [rtyper] -=- specialized 424 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- ___________________ TestThread.test_thread_and_gc_with_fork ____________________ self = <rpython.translator.c.test.test_standalone.TestThread object at 0x7f8b65405cd0> def test_thread_and_gc_with_fork(self): # This checks that memory allocated for the shadow stacks of the # other threads is really released when doing a fork() -- or at # least that the object referenced from stacks that are no longer # alive are really freed. import time, gc, os from rpython.rlib import rthread if not hasattr(os, 'fork'): py.test.skip("requires fork()") from rpython.rtyper.lltypesystem import rffi, lltype direct_write = rffi.llexternal( "write", [rffi.INT, rffi.CCHARP, rffi.SIZE_T], lltype.Void, _nowrapper=True) class State: pass state = State() class Cons: def __init__(self, head, tail): self.head = head self.tail = tail class Stuff: def __del__(self): p = rffi.str2charp('d') one = rffi.cast(rffi.SIZE_T, 1) direct_write(rffi.cast(rffi.INT, state.write_end), p, one) rffi.free_charp(p) def allocate_stuff(): s = Stuff() os.write(state.write_end, 'a') return s def run_in_thread(): for i in range(10): state.xlist.append(Cons(123, Cons(456, None))) time.sleep(0.01) childpid = os.fork() return childpid def bootstrap(): rthread.gc_thread_start() childpid = run_in_thread() gc.collect() # collect both in the child and in the parent gc.collect() gc.collect() if childpid == 0: os.write(state.write_end, 'c') # "I did not die!" from child else: os.write(state.write_end, 'p') # "I did not die!" from parent rthread.gc_thread_die() def new_thread(): ident = rthread.start_new_thread(bootstrap, ()) time.sleep(0.5) # enough time to start, hopefully return ident def start_arthreads(): s = allocate_stuff() ident1 = new_thread() ident2 = new_thread() ident3 = new_thread() ident4 = new_thread() ident5 = new_thread() # wait for 4 more seconds, which should be plenty of time time.sleep(4) keepalive_until_here(s) def entry_point(argv): os.write(1, "hello world\n") state.xlist = [] state.deleted = 0 state.read_end, state.write_end = os.pipe() x2 = Cons(51, Cons(62, Cons(74, None))) # start 5 new threads start_arthreads() # force freeing gc.collect() gc.collect() gc.collect() # return everything that was written to the pipe so far, # followed by the final dot. os.write(state.write_end, '.') result = os.read(state.read_end, 256) os.write(1, "got: %s\n" % result) return 0 > t, cbuilder = self.compile(entry_point) translator/c/test/test_standalone.py:1520: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_standalone.py:1240: in compile cbuilder.generate_source(defines=cbuilder.DEBUG_DEFINES) translator/c/genc.py:178: in generate_source db = self.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] specializing: 100 / 462 blocks (21%) [rtyper] specializing: 200 / 521 blocks (38%) [rtyper] specializing: 300 / 521 blocks (57%) [rtyper] specializing: 500 / 653 blocks (76%) [rtyper] specializing: 600 / 653 blocks (91%) [rtyper] -=- specialized 653 blocks -=- [rtyper] specializing: 700 / 701 blocks (99%) [rtyper] -=- specialized 48 more blocks -=- [rtyper] -=- specialized 9 more blocks -=- [rtyper] -=- specialized 4 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL translator/c/test/test_standalone.py::TestThread::()::test_stack_size FAIL translator/c/test/test_standalone.py::TestThread::()::test_thread_and_gc FAIL translator/c/test/test_standalone.py::TestThread::()::test_gc_with_fork_without_threads FAIL translator/c/test/test_standalone.py::TestThread::()::test_thread_and_gc_with_fork =============== 4 failed, 35 passed, 3 skipped in 144.51 seconds =============== ++ 00:13:09 starting translator/platform/arch/test [318 started in total] __ translator/platform/arch/test [315 done in total, somefailed=False] ________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 0 items / 1 skipped ========================== 1 skipped in 0.00 seconds =========================== ++ 00:13:10 starting translator/platform/test [319 started in total] __ translator/platform/test [316 done in total, somefailed=False] _____________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 18 items / 2 skipped translator/platform/test/test_makefile.py ...s translator/platform/test/test_platform.py .......... translator/platform/test/test_posix.py .... ==================== 17 passed, 3 skipped in 13.71 seconds ===================== ++ 00:13:25 starting translator/sandbox/test [320 started in total] __ rlib/rsre/test/test_zjit.py [317 done in total, somefailed=False] __________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 26 items rlib/rsre/test/test_zjit.py .....................x.... =================== 25 passed, 1 xfailed in 1472.75 seconds ==================== ++ 00:13:25 starting translator/test [321 started in total] __ translator/test [318 done in total, somefailed=True] _______________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 66 items translator/test/test_driver.py ..... translator/test/test_exceptiontransform.py .........s...... translator/test/test_interactive.py ....... translator/test/test_simplify.py ............................ translator/test/test_stackcheck.py .F translator/test/test_timing.py . translator/test/test_translator.py . translator/test/test_uniquename.py . translator/test/test_unsimplify.py ..... =================================== FAILURES =================================== ______________________________ test_gctransformed ______________________________ def test_gctransformed(): t = TranslationContext() a = t.buildannotator() a.build_types(g, [int]) a.simplify() t.buildrtyper().specialize() backend_optimizations(t) t.checkgraphs() n = insert_ll_stackcheck(t) t.checkgraphs() assert n == 1 exctransf = t.getexceptiontransformer() f_graph = graphof(t, f) exctransf.create_exception_handling(f_graph) if option.view: f_graph.show() check(f_graph, 'f') > class GCTransform(shadowstack.ShadowStackFrameworkGCTransformer): translator/test/test_stackcheck.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/test/test_stackcheck.py:98: in GCTransform from rpython.memory.gc.generation import GenerationGC as \ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ----------------------------- Captured stderr call ----------------------------- [rtyper] -=- specialized 9 blocks -=- [rtyper] -=- specialized 4 more blocks -=- [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] inlined 2 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] removed 0 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [rtyper] -=- specialized 8 more blocks -=- [rtyper] -=- specialized 25 more blocks -=- =========================== short test summary info ============================ FAIL translator/test/test_stackcheck.py::test_gctransformed =============== 1 failed, 64 passed, 1 skipped in 32.29 seconds ================ ++ 00:14:03 starting translator/tool/test [322 started in total] __ translator/tool/test [319 done in total, somefailed=False] _________________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 15 items translator/tool/test/test_cbuild.py ......s.s. translator/tool/test/test_staticsizereport.py .. translator/tool/test/test_taskengine.py ... ==================== 13 passed, 2 skipped in 14.18 seconds ===================== __ translator/sandbox/test [320 done in total, somefailed=True] _______________ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 30 items translator/sandbox/test/test_sandbox.py ........F.s.s.... translator/sandbox/test/test_sandlib.py .s....... translator/sandbox/test/test_vfs.py .... =================================== FAILURES =================================== ________________________________ test_hybrid_gc ________________________________ def test_hybrid_gc(): def entry_point(argv): l = [] for i in range(int(argv[1])): l.append("x" * int(argv[2])) return int(len(l) > 1000) > exe = compile(entry_point, gc='hybrid', lldebug=True) translator/sandbox/test/test_sandbox.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/sandbox/test/test_sandbox.py:43: in compile return str(t.compile()) translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ----------------------------- Captured stderr call ----------------------------- [flowgraph] (rpython.translator.sandbox.test.test_sandbox:195)entry_point [translation:info] Annotating&simplifying... [c581900feec8000] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [c581900ff02ae00] translation-task} [translation:info] RTyping... [c581900ff033a80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 100 / 168 blocks (59%) [rtyper] -=- specialized 168 blocks -=- [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 4 more blocks -=- [c58190104219980] translation-task} [translation:info] lltype back-end optimisations... [c58190104221880] {translation-task starting backendopt_lltype [backendopt:removecasts] removed 4 cast_pointers in ll_int__rpy_stringPtr_Signed [backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed [backendopt:inlining] phase with threshold factor: 32.4 [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic [backendopt:inlining] 0.00 isconstant__v27243___simple_call__function [backendopt:inlining] 0.00 conditional_call__v27237___simple_call__function_star_3 [backendopt:inlining] 0.00 isconstant__v27236___simple_call__function [backendopt:inlining] 0.00 ll_getitem_nonneg__dum_nocheckConst_ll_getitem_fastConst_listPtr_Signed [backendopt:inlining] 0.00 memo__sizeof_none_0 [backendopt:inlining] 0.00 isconstant__v27238___simple_call__function [backendopt:inlining] 0.00 isconstant__v27242___simple_call__function [backendopt:inlining] 0.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 0.00 memo__ll_prebuilt_empty_array_0 [backendopt:inlining] 2.00 ll_length__listPtr [backendopt:inlining] 2.00 ll_items__listPtr [backendopt:inlining] 4.00 copy_item__arrayPtr_arrayPtr_Signed_Signed [backendopt:inlining] 7.00 mallocstr__Signed [backendopt:inlining] 2.00 ll_len__listPtr [backendopt:inlining] 7.50 mallocstr__Signed [backendopt:inlining] 8.00 ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed [backendopt:inlining] 8.00 ll_newemptylist__GcStruct_listLlT [backendopt:inlining] 9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool [backendopt:inlining] 11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed [backendopt:inlining] 6.00 ll_setitem_fast__listPtr_Signed_GCREFPtr [backendopt:inlining] 6.00 ll_getitem_fast__listPtr_Signed [backendopt:inlining] 12.00 ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr [backendopt:inlining] 12.50 ll_rangenext_up__rangePtr_Signed [backendopt:inlining] 17.00 ll_append__listPtr_GCREFPtr [backendopt:inlining] 26.83 ll_char_mul__Char_Signed [backendopt:inlining] inlined 36 callsites. [backendopt:malloc] starting malloc removal [backendopt:malloc] 2 simple mallocs removed in 'entry_point' [backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed' [backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v27237___simple_call__function_star_3' [backendopt:malloc] removed 4 simple mallocs in total [backendopt:mergeifblocks] starting to merge if blocks [c58190105867500] translation-task} [translation:info] inserting stack checks... [c58190105871300] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 0 stack checks. [c58190105d0e000] translation-task} [translation:info] Creating database for generating c source... [c58190105d15a80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] specializing: 200 / 205 blocks (97%) [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58190106bda180] translation-task} =========================== short test summary info ============================ FAIL translator/sandbox/test/test_sandbox.py::test_hybrid_gc =============== 1 failed, 26 passed, 3 skipped in 91.19 seconds ================ __ translator/c/test/test_newgc.py [321 done in total, somefailed=True] _______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 556 items translator/c/test/test_newgc.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE ==================================== ERRORS ==================================== ____________ ERROR at setup of TestSemiSpaceGC.test_finalizer_order ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818e477f62e80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (?:2)mallocstr [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818e4deba3b80] translation-task} [translation:info] RTyping... [c5818e4debaf380] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [rtyper] specializing: 200 / 2381 blocks (8%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [rtyper] specializing: 400 / 2566 blocks (15%) [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [rtyper] specializing: 800 / 3810 blocks (20%) [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [rtyper] specializing: 1300 / 4977 blocks (26%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 1700 / 5581 blocks (30%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2000 / 5587 blocks (35%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2300 / 5592 blocks (41%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 2600 / 5597 blocks (46%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2900 / 5599 blocks (51%) [rtyper] specializing: 3200 / 5599 blocks (57%) [rtyper] specializing: 3500 / 5599 blocks (62%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 3800 / 5599 blocks (67%) [rtyper] specializing: 4100 / 5599 blocks (73%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4400 / 5601 blocks (78%) [rtyper] specializing: 4700 / 5601 blocks (83%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818e635177f80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818e63519bf80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818e636dcca00] translation-task} [translation:info] Creating database for generating c source... [c5818e636dd6400] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [flowgraph] (rpython.memory.gctransform.framework:178)frameworkgc_setup [flowgraph] (rpython.memory.gctransform.framework:184)frameworkgc__teardown [flowgraph] (rpython.memory.gctransform.shadowstack:80)incr_stack [flowgraph] (rpython.memory.gctransform.shadowstack:86)decr_stack [flowgraph] (rpython.memory.gctypelayout:594)ll_weakref_deref [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fixedsize_clear [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear [flowgraph] (rpython.memory.gc.semispace:248)SemiSpaceGC.collect [flowgraph] (rpython.memory.gc.base:165)GCBase.collect_step [flowgraph] (rpython.memory.gc.base:156)GCBase.enable [flowgraph] (rpython.memory.gc.base:159)GCBase.disable [flowgraph] (rpython.memory.gc.base:162)GCBase.isenabled [flowgraph] (rpython.memory.gc.base:512)MovingGCBase.can_move [flowgraph] (rpython.memory.gc.semispace:136)SemiSpaceGC.shrink_array [flowgraph] (rpython.memory.gc.semispace:731)SemiSpaceGC.heap_stats [flowgraph] (rpython.memory.gc.base:118)GCBase.get_member_index [flowgraph] (rpython.memory.gc.base:149)GCBase.get_type_id_cast [flowgraph] (rpython.memory.gc.semispace:95)SemiSpaceGC.malloc_fast [flowgraph] (rpython.memory.gc.semispace:118)SemiSpaceGC.malloc_varsize_clear_fast [flowgraph] (rpython.memory.gc.semispace:676)SemiSpaceGC.identityhash [flowgraph] (rpython.memory.gc.semispace:158)SemiSpaceGC.obtain_free_space [flowgraph] (rpython.memory.gc.base:515)MovingGCBase.id [flowgraph] (rpython.memory.gc.inspector:32)get_rpy_roots [flowgraph] (rpython.memory.gc.inspector:63)get_rpy_referents [flowgraph] (rpython.memory.gc.inspector:76)get_rpy_memory_usage [flowgraph] (rpython.memory.gc.inspector:79)get_rpy_type_index [flowgraph] (rpython.memory.gc.inspector:83)is_rpy_instance [flowgraph] (rpython.memory.gc.inspector:265)dump_rpy_heap [flowgraph] (rpython.memory.gc.inspector:281)get_typeids_z [flowgraph] (rpython.memory.gc.inspector:285)get_typeids_list [flowgraph] (rpython.memory.gc.semispace:232)SemiSpaceGC.set_max_heap_size [flowgraph] (rpython.memory.gc.base:213)GCBase.malloc_fixed_or_varsize_nonmovable [flowgraph] (rpython.memory.gc.semispace:151)SemiSpaceGC.register_finalizer [flowgraph] (rpython.memory.gctransform.shadowstack:258)gc_increase_root_stack_depth [flowgraph] (rpython.memory.gc.semispace:166)SemiSpaceGC.try_obtain_free_space [flowgraph] (rpython.memory.gc.base:380)GCBase.is_valid_gc_object [flowgraph] (rpython.memory.gc.semispace:342)SemiSpaceGC.get_size_incl_hash [flowgraph] (rpython.memory.gc.semispace:474)SemiSpaceGC.get_type_id [flowgraph] (rpython.memory.gc.base:442)GCBase.debug_check_consistency [flowgraph] (rpython.memory.gc.semispace:87)SemiSpaceGC._teardown [flowgraph] (rpython.memory.gctransform.shadowstack:108)setup_root_walker [flowgraph] (rpython.memory.gctypelayout:131)GCData.q_member_index [flowgraph] (rpython.memory.gctransform.shadowstack:351)ShadowStackPool.increase_root_stack_depth [flowgraph] (rpython.memory.gc.inspector:201)HeapDumper.__init__ [flowgraph] (rpython.memory.gc.inspector:173)BaseWalker.process [flowgraph] (rpython.memory.gc.inspector:56)_do_append_rpy_referents [flowgraph] (rpython.memory.gc.base:130)GCBase.header [flowgraph] (rpython.memory.gc.base:146)GCBase.get_size [flowgraph] (rpython.memory.gctransform.shadowstack:288)ShadowStackPool.initial_setup [flowgraph] (rpython.memory.gc.inspector:25)_do_append_rpy_roots [flowgraph] (rpython.memory.gctypelayout:59)GCData.get [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gc.inspector:112)BaseWalker.add_roots [flowgraph] (rpython.memory.gc.inspector:99)BaseWalker.__init__ [flowgraph] (rpython.memory.gctransform.shadowstack:344)ShadowStackPool._prepare_unused_stack [flowgraph] (rpython.memory.gctypelayout:204)_check_valid_type_info [flowgraph] (rpython.memory.support:307)AddressDict [flowgraph] (rpython.memory.gctransform.framework:1758)walk_roots [flowgraph] (rpython.memory.support:101)AddressStack.__init__ [flowgraph] (rpython.memory.lldict:17)newdict [flowgraph] (rpython.memory.support:40)FreeList.get [flowgraph] (rpython.rtyper.lltypesystem.rdict:667)ll_newdict_size [flowgraph] (rpython.memory.gc.base:377)GCBase.points_to_valid_gc_object [flowgraph] (rpython.memory.lldict:20)dict_allocate [flowgraph] (rpython.memory.gctransform.shadowstack:112)walk_stack_roots [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gc.inspector:14)_append_rpy_root [flowgraph] (rpython.memory.gc.semispace:255)SemiSpaceGC.semispace_collect [flowgraph] (rpython.memory.lldict:29)dict_allocate_entries [flowgraph] (rpython.memory.gctransform.shadowstack:335)ShadowStackPool.start_fresh_new_state [flowgraph] (rpython.memory.gc.semispace:644)SemiSpaceGC._is_in_the_space [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (?:2)debug_start [flowgraph] (rpython.memory.gc.semispace:641)SemiSpaceGC._is_external [flowgraph] (rpython.rlib.debug:99)debug_start [flowgraph] (rpython.memory.gctransform.shadowstack:43)walk_stack_root [flowgraph] (rpython.memory.gctypelayout:143)GCData.q_fast_path_tracing [flowgraph] (rpython.memory.gctypelayout:135)GCData.q_is_rpython_class [flowgraph] (rpython.memory.gc.base:134)GCBase._get_size_for_typeid [flowgraph] (rpython.memory.gctypelayout:110)GCData.q_fixed_size [flowgraph] (rpython.memory.gc.base:543)MovingGCBase._compute_id [flowgraph] (rpython.memory.gctransform.shadowstack:93)<lambda> [flowgraph] (rpython.memory.gctypelayout:73)GCData.q_is_varsize [flowgraph] (rpython.memory.gc.base:600)callback2 [flowgraph] (rpython.memory.gctransform.shadowstack:376)ShadowStackPool._resize [flowgraph] (rpython.memory.gctypelayout:85)GCData.q_is_gcarrayofgcptr [flowgraph] (rpython.memory.gctypelayout:119)GCData.q_varsize_offset_to_length [flowgraph] (rpython.memory.gctypelayout:66)GCData.get_varsize [flowgraph] (rpython.memory.gctypelayout:107)GCData.q_offsets_to_gc_pointers [flowgraph] (rpython.memory.gc.inspector:259)_hd_add_root [flowgraph] (rpython.memory.gctypelayout:207)_check_valid_type_info_varsize [flowgraph] (rpython.memory.gc.inspector:123)BaseWalker.add [flowgraph] (rpython.memory.support:122)AddressStack.append [flowgraph] (rpython.memory.gctransform.framework:1754)setup_root_walker [flowgraph] (rpython.memory.support:108)AddressStack.enlarge [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctypelayout:77)GCData.q_has_gcptr_in_varsize [flowgraph] (rpython.memory.gc.inspector:44)_append_rpy_referent [flowgraph] (rpython.memory.gctypelayout:116)GCData.q_varsize_offset_to_variable_part [flowgraph] (rpython.memory.gctypelayout:139)GCData.q_has_custom_trace [flowgraph] (rpython.memory.gctypelayout:122)GCData.q_varsize_offsets_to_gcpointers_in_var_part [flowgraph] (rpython.memory.gctypelayout:113)GCData.q_varsize_item_sizes [flowgraph] (rpython.rtyper.lltypesystem.rdict:866)ll_contains [flowgraph] (rpython.memory.lldict:47)dict_keyhash [flowgraph] (rpython.memory.lldict:44)_hash [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.support:10)mangle_hash [flowgraph] (rpython.translator.c.test.test_newgc:451)customtrace [flowgraph] (rpython.memory.gc.base:338)GCBase._trace_callback [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.memory.lldict:50)dict_entry_valid [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rdict:576)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.llarena:365)round_up_for_allocation [flowgraph] (rpython.memory.lldict:59)dict_add [flowgraph] (rpython.rtyper.lltypesystem.rdict:459)ll_dict_setitem [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rdict:544)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rdict:554)_ll_dict_resize_to [flowgraph] (rpython.memory.lldict:53)dict_entry_hash [flowgraph] (rpython.memory.lldict:40)dict_delete_entries [flowgraph] (rpython.memory.gc.semispace:67)SemiSpaceGC.setup [flowgraph] (rpython.memory.gc.semispace:380)SemiSpaceGC._get_object_hash [flowgraph] (rpython.memory.gc.base:410)GCBase.enum_live_with_finalizers [flowgraph] (rpython.rtyper.lltypesystem.rdict:495)ll_dict_insertclean [flowgraph] (rpython.memory.gc.base:410)GCBase.enum_live_with_finalizers [flowgraph] (rpython.memory.gc.base:506)MovingGCBase.setup [flowgraph] (rpython.rtyper.lltypesystem.rdict:639)ll_dict_lookup_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.memory.gc.base:45)GCBase.setup [flowgraph] (rpython.memory.support:228)AddressDeque.__init__ [flowgraph] (rpython.memory.gc.semispace:672)SemiSpaceGC._compute_current_nursery_hash [flowgraph] (rpython.memory.lldict:56)dict_get [flowgraph] (rpython.memory.gc.semispace:484)SemiSpaceGC.init_gc_object [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.memory.gc.semispace:668)SemiSpaceGC.is_in_nursery [flowgraph] (rpython.memory.gc.semispace:471)SemiSpaceGC.combine [flowgraph] (rpython.rtyper.lltypesystem.rdict:735)ll_get [flowgraph] (rpython.rtyper.lltypesystem.rdict:466)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rdict:434)ll_get_value [flowgraph] (rpython.memory.support:250)AddressDeque.append [flowgraph] (rpython.memory.gc.base:385)GCBase.enumerate_all_roots [flowgraph] (rpython.memory.support:235)AddressDeque.enlarge [flowgraph] (rpython.memory.gc.base:410)GCBase.enum_live_with_finalizers [flowgraph] (rpython.memory.gc.base:401)GCBase.enum_pending_finalizers [flowgraph] (rpython.memory.support:272)AddressDeque.foreach [flowgraph] (rpython.memory.gc.semispace:727)_track_heap_root [flowgraph] (rpython.memory.gc.semispace:717)SemiSpaceGC.track_heap [flowgraph] (rpython.memory.gc.base:127)GCBase.size_gc_header [flowgraph] (rpython.memory.gctypelayout:94)GCData.q_finalizer_handlers [flowgraph] (rpython.memory.gc.base:259)GCBase.trace [flowgraph] (rpython.memory.gc.base:295)GCBase._trace_slow_path [flowgraph] (rpython.memory.gctransform.framework:596)custom_trace_dispatcher [flowgraph] (rpython.memory.gc.base:252)gc_callback_track_heap_parent [flowgraph] (rpython.translator.c.test.test_newgc:451)customtrace [flowgraph] (rpython.memory.gc.base:338)GCBase._trace_callback [flowgraph] (rpython.memory.gc.semispace:709)SemiSpaceGC.track_heap_parent [flowgraph] (rpython.memory.gc.base:401)GCBase.enum_pending_finalizers [flowgraph] (rpython.memory.gc.semispace:321)SemiSpaceGC.starting_full_collect [flowgraph] (rpython.memory.gc.base:58)GCBase.post_setup [c5818e649cb8600] translation-task} ___ ERROR at setup of TestSemiSpaceGC.test_from_objwithfinalizer_to_youngobj ___ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_empty_collect _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_framework_simple ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_framework_safe_pushpop _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_framework_protect_getfield _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestSemiSpaceGC.test_framework_varsized ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_framework_using_lists _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_framework_static_roots _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_framework_nongc_static_root ______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_framework_void_array __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______ ERROR at setup of TestSemiSpaceGC.test_framework_malloc_failure ________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_framework_array_of_void ________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_framework_opaque ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestSemiSpaceGC.test_framework_finalizer __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______________ ERROR at setup of TestSemiSpaceGC.test_del_catches ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______________ ERROR at setup of TestSemiSpaceGC.test_del_raises _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_custom_trace ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_custom_light_finalizer _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________________ ERROR at setup of TestSemiSpaceGC.test_weakref ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_prebuilt_weakref ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_prebuilt_dicts_of_all_sizes ______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_framework_malloc_raw __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_framework_del_seeing_new_types _____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_framework_late_filling_pointers ____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_zero_raw_malloc ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_object_alignment ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______________ ERROR at setup of TestSemiSpaceGC.test_void_list _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_open_read_write_seek_close _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_callback_with_collect _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______________ ERROR at setup of TestSemiSpaceGC.test_can_move ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_resizable_buffer ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_hash_preservation ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_hash_overflow _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_hash_varsized _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_arraycopy_writebarrier_int _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_arraycopy_writebarrier_ptr _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_roots _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_referents ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_is_rpy_instance ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ______ ERROR at setup of TestSemiSpaceGC.test_try_cast_gcref_to_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_memory_usage __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestSemiSpaceGC.test_get_rpy_type_index ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_dump_rpy_heap _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_write_typeids_z ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_gcflag_extra ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_check_zero_works ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_long_chain_of_instances ________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _______________ ERROR at setup of TestSemiSpaceGC.test_many_ids ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _________ ERROR at setup of TestSemiSpaceGC.test_gc_set_max_heap_size __________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError _____________ ERROR at setup of TestSemiSpaceGC.test_gc_heap_stats _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____________ ERROR at setup of TestSemiSpaceGC.test_string_builder _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_string_builder_over_allocation _____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ____ ERROR at setup of TestSemiSpaceGC.test_string_builder_multiple_builds _____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___ ERROR at setup of TestSemiSpaceGC.test_string_builder_multiple_builds_2 ____ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ___________ ERROR at setup of TestSemiSpaceGC.test_nursery_hash_base ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________ ERROR at setup of TestSemiSpaceGC.test_extra_item_after_alloc _________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError ________________ ERROR at setup of TestSemiSpaceGC.test_rerased ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestSemiSpaceGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:244: in __init__ annhelper.finish() # at this point, annotate all mix-level helpers rtyper/annlowlevel.py:218: in finish self.finish_annotate() rtyper/annlowlevel.py:238: in finish_annotate ann.complete_helpers() annotator/annrpython.py:116: in complete_helpers self.complete() annotator/annrpython.py:229: in complete self.complete_pending_blocks() annotator/annrpython.py:224: in complete_pending_blocks self.processblock(graph, block) annotator/annrpython.py:398: in processblock self.flowin(graph, block) annotator/annrpython.py:501: in flowin self.consider_op(op) annotator/annrpython.py:653: in consider_op resultcell = op.consider(self) flowspace/operation.py:104: in consider return spec(annotator, *self.args) annotator/unaryop.py:118: in simple_call_SomeObject return s_func.call(argspec) annotator/unaryop.py:987: in call return bookkeeper.pbc_call(self, args) annotator/bookkeeper.py:535: in pbc_call results.append(desc.pycall(whence, args, s_previous_result, op)) annotator/description.py:441: in pycall return self.funcdesc.pycall(whence, func_args, s_previous_result, op) annotator/description.py:285: in pycall graph = self.specialize(inputcells, op) annotator/description.py:281: in specialize return self.specializer(self, inputcells) rtyper/annlowlevel.py:111: in default_specialize return AnnotatorPolicy.default_specialize(funcdesc, args_s) annotator/specialize.py:82: in default_specialize graph = funcdesc.cachedgraph(key, builder=builder) annotator/description.py:247: in cachedgraph graph = self.buildgraph(alt_name, builder) annotator/description.py:210: in buildgraph graph = translator.buildflowgraph(self.pyobj) translator/translator.py:55: in buildflowgraph graph = build_flow(func) flowspace/objspace.py:49: in build_flow ctx.build_flow() flowspace/flowcontext.py:405: in build_flow self.record_block(block) flowspace/flowcontext.py:413: in record_block next_offset = self.handle_bytecode(next_offset) flowspace/flowcontext.py:492: in handle_bytecode offset = getattr(self, methodname)(oparg) flowspace/flowcontext.py:670: in IMPORT_NAME w_obj = self.import_name(modulename, glob, None, fromlist, level) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rpython.flowspace.flowcontext.FlowContext object at 0x7fc3a5a71050> name = 'rpython.memory.gc' glob = {'ARRAY_TYPEID_MAP': <GcArray of * GcStruct TYPEID_MAP { count, size, links } >, 'AddressDict': <function AddressDict at 0x7fc3aa1443d0>, 'DEFAULT_CHUNK_SIZE': 1019, 'GCBase': <class 'rpython.memory.gc.base.GCBase'>, ...} loc = None, frm = ('env',), level = -1 def import_name(self, name, glob=None, loc=None, frm=None, level=-1): try: > mod = __import__(name, glob, loc, frm, level) E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details flowspace/flowcontext.py:660: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_finalizer_order ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818ea2adebc00] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818ea66eeec80] translation-task} [translation:info] RTyping... [c5818ea66efaf80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [rtyper] specializing: 200 / 2949 blocks (6%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [rtyper] specializing: 400 / 3068 blocks (13%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [rtyper] specializing: 900 / 4883 blocks (18%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [rtyper] specializing: 1200 / 4915 blocks (24%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 1700 / 5585 blocks (30%) [rtyper] specializing: 2000 / 5585 blocks (35%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 2300 / 5596 blocks (41%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 2600 / 5600 blocks (46%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 2900 / 5602 blocks (51%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3200 / 5607 blocks (57%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 3500 / 5609 blocks (62%) [rtyper] specializing: 3800 / 5609 blocks (67%) [rtyper] specializing: 4100 / 5609 blocks (73%) [rtyper] specializing: 4400 / 5609 blocks (78%) [rtyper] specializing: 4700 / 5609 blocks (83%) [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818eb67154200] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818eb67178600] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818eb68c2af80] translation-task} [translation:info] Creating database for generating c source... [c5818eb68c34600] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818eb69a31880] translation-task} _ ERROR at setup of TestGenerationalGC.test_from_objwithfinalizer_to_youngobj __ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_empty_collect ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_framework_simple __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_framework_safe_pushpop _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_framework_protect_getfield _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_framework_varsized _________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_framework_using_lists ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_framework_static_roots _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestGenerationalGC.test_framework_nongc_static_root _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_framework_void_array ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestGenerationalGC.test_framework_malloc_failure ______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestGenerationalGC.test_framework_array_of_void _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_framework_opaque __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_framework_finalizer _________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestGenerationalGC.test_del_catches _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestGenerationalGC.test_del_raises _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestGenerationalGC.test_custom_trace ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_custom_light_finalizer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_weakref _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_prebuilt_weakref __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestGenerationalGC.test_prebuilt_dicts_of_all_sizes _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_framework_malloc_raw ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestGenerationalGC.test_framework_del_seeing_new_types ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestGenerationalGC.test_framework_late_filling_pointers ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_zero_raw_malloc ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_object_alignment __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestGenerationalGC.test_void_list ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_open_read_write_seek_close _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_callback_with_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_can_move ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_resizable_buffer __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_hash_preservation __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_hash_overflow ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_hash_varsized ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_arraycopy_writebarrier_int _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_arraycopy_writebarrier_ptr _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_get_rpy_roots ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_get_rpy_referents __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_is_rpy_instance ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestGenerationalGC.test_try_cast_gcref_to_instance _____ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_get_rpy_memory_usage ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_get_rpy_type_index _________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_dump_rpy_heap ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_write_typeids_z ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestGenerationalGC.test_gcflag_extra ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestGenerationalGC.test_check_zero_works __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestGenerationalGC.test_long_chain_of_instances _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_many_ids ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestGenerationalGC.test_gc_set_max_heap_size ________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_gc_heap_stats ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestGenerationalGC.test_string_builder ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestGenerationalGC.test_string_builder_over_allocation ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestGenerationalGC.test_string_builder_multiple_builds ___ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestGenerationalGC.test_string_builder_multiple_builds_2 __ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestGenerationalGC.test_nursery_hash_base __________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestGenerationalGC.test_extra_item_after_alloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestGenerationalGC.test_rerased _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestGenerationalGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_finalizer_order ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818ed67bce580] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818edab0e7080] translation-task} [translation:info] RTyping... [c5818edab0f1a80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [rtyper] specializing: 100 / 1781 blocks (5%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [rtyper] specializing: 300 / 2983 blocks (10%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [rtyper] specializing: 600 / 3909 blocks (15%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [rtyper] specializing: 1000 / 4639 blocks (21%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [rtyper] specializing: 1300 / 4999 blocks (26%) [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 1700 / 5585 blocks (30%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2000 / 5590 blocks (35%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 2300 / 5603 blocks (41%) [rtyper] specializing: 2600 / 5603 blocks (46%) [rtyper] specializing: 2900 / 5603 blocks (51%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 3200 / 5607 blocks (57%) [rtyper] specializing: 3500 / 5607 blocks (62%) [rtyper] specializing: 3800 / 5607 blocks (67%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4100 / 5609 blocks (73%) [rtyper] specializing: 4400 / 5609 blocks (78%) [rtyper] specializing: 4700 / 5609 blocks (83%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 5000 / 5609 blocks (89%) [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818eec9285c80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818eec92a9880] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818eecaf9bd00] translation-task} [translation:info] Creating database for generating c source... [c5818eecafa5500] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818eecbe69f80] translation-task} ____ ERROR at setup of TestHybridGC.test_from_objwithfinalizer_to_youngobj _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_empty_collect _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_framework_simple _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_framework_safe_pushpop __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_framework_protect_getfield ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_framework_varsized ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_framework_using_lists ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_framework_static_roots __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGC.test_framework_nongc_static_root ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_framework_void_array ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGC.test_framework_malloc_failure _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGC.test_framework_array_of_void __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_framework_opaque _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_framework_finalizer ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______________ ERROR at setup of TestHybridGC.test_del_catches ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________________ ERROR at setup of TestHybridGC.test_del_raises ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______________ ERROR at setup of TestHybridGC.test_custom_trace _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_custom_light_finalizer __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_weakref __________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_prebuilt_weakref _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGC.test_prebuilt_dicts_of_all_sizes ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_framework_malloc_raw ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGC.test_framework_del_seeing_new_types ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGC.test_framework_late_filling_pointers ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_zero_raw_malloc ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_object_alignment _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________________ ERROR at setup of TestHybridGC.test_void_list _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_open_read_write_seek_close ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_callback_with_collect ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_can_move _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_resizable_buffer _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_hash_preservation _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_hash_overflow _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_hash_varsized _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_arraycopy_writebarrier_int ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_arraycopy_writebarrier_ptr ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_get_rpy_roots _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_get_rpy_referents _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_is_rpy_instance ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGC.test_try_cast_gcref_to_instance ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_get_rpy_memory_usage ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_get_rpy_type_index ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_dump_rpy_heap _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_write_typeids_z ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______________ ERROR at setup of TestHybridGC.test_gcflag_extra _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____________ ERROR at setup of TestHybridGC.test_check_zero_works _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGC.test_long_chain_of_instances __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_many_ids _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_gc_heap_stats _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______________ ERROR at setup of TestHybridGC.test_string_builder ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGC.test_string_builder_over_allocation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGC.test_string_builder_multiple_builds ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGC.test_string_builder_multiple_builds_2 _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridGC.test_nursery_hash_base _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGC.test_extra_item_after_alloc __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________________ ERROR at setup of TestHybridGC.test_rerased __________________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGC.test_gc_set_max_heap_size ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_finalizer_order _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818f0eb336680] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (?:2)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818f17d189700] translation-task} [translation:info] RTyping... [c5818f17d195880] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [rtyper] specializing: 100 / 1665 blocks (6%) [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [rtyper] specializing: 200 / 1688 blocks (11%) [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [rtyper] specializing: 700 / 4266 blocks (16%) [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [rtyper] specializing: 1200 / 5462 blocks (21%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [rtyper] specializing: 1400 / 5579 blocks (25%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 1700 / 5587 blocks (30%) [rtyper] specializing: 2000 / 5587 blocks (35%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 2300 / 5596 blocks (41%) [rtyper] specializing: 2600 / 5596 blocks (46%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2900 / 5601 blocks (51%) [rtyper] specializing: 3200 / 5601 blocks (57%) [rtyper] specializing: 3500 / 5601 blocks (62%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 3800 / 5605 blocks (67%) [rtyper] specializing: 4100 / 5605 blocks (73%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 4400 / 5605 blocks (78%) [rtyper] specializing: 4700 / 5605 blocks (83%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 5000 / 5609 blocks (89%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 5300 / 5609 blocks (94%) [rtyper] specializing: 5600 / 5609 blocks (99%) [rtyper] -=- specialized 5609 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818f365430880] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818f365453d80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818f366e97980] translation-task} [translation:info] Creating database for generating c source... [c5818f366ea0e00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818f367c9b780] translation-task} ERROR at setup of TestHybridGCRemoveTypePtr.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_empty_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_using_lists ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_nongc_static_root _ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_array_of_void ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_finalizer _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGCRemoveTypePtr.test_del_catches _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridGCRemoveTypePtr.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGCRemoveTypePtr.test_weakref ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_prebuilt_dicts_of_all_sizes _ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_zero_raw_malloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGCRemoveTypePtr.test_void_list __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_callback_with_collect ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGCRemoveTypePtr.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_hash_preservation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_hash_overflow ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_hash_varsized ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_roots ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_referents ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_is_rpy_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridGCRemoveTypePtr.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridGCRemoveTypePtr.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_dump_rpy_heap ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_write_typeids_z _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_long_chain_of_instances ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridGCRemoveTypePtr.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridGCRemoveTypePtr.test_gc_heap_stats ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridGCRemoveTypePtr.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridGCRemoveTypePtr.test_nursery_hash_base ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridGCRemoveTypePtr.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridGCRemoveTypePtr.test_rerased ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridGCRemoveTypePtr.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridGCRemoveTypePtr'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_finalizer_order _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818f5a9e26e80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (?:2)mallocstr [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818f5fe564280] translation-task} [translation:info] RTyping... [c5818f5fe570780] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [rtyper] specializing: 100 / 1598 blocks (6%) [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [rtyper] specializing: 300 / 2641 blocks (11%) [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [rtyper] specializing: 500 / 2915 blocks (17%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [rtyper] specializing: 1100 / 5000 blocks (22%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 1500 / 5649 blocks (26%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 1800 / 5649 blocks (31%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 2100 / 5651 blocks (37%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2400 / 5653 blocks (42%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2700 / 5664 blocks (47%) [rtyper] specializing: 3000 / 5664 blocks (52%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3300 / 5669 blocks (58%) [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 3600 / 5671 blocks (63%) [rtyper] specializing: 3900 / 5671 blocks (68%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 4200 / 5677 blocks (73%) [rtyper] specializing: 4500 / 5677 blocks (79%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 4800 / 5679 blocks (84%) [rtyper] specializing: 5100 / 5679 blocks (89%) [rtyper] specializing: 5400 / 5679 blocks (95%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] -=- specialized 5679 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] specializing: 5700 / 5711 blocks (99%) [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818f74110dd80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818f74112fc80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5818f742a08580] translation-task} [translation:info] Creating database for generating c source... [c5818f742a14500] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818f7437fc800] translation-task} ___ ERROR at setup of TestMiniMarkGC.test_from_objwithfinalizer_to_youngobj ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_empty_collect ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_framework_simple ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_framework_safe_pushpop _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_framework_protect_getfield _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_framework_varsized ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_framework_using_lists __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_framework_static_roots _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGC.test_framework_nongc_static_root _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_framework_void_array __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_failure ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGC.test_framework_array_of_void _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_framework_opaque ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_framework_finalizer ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestMiniMarkGC.test_del_catches _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______________ ERROR at setup of TestMiniMarkGC.test_del_raises _______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestMiniMarkGC.test_custom_trace ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_custom_light_finalizer _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_weakref _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_prebuilt_weakref ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGC.test_prebuilt_dicts_of_all_sizes _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_raw __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGC.test_framework_del_seeing_new_types _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGC.test_framework_late_filling_pointers _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_zero_raw_malloc _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_object_alignment ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______________ ERROR at setup of TestMiniMarkGC.test_void_list ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_open_read_write_seek_close _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_callback_with_collect __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_can_move ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_resizable_buffer ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_hash_preservation ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_hash_overflow ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_hash_varsized ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_int _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_ptr _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_get_rpy_roots ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_referents ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_is_rpy_instance _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGC.test_try_cast_gcref_to_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_get_rpy_memory_usage __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_type_index ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_dump_rpy_heap ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_write_typeids_z _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______________ ERROR at setup of TestMiniMarkGC.test_gcflag_extra ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____________ ERROR at setup of TestMiniMarkGC.test_check_zero_works ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGC.test_long_chain_of_instances _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_many_ids ________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_gc_set_max_heap_size __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_string_builder _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGC.test_string_builder_over_allocation _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds_2 ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGC.test_nursery_hash_base ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGC.test_extra_item_after_alloc _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________________ ERROR at setup of TestMiniMarkGC.test_rerased _________________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_gc_heap_stats ______________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGC.test_nongc_attached_to_gc __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGC.test_nongc_opaque_attached_to_gc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____________ ERROR at setup of TestMiniMarkGC.test_limited_memory _____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_finalizer_order _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818f9d6d87b80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1734)f_random_pin [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1884)f_collect_step [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:1717)f_total_memory_pressure [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1925)f_total_gc_time [flowgraph] (rpython.translator.c.test.test_newgc:1821)f_ignore_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:1882)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:1814)g [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (?:2)ll_arraycopy [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1703)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1700)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1707)B.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:1949)f_increase_root_stack_depth [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:1845)f_enable_disable [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory_linux [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.rlib.rgc:36)old_state [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.rgc:745)increase_root_stack_depth [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.translator.c.test.test_newgc:1843)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1811)finalizer_trigger [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rlib.rgc:39)new_state [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:1942)g [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rgc:712)may_ignore_finalizer [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.rgc:42)is_done [flowgraph] (rpython.rlib.rgc:51)is_done__states [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818fa5870fb80] translation-task} [translation:info] RTyping... [c5818fa5871ca80] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [rtyper] specializing: 300 / 4400 blocks (6%) [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [rtyper] specializing: 500 / 4467 blocks (11%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [rtyper] specializing: 800 / 4606 blocks (17%) [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [rtyper] specializing: 1100 / 4688 blocks (23%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [rtyper] specializing: 1600 / 5865 blocks (27%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 1900 / 5870 blocks (32%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 2200 / 5876 blocks (37%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 2500 / 5880 blocks (42%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [rtyper] specializing: 2800 / 5882 blocks (47%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 3100 / 5887 blocks (52%) [rtyper] specializing: 3400 / 5887 blocks (57%) [rtyper] specializing: 3700 / 5887 blocks (62%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 4000 / 5893 blocks (67%) [rtyper] specializing: 4300 / 5893 blocks (72%) [rtyper] specializing: 4600 / 5893 blocks (78%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 4900 / 5893 blocks (83%) [rtyper] specializing: 5200 / 5893 blocks (88%) [rtyper] specializing: 5500 / 5893 blocks (93%) [rtyper] specializing: 5800 / 5893 blocks (98%) [rtyper] -=- specialized 5893 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] specializing: 5900 / 5925 blocks (99%) [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5818fc0d545e00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5818fc0d569600] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 17 stack checks. [c5818fc0f184700] translation-task} [translation:info] Creating database for generating c source... [c5818fc0f18db80] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5818fc0fffa000] translation-task} ERROR at setup of TestIncrementalMiniMarkGC.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_empty_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_using_lists ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_nongc_static_root _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_array_of_void ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_finalizer _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_catches _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___________ ERROR at setup of TestIncrementalMiniMarkGC.test_weakref ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_dicts_of_all_sizes _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_zero_raw_malloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestIncrementalMiniMarkGC.test_void_list __________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_callback_with_collect ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestIncrementalMiniMarkGC.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_preservation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_overflow ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_varsized ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_roots ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_referents ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_is_rpy_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_dump_rpy_heap ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_write_typeids_z _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_long_chain_of_instances ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __________ ERROR at setup of TestIncrementalMiniMarkGC.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_nursery_hash_base ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGC.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___________ ERROR at setup of TestIncrementalMiniMarkGC.test_rerased ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_heap_stats ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_attached_to_gc _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_opaque_attached_to_gc _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_total_memory_pressure ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _________ ERROR at setup of TestIncrementalMiniMarkGC.test_random_pin __________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory_linux _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGC.test_ignore_finalizer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestIncrementalMiniMarkGC.test_enable_disable ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_collect_step _________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ________ ERROR at setup of TestIncrementalMiniMarkGC.test_total_gc_time ________ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGC.test_increase_root_stack_depth __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_finalizer_order ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c5818ff4ae34580] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:1997)f_tagged [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:2030)f_erased [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:1988)fn [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:2017)fn [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:2052)BoxedObject.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:2054)BoxedObject.meth [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rlib.objectmodel:766)UnboxedObject.__init__ [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:2059)UnboxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:2047)TaggedBase.meth [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [c5818ffd8d31e00] translation-task} [translation:info] RTyping... [c5818ffd8d3d980] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [rtyper] specializing: 100 / 1681 blocks (5%) [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [rtyper] specializing: 200 / 1707 blocks (11%) [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rtagged:155)ll_unboxed_getclass [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [rtyper] specializing: 500 / 3122 blocks (16%) [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.rlib.rerased:196)ll_unerase_int [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rlib.jit:1300)conditional_call [rtyper] specializing: 1100 / 5027 blocks (21%) [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [rtyper] specializing: 1500 / 5618 blocks (26%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 1800 / 5624 blocks (32%) [rtyper] specializing: 2100 / 5624 blocks (37%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 2400 / 5629 blocks (42%) [rtyper] specializing: 2700 / 5629 blocks (47%) [rtyper] specializing: 3000 / 5629 blocks (53%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 3300 / 5631 blocks (58%) [rtyper] specializing: 3600 / 5631 blocks (63%) [rtyper] specializing: 3900 / 5631 blocks (69%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [rtyper] specializing: 4200 / 5640 blocks (74%) [rtyper] specializing: 4500 / 5640 blocks (79%) [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 4800 / 5642 blocks (85%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 5100 / 5644 blocks (90%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 5400 / 5648 blocks (95%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] -=- specialized 5648 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c581901bb7cde80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c581901bb7f0180] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c581901bcea0100] translation-task} [translation:info] Creating database for generating c source... [c581901bcea9780] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] specializing: 5700 / 5715 blocks (99%) [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c581901bdbf6480] translation-task} ERROR at setup of TestHybridTaggedPointers.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_empty_collect _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_framework_using_lists _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridTaggedPointers.test_framework_nongc_static_root __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridTaggedPointers.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridTaggedPointers.test_framework_array_of_void ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_framework_finalizer ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridTaggedPointers.test_del_catches __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridTaggedPointers.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridTaggedPointers.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_weakref ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _ ERROR at setup of TestHybridTaggedPointers.test_prebuilt_dicts_of_all_sizes __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_zero_raw_malloc ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __________ ERROR at setup of TestHybridTaggedPointers.test_void_list ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_callback_with_collect _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_hash_preservation _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_hash_overflow _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_hash_varsized _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_roots _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_referents _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_is_rpy_instance ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError __ ERROR at setup of TestHybridTaggedPointers.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_dump_rpy_heap _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_write_typeids_z ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _________ ERROR at setup of TestHybridTaggedPointers.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestHybridTaggedPointers.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___ ERROR at setup of TestHybridTaggedPointers.test_long_chain_of_instances ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_gc_heap_stats _________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ________ ERROR at setup of TestHybridTaggedPointers.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ERROR at setup of TestHybridTaggedPointers.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ______ ERROR at setup of TestHybridTaggedPointers.test_nursery_hash_base _______ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____ ERROR at setup of TestHybridTaggedPointers.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ___________ ERROR at setup of TestHybridTaggedPointers.test_rerased ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _____ ERROR at setup of TestHybridTaggedPointers.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridTaggedPointers.test_tagged ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError ____________ ERROR at setup of TestHybridTaggedPointers.test_erased ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestHybridTaggedPointers'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) memory/gc/hybrid.py:3: in <module> from rpython.memory.gc.generation import GenerationGC, WORD _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import sys from rpython.memory.gc.semispace import SemiSpaceGC from rpython.memory.gc.semispace import GCFLAG_EXTERNAL, GCFLAG_FORWARDED from rpython.memory.gc.semispace import GC_HASH_TAKEN_ADDR > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/generation.py:5: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_finalizer_order _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c58190416082c80] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:2030)f_erased [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:1997)f_tagged [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:2017)fn [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:1988)fn [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:2052)BoxedObject.__init__ [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:2054)BoxedObject.meth [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (?:2)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.rlib.objectmodel:766)UnboxedObject.__init__ [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.translator.c.test.test_newgc:2059)UnboxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:2047)TaggedBase.meth [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c581904a8385300] translation-task} [translation:info] RTyping... [c581904a8390080] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [rtyper] specializing: 200 / 3044 blocks (6%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [rtyper] specializing: 400 / 3117 blocks (12%) [flowgraph] (rpython.rlib.rerased:196)ll_unerase_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rtagged:155)ll_unboxed_getclass [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [rtyper] specializing: 700 / 3648 blocks (19%) [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [rtyper] specializing: 1100 / 4342 blocks (25%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [rtyper] specializing: 1500 / 5688 blocks (26%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 1800 / 5695 blocks (31%) [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 2100 / 5701 blocks (36%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 2400 / 5703 blocks (42%) [rtyper] specializing: 2700 / 5703 blocks (47%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [rtyper] specializing: 3000 / 5705 blocks (52%) [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [rtyper] specializing: 3300 / 5710 blocks (57%) [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 3600 / 5716 blocks (62%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 3900 / 5718 blocks (68%) [rtyper] specializing: 4200 / 5718 blocks (73%) [rtyper] specializing: 4500 / 5718 blocks (78%) [rtyper] specializing: 4800 / 5718 blocks (83%) [rtyper] specializing: 5100 / 5718 blocks (89%) [rtyper] specializing: 5400 / 5718 blocks (94%) [rtyper] specializing: 5700 / 5718 blocks (99%) [rtyper] -=- specialized 5718 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c5819069ba10a00] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c5819069ba33300] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 16 stack checks. [c5819069d333b00] translation-task} [translation:info] Creating database for generating c source... [c5819069d33df00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c5819069e114700] translation-task} ERROR at setup of TestMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_empty_collect ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_simple _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_safe_pushpop ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_protect_getfield __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_varsized ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_using_lists ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_static_roots ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_nongc_static_root _ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_void_array _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_failure ___ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_array_of_void ___ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_opaque _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_finalizer _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_catches _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_raises __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_trace _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_light_finalizer ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_weakref ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_weakref _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes _ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_raw _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_zero_raw_malloc _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_object_alignment _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGCMostCompact.test_void_list __________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_open_read_write_seek_close __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_callback_with_collect ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGCMostCompact.test_can_move ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_resizable_buffer _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_preservation ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_overflow ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_varsized ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_int __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_roots ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_referents ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_is_rpy_instance _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_try_cast_gcref_to_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_memory_usage _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_type_index ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_dump_rpy_heap ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_write_typeids_z _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_gcflag_extra _________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_check_zero_works _______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_long_chain_of_instances ___ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError __________ ERROR at setup of TestMiniMarkGCMostCompact.test_many_ids ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_set_max_heap_size _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ______ ERROR at setup of TestMiniMarkGCMostCompact.test_nursery_hash_base ______ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___ ERROR at setup of TestMiniMarkGCMostCompact.test_extra_item_after_alloc ____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_rerased ___________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ________ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_heap_stats ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ____ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_attached_to_gc _____ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc _ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _______ ERROR at setup of TestMiniMarkGCMostCompact.test_limited_memory ________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_tagged ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError ___________ ERROR at setup of TestMiniMarkGCMostCompact.test_erased ____________ cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? import sys from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/minimark.py:55: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_finalizer_order __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ---------------------------- Captured stderr setup ----------------------------- [flowgraph] (rpython.translator.c.test.test_newgc:34)main [translation:info] Annotating&simplifying... [c58190982e5d780] {translation-task starting annotate [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy [flowgraph] (rpython.translator.c.test.test_newgc:99)allfuncs [flowgraph] (rpython.translator.c.test.test_newgc:302)f_framework_nongc_static_root [flowgraph] (rpython.translator.c.test.test_newgc:363)f_framework_opaque [flowgraph] (rpython.translator.c.test.test_newgc:1123)f_get_rpy_type_index [flowgraph] (rpython.translator.c.test.test_newgc:218)f_framework_protect_getfield [flowgraph] (rpython.translator.c.test.test_newgc:788)f_resizable_buffer [flowgraph] (rpython.translator.c.test.test_newgc:192)f_framework_safe_pushpop [flowgraph] (rpython.translator.c.test.test_newgc:1357)f_gc_set_max_heap_size [flowgraph] (rpython.translator.c.test.test_newgc:160)f_framework_simple [flowgraph] (rpython.translator.c.test.test_newgc:668)f_object_alignment [flowgraph] (rpython.translator.c.test.test_newgc:288)f_framework_static_roots [flowgraph] (rpython.translator.c.test.test_newgc:262)f_framework_using_lists [flowgraph] (rpython.translator.c.test.test_newgc:511)f_weakref [flowgraph] (rpython.translator.c.test.test_newgc:236)f_framework_varsized [flowgraph] (rpython.translator.c.test.test_newgc:907)f_hash_overflow [flowgraph] (rpython.translator.c.test.test_newgc:648)f_zero_raw_malloc [flowgraph] (rpython.memory.test.snippet:190)f_from_objwithfinalizer_to_youngobj [flowgraph] (rpython.translator.c.test.test_newgc:701)f_open_read_write_seek_close [flowgraph] (rpython.translator.c.test.test_newgc:1382)f_gc_heap_stats [flowgraph] (rpython.translator.c.test.test_newgc:1612)f_nongc_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:745)f_callback_with_collect [flowgraph] (rpython.translator.c.test.test_newgc:1556)f_rerased [flowgraph] (rpython.translator.c.test.test_newgc:1239)f_gcflag_extra [flowgraph] (rpython.translator.c.test.test_newgc:1325)f_many_ids [flowgraph] (rpython.translator.c.test.test_newgc:1204)f_write_typeids_z [flowgraph] (rpython.translator.c.test.test_newgc:1098)f_get_rpy_memory_usage [flowgraph] (rpython.translator.c.test.test_newgc:1997)f_tagged [flowgraph] (rpython.translator.c.test.test_newgc:824)f_hash_preservation [flowgraph] (rpython.translator.c.test.test_newgc:1010)f_get_rpy_referents [flowgraph] (rpython.translator.c.test.test_newgc:939)f_arraycopy_writebarrier_int [flowgraph] (rpython.translator.c.test.test_newgc:584)f_prebuilt_dicts_of_all_sizes [flowgraph] (rpython.translator.c.test.test_newgc:1158)f_dump_rpy_heap [flowgraph] (rpython.translator.c.test.test_newgc:690)f_void_list [flowgraph] (rpython.translator.c.test.test_newgc:960)f_arraycopy_writebarrier_ptr [flowgraph] (rpython.translator.c.test.test_newgc:318)f_framework_void_array [flowgraph] (rpython.translator.c.test.test_newgc:778)f_can_move [flowgraph] (rpython.translator.c.test.test_newgc:1060)f_try_cast_gcref_to_instance [flowgraph] (rpython.translator.c.test.test_newgc:1272)f_check_zero_works [flowgraph] (rpython.translator.c.test.test_newgc:927)f_hash_varsized [flowgraph] (rpython.translator.c.test.test_newgc:1821)f_ignore_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1717)f_total_memory_pressure [flowgraph] (rpython.translator.c.test.test_newgc:438)f_del_raises [flowgraph] (rpython.translator.c.test.test_newgc:549)f_prebuilt_weakref [flowgraph] (rpython.translator.c.test.test_newgc:1298)f_long_chain_of_instances [flowgraph] (rpython.translator.c.test.test_newgc:1925)f_total_gc_time [flowgraph] (rpython.translator.c.test.test_newgc:141)f_empty_collect [flowgraph] (rpython.translator.c.test.test_newgc:1644)f_nongc_opaque_attached_to_gc [flowgraph] (rpython.translator.c.test.test_newgc:2030)f_erased [flowgraph] (rpython.translator.c.test.test_newgc:1532)f_extra_item_after_alloc [flowgraph] (rpython.translator.c.test.test_newgc:1884)f_collect_step [flowgraph] (rpython.translator.c.test.test_newgc:336)f_framework_array_of_void [flowgraph] (rpython.translator.c.test.test_newgc:622)f_framework_del_seeing_new_types [flowgraph] (rpython.translator.c.test.test_newgc:991)f_get_rpy_roots [flowgraph] (rpython.translator.c.test.test_newgc:388)f_framework_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1734)f_random_pin [flowgraph] (rpython.translator.c.test.test_newgc:635)f_framework_late_filling_pointers [flowgraph] (rpython.translator.c.test.test_newgc:1478)f_nursery_hash_base [flowgraph] (rpython.translator.c.test.test_newgc:327)f_framework_malloc_failure [flowgraph] (rpython.translator.c.test.test_newgc:603)f_framework_malloc_raw [flowgraph] (rpython.translator.c.test.test_newgc:1035)f_is_rpy_instance [flowgraph] (?:2)ll_shrink_array [flowgraph] (rpython.translator.c.test.test_newgc:1031)check [flowgraph] (rpython.translator.c.test.test_newgc:1525)check [flowgraph] (rpython.translator.c.test.test_newgc:353)gethidden [flowgraph] (rpython.memory.test.snippet:177)g [flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:468)ll_shrink_array [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:421)f_del_catches [flowgraph] (rpython.translator.c.test.test_newgc:469)f_custom_trace [flowgraph] (rpython.translator.c.test.test_newgc:1949)f_increase_root_stack_depth [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory_linux [flowgraph] (rpython.translator.c.test.test_newgc:1845)f_enable_disable [flowgraph] (rpython.translator.c.test.test_newgc:1672)f_limited_memory [flowgraph] (rpython.translator.c.test.test_newgc:494)f_custom_light_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1882)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:285)make [flowgraph] (rpython.rlib.clibffi:291)get_libc_name [flowgraph] (rpython.translator.c.test.test_newgc:436)B.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:490)setup [flowgraph] (rpython.rlib.rgc:745)increase_root_stack_depth [flowgraph] (rpython.translator.c.test.test_newgc:1843)X.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1814)g [flowgraph] (rpython.translator.c.test.test_newgc:455)setup [flowgraph] (rpython.translator.c.test.test_newgc:2017)fn [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:386)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:383)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:980)g [flowgraph] (rpython.translator.c.test.test_newgc:183)make [flowgraph] (rpython.translator.c.test.test_newgc:155)make [flowgraph] (rpython.translator.c.test.test_newgc:415)f [flowgraph] (rpython.rlib.rposix:461)open [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:1666)g [flowgraph] (rpython.translator.c.test.test_newgc:1988)fn [flowgraph] (rpython.translator.c.test.test_newgc:281)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1355)g [flowgraph] (rpython.translator.c.test.test_newgc:688)E.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:620)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:207)prepare [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.translator.c.test.test_newgc:1703)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1700)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1707)B.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1609)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1606)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:151)g [flowgraph] (rpython.translator.c.test.test_newgc:1441)f_string_builder_multiple_builds [flowgraph] (rpython.translator.c.test.test_newgc:1423)f_string_builder_over_allocation [flowgraph] (rpython.memory.test.snippet:92)f_finalizer_order [flowgraph] (rpython.translator.c.test.test_newgc:1457)f_string_builder_multiple_builds_2 [flowgraph] (rpython.translator.c.test.test_newgc:1409)f_string_builder [flowgraph] (rpython.translator.c.test.test_newgc:407)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:412)f1 [flowgraph] (rpython.rlib.rposix:385)_as_bytes0 [flowgraph] (rpython.translator.c.test.test_newgc:175)g [flowgraph] (rpython.rlib.rposix:371)_as_bytes [flowgraph] (rpython.rlib.rgc:36)old_state [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rposix:500)write [flowgraph] (rpython.translator.c.test.test_newgc:2052)BoxedObject.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:404)g [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rerased:128)try_cast_erased [flowgraph] (rpython.memory.test.snippet:83)build_example [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.rlib.rgc:1583)ll_write_final_null_char [flowgraph] (rpython.memory.test.snippet:169)finalizer_trigger [flowgraph] (rpython.translator.c.test.test_newgc:570)keq [flowgraph] (rpython.translator.c.test.test_newgc:572)khash [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.translator.c.test.test_newgc:1664)A.__init__ [flowgraph] (rpython.translator.c.test.test_newgc:1641)A.__del__ [flowgraph] (rpython.translator.c.test.test_newgc:1635)A.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__ [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.translator.c.test.test_newgc:2054)BoxedObject.meth [flowgraph] (rpython.translator.c.test.test_newgc:1811)finalizer_trigger [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.rclass:1143)ll_isinstance [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_get_digestbyname [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.memory.test.snippet:64)A.__init__ [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:588)register_finalizer [flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null [flowgraph] (rpython.memory.test.snippet:71)finalizer_trigger [flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.clibffi:704)CDLL.__del__ [flowgraph] (rpython.rlib.clibffi:699)CDLL.__init__ [flowgraph] (rpython.rlib.clibffi:675)RawCDLL.getpointer [flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)open [flowgraph] (rpython.translator.c.test.test_newgc:463)measure_length [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rlib.rgc:39)new_state [flowgraph] (rpython.translator.c.test.test_newgc:1942)g [flowgraph] (rpython.translator.c.test.test_newgc:212)g [flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end [flowgraph] (rpython.rlib.clibffi:672)RawCDLL.__init__ [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.translator.c.test.test_newgc:358)reveal [flowgraph] (rpython.translator.c.test.test_newgc:360)overwrite [flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw [flowgraph] (?:2)mallocstr [flowgraph] (rpython.memory.test.snippet:53)age_of [flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr [flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf [flowgraph] (rpython.memory.test.snippet:136)error [flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rlib.rdynload:211)dlsym [flowgraph] (rpython.rlib.rdynload:175)dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlsym [flowgraph] (rpython.rlib.rdynload:167)_dlopen_default_mode [flowgraph] (rpython.rlib.objectmodel:766)UnboxedObject.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlclose [flowgraph] (rpython.memory.test.snippet:55)set_age_of [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlsym [flowgraph] (rpython.rlib.rgil:160)release [flowgraph] (rpython.rlib.rgil:171)acquire [flowgraph] (rpython.rlib.rgc:712)may_ignore_finalizer [flowgraph] (rpython.rlib.rthread:282)gc_thread_run [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_get_digestbyname [flowgraph] (rpython.rtyper.lltypesystem.rffi:1382)scoped_str2charp.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1388)scoped_str2charp.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:817)str2charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_open [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rthread:349)getraw [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rlib.rthread:364)setraw [flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_new [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_MD_CTX_new [flowgraph] (rpython.translator.c.test.test_newgc:2047)TaggedBase.meth [flowgraph] (rpython.translator.c.test.test_newgc:2059)UnboxedObject.meth [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_DigestInit [flowgraph] (rpython.rlib.rgc:42)is_done [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write [flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__ [flowgraph] (rpython.rlib.rgc:51)is_done__states [flowgraph] (rpython.rtyper.lltypesystem.rffi:1390)scoped_str2charp.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlopen [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.lltypesystem.rffi:831)free_charp [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_EVP_DigestInit [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlopen [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)EVP_MD_CTX_free [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rgc:571)next_dead [flowgraph] (rpython.rlib.rgc:935)try_cast_gcref_to_instance [flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance [flowgraph] (rpython.rlib.rgc:924)cast_instance_to_gcref [flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr [flowgraph] (rpython.rlib.rdynload:85)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_dlerror [flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str [flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str [flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string [flowgraph] (rpython.rlib.rdynload:125)_retry_as_ldscript [flowgraph] (rpython.rlib.rdynload:66)DLOpenError.__init__ [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:516)AbstractFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:658)FuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:588)FuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:480)AbstractFuncPtr.__init__ [flowgraph] (rpython.rlib.rarithmetic:139)widen [flowgraph] (rpython.rlib.clibffi:466)get_call_conv [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_cif [flowgraph] (rpython.rlib.rposix:113)get_saved_errno [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_cif [flowgraph] (rpython.rlib.clibffi:553)CallbackFuncPtr.__del__ [flowgraph] (rpython.rlib.clibffi:532)CallbackFuncPtr.__init__ [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.translator.c.test.test_newgc:729)callback [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_prep_closure_loc [flowgraph] (?:6)wrapper [flowgraph] (rpython.rlib.rgil:183)acquire_maybe_in_new_thread [flowgraph] (rpython.rlib.rthread:124)get_or_make_ident [flowgraph] (rpython.rlib.rthread:356)get_or_make_raw [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_prep_closure_loc [flowgraph] (rpython.rlib.clibffi:446)ll_callback [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (?:1)callback_with_jitdriver [flowgraph] (rpython.rlib.jit:442)get_printable_location [flowgraph] (rpython.rlib.clibffi:433)_ll_callback [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.clibffi:610)FuncPtr.push_arg [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:389)push_arg_as_ffiptr [flowgraph] (rpython.rlib.rposix:508)close [flowgraph] (rpython.rlib.rposix:490)read [flowgraph] (rpython.rlib.rposix:268)SuppressIPH.__init__ [flowgraph] (rpython.rlib.rposix:271)SuppressIPH.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1469)scoped_alloc_buffer.__init__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1471)scoped_alloc_buffer.__enter__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:953)alloc_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)close [flowgraph] (rpython.translator.c.test.test_newgc:887)h [flowgraph] (rpython.rlib.rposix:274)SuppressIPH.__exit__ [flowgraph] (rpython.translator.c.test.test_newgc:854)g [flowgraph] (rpython.rtyper.lltypesystem.rffi:2)ccall_close [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.translator.c.test.test_newgc:865)build [flowgraph] (rpython.translator.c.test.test_newgc:875)check [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)read [flowgraph] (rpython.rtyper.lltypesystem.rffi:1474)scoped_alloc_buffer.__exit__ [flowgraph] (rpython.rtyper.lltypesystem.rffi:1008)keep_buffer_alive_until_here [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_read [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.rposix:518)lseek [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)lseek [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_lseek [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rtyper.lltypesystem.rffi:1476)scoped_alloc_buffer.str [flowgraph] (?:2)str_from_buffer [flowgraph] (rpython.rtyper.lltypesystem.rffi:988)str_from_buffer [flowgraph] (rpython.rlib.rposix:430)handle_posix_error [flowgraph] (rpython.rlib.clibffi:550)CallbackFuncPtr.get_closure [flowgraph] (rpython.rlib.clibffi:638)FuncPtr.call [flowgraph] (rpython.rlib.clibffi:631)FuncPtr._check_args [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)ffi_call [flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_ffi_call [flowgraph] (rpython.rlib.rposix:151)_errno_before [flowgraph] (rpython.rlib.rposix:170)_errno_after [flowgraph] (rpython.rlib.clibffi:635)FuncPtr._clean_args [flowgraph] (rpython.rlib.clibffi:263)check_fficall_result [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_has_final_null_char_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo_offsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__should_widen_type_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__make_wrapper_for_0 [flowgraph] (?:1)memo_CArray_0 [flowgraph] (?:1)memo_sizeof_0 [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [c581909f3664980] translation-task} [translation:info] RTyping... [c581909f366e400] {translation-task starting rtype_lltype [flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:11)ll_join_chars_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_chars_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars [flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.rlist:912)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_listdelslice_startonly_trampoline [flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen [flowgraph] (rpython.rtyper.rclass:870)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat [flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents [flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (?:1)memo_conststr_0 [flowgraph] (rpython.rtyper.rstr:425)ll_str [flowgraph] (?:1)memo_ll_constant_0 [flowgraph] (?:11)ll_join_strs_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda> [flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_join_strs_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rstr:708)ll_find [flowgraph] (rpython.rtyper.lltypesystem.rstr:773)ll_search [flowgraph] (rpython.rtyper.lltypesystem.rstr:669)ll_find_char [flowgraph] (rpython.rlib.rstring:481)_search [flowgraph] (rpython.rlib.rstring:492)_search_normal [flowgraph] (rpython.rlib.rstring:487)_search_elidable [flowgraph] (rpython.rlib.rstring:473)bloom_add [flowgraph] (rpython.rlib.rstring:477)bloom [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.lltypesystem.rlist:484)ll_listnext_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rint:502)ll_int_py_mod_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.rint:149)ll_str [flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec [flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (rpython.rtyper.rlist:528)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline [flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:640)ll_keyhash_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:625)ll_hash_from_cache [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:644)ll_keyeq_custom [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.rgc:508)ll_arrayclear [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo__ll_ptr_to_array_of_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (?:1)memo__sizeof_none_0 [rtyper] specializing: 200 / 2815 blocks (7%) [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:394)ll_strhash [flowgraph] (rpython.rlib.jit:1321)conditional_call_elidable [flowgraph] (rpython.rtyper.lltypesystem.rstr:402)_ll_strhash [flowgraph] (rpython.rlib.objectmodel:620)ll_hash_string [flowgraph] (rpython.rlib.objectmodel:595)_hash_string [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rstr:420)ll_strfasthash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rstr:601)ll_streq [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rstr:333)ll_char_mul [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.rstr:554)ll_str [flowgraph] (rpython.rtyper.lltypesystem.rstr:362)ll_chr2str [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:445)ll_new [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rlib.rerased:196)ll_unerase_int [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:572)ll_len [flowgraph] (rpython.rtyper.rlist:588)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length [flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda> [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_list_resize_hint_really_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really [flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items [flowgraph] (?:1)memo__ll_prebuilt_empty_array_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (?:11)_ll_dictnext_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)_ll_dictnext_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1225)_ll_dictnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.rint:619)ll_hash_int [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set [flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit [flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist [flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit [flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null [flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear [flowgraph] (?:1)memo__null_of_type_0 [flowgraph] (rpython.rtyper.lltypesystem.rlist:357)ll_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash [flowgraph] (rpython.translator.c.test.test_newgc:486)customlightfinlz [rtyper] specializing: 500 / 4080 blocks (12%) [flowgraph] (rpython.rtyper.rlist:580)ll_len_foldable [flowgraph] (rpython.rtyper.lltypesystem.rlist:395)ll_fixed_length [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rlist:372)ll_getitem_fast [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:599)ll_valid_from_flag [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:539)ll_join [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (?:1)memo_emptystrfun_0 [flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs [flowgraph] (rpython.rtyper.lltypesystem.rlist:470)ll_listiter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter [flowgraph] (rpython.rtyper.lltypesystem.rstr:1058)ll_int [flowgraph] (rpython.rtyper.lltypesystem.rlist:493)ll_getnextindex [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:178)ll_append_char [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (?:2)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:94)ll_grow_by [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:155)ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:80)_ll_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:163)ll_jit_append [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:233)ll_jit_try_append_slice [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:117)ll_grow_and_append [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:171)ll_append_res0 [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_2 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_5 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_3 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_10 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_6 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_8 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:223)ll_append_start_7 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_9 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:218)ll_append_0_4 [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:189)ll_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:197)ll_jit_append_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:205)ll_append_res_slice [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:275)ll_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:299)ll_jit_try_append_multiple_char [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:282)_ll_append_multiple_char [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:11)ll_build_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:374)ll_fold_pieces [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:365)ll_shrink_final [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:346)ll_getlength [flowgraph] (?:2)ll_build_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rbuilder:355)ll_build [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:407)ll_fixed_setitem_fast [rtyper] specializing: 900 / 4980 blocks (18%) [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:476)ll_listnext [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:999)ll_listcontains [flowgraph] (rpython.rtyper.lltypesystem.rstr:860)ll_stringslice_startstop [flowgraph] (rpython.rtyper.lltypesystem.rstr:840)_ll_stringslice [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem [flowgraph] (rpython.rtyper.rstr:936)ll_char_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash [flowgraph] (?:11)ll_call_lookup_function_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (?:11)ll_dict_lookup_look_inside_iff [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda> [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:607)ll_valid_from_value [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_call_lookup_function_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_lookup_trampoline [flowgraph] (?:2)ll_dict_create_initial_index_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index [flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize [flowgraph] (?:11)ll_dict_grow_look_inside_iff [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda> [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (?:2)ll_arraycopy [flowgraph] (rpython.rlib.rgc:362)ll_arraycopy [flowgraph] (rpython.rlib.rgc:342)copy_item [flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof [flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline [flowgraph] (?:2)ll_dict_grow_trampoline [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function [flowgraph] (?:1)memo__contains_gcptr_0 [flowgraph] (?:1)memo_itemoffsetof_0 [flowgraph] (?:1)memo__sizeof_none_0 [flowgraph] (rpython.rtyper.rlist:633)ll_pop_default [flowgraph] (rpython.rtyper.rlist:539)ll_null_item [flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:269)isconstant [flowgraph] (rpython.rlib.jit:1300)conditional_call [flowgraph] (rpython.rtyper.rlist:688)ll_getitem_nonneg [flowgraph] (rpython.rtyper.rlist:721)ll_getitem_foldable_nonneg [flowgraph] (rpython.rtyper.lltypesystem.rlist:402)ll_fixed_getitem_fast [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg [flowgraph] (?:11)ll_listeq_look_inside_iff [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.rlist:970)listeq_unroll_case [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (rpython.rlib.jit:281)isvirtual [flowgraph] (?:2)ll_listeq_trampoline [flowgraph] (rpython.rtyper.rlist:977)ll_listeq [flowgraph] (rpython.rtyper.lltypesystem.rlist:391)ll_fixed_newemptylist [flowgraph] (rpython.rtyper.lltypesystem.rlist:384)ll_fixed_newlist [flowgraph] (rpython.rtyper.lltypesystem.rtagged:155)ll_unboxed_getclass [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1218)ll_dictiter [flowgraph] (rpython.rtyper.rlist:735)ll_setitem [flowgraph] (rpython.rtyper.lltypesystem.rstr:354)ll_stritem_nonneg [rtyper] specializing: 1400 / 5842 blocks (23%) [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rtyper.rnone:42)ll_none_hash [flowgraph] (rpython.rtyper.rtuple:62)ll_hash [flowgraph] (rpython.rlib.objectmodel:623)_hash_float [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:655)ll_dict_getitem [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:658)ll_dict_getitem_with_hash [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.rlist:697)ll_getitem [flowgraph] (rpython.rtyper.rlist:717)ll_getitem_fast [flowgraph] (rpython.rtyper.rclass:1083)ll_inst_hash [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict [flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index [flowgraph] (?:1)memo__ll_empty_array_0 [flowgraph] (rpython.rtyper.lltypesystem.rstr:919)ll_split [flowgraph] (rpython.rtyper.lltypesystem.rlist:399)ll_fixed_items [flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr [flowgraph] (rpython.rtyper.rstr:955)ll_stritem [rtyper] specializing: 1700 / 5908 blocks (28%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div [flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange [flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter [rtyper] specializing: 2000 / 5916 blocks (33%) [flowgraph] (rpython.rtyper.rrange:179)ll_rangenext_down [flowgraph] (rpython.rtyper.rint:398)ll_int_py_div [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:98)ll_math_isinf [rtyper] specializing: 2300 / 5926 blocks (38%) [rtyper] specializing: 2600 / 5926 blocks (43%) [rtyper] specializing: 2900 / 5926 blocks (48%) [flowgraph] (rpython.rtyper.rbuiltin:240)ll_min [rtyper] specializing: 3200 / 5928 blocks (53%) [flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod [rtyper] specializing: 3500 / 5930 blocks (59%) [rtyper] specializing: 3800 / 5930 blocks (64%) [rtyper] specializing: 4100 / 5930 blocks (69%) [rtyper] specializing: 4400 / 5930 blocks (74%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:158)ll_math_frexp [flowgraph] (rpython.rlib.jit:1267)ll_record_exact_value [rtyper] specializing: 4700 / 5932 blocks (79%) [rtyper] specializing: 5000 / 5932 blocks (84%) [rtyper] specializing: 5300 / 5932 blocks (89%) [flowgraph] (rpython.rtyper.lltypesystem.module.ll_math:106)ll_math_isfinite [rtyper] specializing: 5600 / 5932 blocks (94%) [rtyper] specializing: 5900 / 5932 blocks (99%) [rtyper] -=- specialized 5932 blocks -=- [flowgraph] (rpython.rlib.objectmodel:397)revdb_flag_io_disabled [flowgraph] (rpython.rtyper.lltypesystem.rffi:278)frexp [flowgraph] (?:1)memo__isfunctype_0 [flowgraph] (?:1)memo__isfunctype_0 [rtyper] -=- specialized 32 more blocks -=- [rtyper] -=- specialized 0 more blocks -=- [flowgraph] (rpython.rtyper.rclass:1130)ll_type [rtyper] -=- specialized 2 more blocks -=- [c58190b4fc84c80] translation-task} [translation:info] usession directory: /tmp/pytest/usession-main-18180 [translation:info] already done: Annotating&simplifying [translation:info] already done: RTyping [translation:info] inserting stack checks... [c58190b4fca6b80] {translation-task starting stackcheckinsertion_lltype [flowgraph] (rpython.rlib.rstack:42)stack_check [flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath [rtyper] -=- specialized 8 more blocks -=- [translation:info] inserted 17 stack checks. [c58190b51501580] translation-task} [translation:info] Creating database for generating c source... [c58190b5150ac00] {translation-task starting database_c [flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred [flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type [flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value [flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear [flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise [flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise [flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception [flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception [flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr [flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr [flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type [rtyper] -=- specialized 25 more blocks -=- [flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize [flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero [flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length [flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize [flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero [c58190b5228ac80] translation-task} ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_empty_collect ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_simple _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_safe_pushpop cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_protect_getfield cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_varsized cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_using_lists cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_static_roots cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_nongc_static_root cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_void_array cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_failure cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_array_of_void cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_opaque _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_finalizer cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_catches ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_raises ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_trace ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_light_finalizer cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_weakref ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_weakref _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_raw cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_del_seeing_new_types cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_late_filling_pointers cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_zero_raw_malloc __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_object_alignment _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_void_list _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_open_read_write_seek_close cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_callback_with_collect cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_can_move _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_resizable_buffer _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_preservation _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_overflow ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_varsized ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_int cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_roots ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_referents _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_is_rpy_instance __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_try_cast_gcref_to_instance cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_memory_usage cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_type_index cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_dump_rpy_heap ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_write_typeids_z __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gcflag_extra ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_check_zero_works _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_long_chain_of_instances cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_many_ids _____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_set_max_heap_size cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_over_allocation cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds_2 cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nursery_hash_base _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_extra_item_after_alloc cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_rerased ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_heap_stats ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_attached_to_gc cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_memory_pressure cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_random_pin ____ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory_linux cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError _ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_ignore_finalizer _ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_enable_disable __ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_collect_step ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError __ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_gc_time ___ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_increase_root_stack_depth cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_tagged ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ______ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_erased ______ cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'> def setup_class(cls): funcs0 = [] funcs1 = [] funcsstr = [] name_to_func = {} for fullname in dir(cls): if not fullname.startswith('define'): continue keyword = option.keyword if keyword.startswith('test_') and not keyword.endswith(':'): keyword = keyword[len('test_'):] if keyword not in fullname: continue prefix, name = fullname.split('_', 1) definefunc = getattr(cls, fullname) func = definefunc.im_func(cls) func.__name__ = 'f_' + name if prefix == 'definestr': funcsstr.append(func) funcs0.append(None) funcs1.append(None) else: numargs = len(inspect.getargspec(func)[0]) funcsstr.append(None) if numargs == 0: funcs0.append(func) funcs1.append(None) else: assert numargs == 1 funcs0.append(None) funcs1.append(func) assert name not in name_to_func name_to_func[name] = len(name_to_func) assert name_to_func def allfuncs(name, arg): num = name_to_func[name] func0 = funcs0[num] if func0: return str(func0()) func1 = funcs1[num] if func1: return str(func1(arg)) funcstr = funcsstr[num] if funcstr: return funcstr(arg) assert 0, 'unreachable' cls.funcsstr = funcsstr > cls.c_allfuncs = staticmethod(cls._makefunc_str_int(allfuncs)) translator/c/test/test_newgc.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ translator/c/test/test_newgc.py:53: in _makefunc_str_int exename = t.compile() translator/interactive.py:117: in compile getattr(self.driver, 'compile_' + backend)() translator/driver.py:108: in proc return self.proceed(backend_goal) translator/driver.py:568: in proceed result = self._execute(goals, task_skip = self._maybe_skip()) translator/tool/taskengine.py:114: in _execute res = self._do(goal, taskcallable, *args, **kwds) translator/driver.py:278: in _do res = func() translator/driver.py:435: in task_database_c database = cbuilder.build_database() translator/c/genc.py:102: in build_database self.config.translation.reverse_debugger) translator/c/database.py:64: in __init__ self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks) translator/c/gc.py:452: in gettransformer return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks) memory/gctransform/framework.py:132: in __init__ GCClass, GC_PARAMS = choose_gc_from_config(translator.config) memory/gc/base.py:593: in choose_gc_from_config globals(), locals(), [classname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ # XXX Should find a way to bound the major collection threshold by the # XXX total addressable size. Maybe by keeping some minimarkpage arenas # XXX pre-reserved, enough for a few nursery collections? What about # XXX raw-malloced memory? # XXX try merging old_objects_pointing_to_pinned into # XXX old_objects_pointing_to_young (IRC 2014-10-22, fijal and gregor_w) import sys import os import time from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage from rpython.memory.gc.base import GCBase, MovingGCBase > from rpython.memory.gc import env E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423 E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details memory/gc/incminimark.py:70: SyntaxError ========================= 556 error in 360.58 seconds ========================== __ translator/c/test/test_typed.py [322 done in total, somefailed=False] ______ [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1 hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples') pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini plugins: hypothesis-4.39.3 collected 76 items translator/c/test/test_typed.py ............................................................................ ========================= 76 passed in 259.09 seconds ========================== program finished with exit code 1 elapsedTime=2793.519954