[pypy-dev] hildesheim2 day 2 + 3 report / status
Ben.Young at risk.sungard.com
Ben.Young at risk.sungard.com
Thu Jul 28 12:27:55 CEST 2005
holger krekel <hpk at trillke.net> wrote on 28/07/2005 11:05:56:
> Hi Ben!
>
> On Thu, Jul 28, 2005 at 10:02 +0100, Ben.Young at risk.sungard.com wrote:
> > It sounds like you are making great progress! I was just wondering
when
> > would be a good time to report test failures, as I am currently
getting
> > about 25 failing tests at the moment (on Windows cygwin)? I understand
> > that things are in a state of flux at the moment and will probably
settle
> > down again after the sprint.
>
> hopefully, yes :-)
>
> If you keep getting those errors over more than a day then i
> suggest to post them here to the list (or put them somewhere
> on a web server and post a link).
>
Thanks Holger,
Ok, these ones have all been failing for a few days:
Most of them look like fairly simple bugs ( note I have got rid of all
references to ftruncate locally, as it doesn't exist on windows). The time
failure appears to be happening because the CPython timer and the PyPy
timer are seperate, so maybe they shouldn't be compared to each other?
Cheers,
Ben
P.S Sorry about the wrong cc
> cheers,
>
> holger
>
> P.S: you shouldn't sent mail to pypy-dev-bounces at codespeak.net
> which was in your CC list.
>
-------------- next part --------------
============================= test process starts =============================
testing-mode: inprocess
executable: c:\Python24\python.exe (2.4.1-final-0)
using py lib: c:\Documents and Settings\YoungB\dist\py <rev unknown>
annotation\test\test_model.py[10] ..........
annotation\test\test_pairtype.py[3] ...
documentation\test_redirections.py[27] ...........................
documentation\website\EP2005-announcement.txt[2] s.
documentation\website\contact.txt[2] s.
documentation\website\install.txt[3] s..
documentation\website\news.txt[5] s....
documentation\_ref.txt[2] s.
documentation\architecture.txt[9] s........
documentation\coding-guide.txt[6] s.....
documentation\contributor.txt[2] s.
documentation\ext-functions-draft.txt[2] s.
documentation\extradoc.txt[2] s.
documentation\faq.txt[2] s.
documentation\getting_started.txt[10] s.........
documentation\index.txt[29] s............................
documentation\interpreter.txt[11] s..........
documentation\misc.txt[2] s.
documentation\objspace.txt[7] s......
documentation\parser-design.txt[2] s.
documentation\release-0.6.txt[2] s.
documentation\svn-help.txt[3] s..
documentation\theory.txt[6] s.....
documentation\translation.txt[7] s......
interpreter\pyparser\test\test_astbuilder.py[63] ...............................................................
interpreter\pyparser\test\test_lookahead.py[8] ........
interpreter\pyparser\test\test_pytokenizer.py[5] .....
interpreter\pyparser\test\test_samples.py[57] .........................................................
interpreter\test\test_appinterp.py[15] ...............
interpreter\test\test_class.py[14] ..............
interpreter\test\test_code.py[2] ..
interpreter\test\test_compiler.py[15] ...s....s....s.
interpreter\test\test_descrtypecheck.py[2] ..
interpreter\test\test_eval.py[2] ..
interpreter\test\test_exceptcomp.py[11] ...........
interpreter\test\test_exec.py[11] ...........
interpreter\test\test_function.py[28] ............................
interpreter\test\test_gateway.py[12] ............
interpreter\test\test_generator.py[7] .......
interpreter\test\test_interpreter.py[27] .....................s.....
interpreter\test\test_main.py[3] ...
interpreter\test\test_module.py[5] .....
interpreter\test\test_nestedscope.py[6] ......
interpreter\test\test_objspace.py[14] ..............
interpreter\test\test_py.py[5] ....s
interpreter\test\test_pyframe.py[9] .........
interpreter\test\test_raise.py[13] .............
interpreter\test\test_special.py[2] ..
interpreter\test\test_synerr.py[1] .
interpreter\test\test_typedef.py[2] ..
lib\test2\test_exception_extra.py[1] .
lib\test2\test_exceptions_extra.py[1] .
lib\test2\test_file_extra.py[13] .......F.....
lib\test2\test_imp_extra.py[2] ..
lib\test2\test_marshal_extra.py[156] .............................s.s..s.....s.................s.............s.s..s...s.s.s....s.s...s...s....s.....s...ss..............ss..........s..........s.
lib\test2\test_md5_extra.py[5] .....
lib\test2\test_osfilewrapper.py[2] ..
lib\test2\test_sha_extra.py[2] ..
lib\test2\test_string_extra.py[1] .
lib\test2\test_struct_extra.py[1] .
module\__builtin__\test\test_apply.py[3] ...
module\__builtin__\test\test_buffer.py[1] .
module\__builtin__\test\test_builtin.py[43] ...........................................
module\__builtin__\test\test_complexobject.py[11] ...........
module\__builtin__\test\test_descriptor.py[6] ......
module\__builtin__\test\test_filter.py[11] ...........
module\__builtin__\test\test_functional.py[20] ....................
module\__builtin__\test\test_import.py[29] .....................sss...ss
module\__builtin__\test\test_minmax.py[14] ..............
module\__builtin__\test\test_range.py[19] ...................
module\__builtin__\test\test_reduce.py[4] ....
module\__builtin__\test\test_special.py[2] ..
module\__builtin__\test\test_vars.py[3] ...
module\__builtin__\test\test_zip.py[8] ........
module\parser\test\test_parser.py[1] .
module\parser\test\test_simple.py[0]
module\posix\test\test_posix.py FAILED TO LOAD MODULE
module\sys\test\test_sysmodule.py[31] ...............................
module\unicodedata\test\test_unicodedata.py[2] ..
objspace\flow\test\test_framestate.py[10] ..........
objspace\flow\test\test_model.py[3] ...
objspace\flow\test\test_objspace.py[38] ......................................
objspace\std\test\test_boolobject.py[6] ......
objspace\std\test\test_dictobject.py[29] .............................
objspace\std\test\test_dictproxy.py[2] ..
objspace\std\test\test_fake.py[1] .
objspace\std\test\test_floatobject.py[13] .............
objspace\std\test\test_instmethobject.py[5] .....
objspace\std\test\test_intobject.py[40] ........................................
objspace\std\test\test_iterobject.py[7] .......
objspace\std\test\test_listobject.py[41] .........................................
objspace\std\test\test_listsort.py[2] ..
objspace\std\test\test_longobject.py[37] ..........F..........................
objspace\std\test\test_multimethod.py[7] .......
objspace\std\test\test_noneobject.py[3] ...
objspace\std\test\test_obj.py[4] ....
objspace\std\test\test_operation.py[3] ...
objspace\std\test\test_sliceobject.py[7] .......
objspace\std\test\test_stdobjspace.py[4] ....
objspace\std\test\test_stringformat.py[26] ..........................
objspace\std\test\test_stringobject.py[52] ....................................................
objspace\std\test\test_strutil.py[8] ........
objspace\std\test\test_tupleobject.py[16] ................
objspace\std\test\test_typeobject.py[25] .........................
objspace\std\test\test_unicodeobject.py[16] ................
objspace\std\test\test_userobject.py[15] ...............
objspace\test\test_descriptor.py[4] ....
objspace\test\test_descroperation.py[7] .......
objspace\test\test_thunkobjspace.py[5] .....
objspace\test\test_traceobjspace.py[5] .....
rpython\module\test\test_ll_math.py[3] ...
rpython\module\test\test_ll_os.py[2] ..
rpython\module\test\test_ll_os_path.py[1] .
rpython\test\test_exception.py[3] ...
rpython\test\test_llann.py[14] ..............
rpython\test\test_llinterp.py[22] ......................
rpython\test\test_lltype.py[21] .....................
rpython\test\test_normalizecalls.py[2] ..
rpython\test\test_rarithmetic.py[36] ....................................
rpython\test\test_rbool.py[5] .....
rpython\test\test_rbuiltin.py[16] ................
rpython\test\test_rclass.py[16] ................
rpython\test\test_rconstantdict.py[4] ....
rpython\test\test_rdict.py[18] ..................
rpython\test\test_remptydict.py[1] .
rpython\test\test_rfloat.py[5] .....
rpython\test\test_rint.py[9] .........
rpython\test\test_rlist.py[29] .............................
rpython\test\test_robject.py[5] .....
rpython\test\test_rpbc.py[43] ...........................................
rpython\test\test_rptr.py[2] ..
rpython\test\test_rrange.py[4] ....
rpython\test\test_rspecialcase.py[2] ..
rpython\test\test_rstr.py[29] .............................
rpython\test\test_rtuple.py[10] ..........
rpython\test\test_rtyper.py[8] ........
test_all.py[0]
tool\pytest\test\test_overview.py[1] s
tool\test\test_cache.py[1] .
tool\test\test_conftest1.py[4] ....
tool\test\test_pytestsupport.py[5] .....
tool\test\test_template.py[1] .
translator\c\test\test_annotated.py[20] ....................
translator\c\test\test_backendoptimized.py[39] .......................................
translator\c\test\test_database.py[17] .................
translator\c\test\test_exception.py[4] s...
translator\c\test\test_extfunc.py[12] F....F......
translator\c\test\test_genc.py[8] ........
translator\c\test\test_lltyped.py[2] ..
translator\c\test\test_notype.py[33] .................................
translator\c\test\test_operation.py[1] .
translator\c\test\test_support.py[7] .......
translator\c\test\test_symboltable.py[1] .
translator\c\test\test_typed.py[38] ......................................
translator\llvm2\test\test_class.py[13] sssssssssssss
translator\llvm2\test\test_exception.py[12] ssssssssssss
translator\llvm2\test\test_extfunc.py[7] sssssss
translator\llvm2\test\test_gc.py[1] s
translator\llvm2\test\test_genllvm.py[31] sssssssssssssssssssssssssssssss
translator\llvm2\test\test_genllvm1.py[15] sssssssssssssss
translator\llvm2\test\test_lltype.py[13] sssssssssssss
translator\llvm2\test\test_seq.py[19] sssssssssssssssssss
translator\llvm2\test\test_snippet.py[17] sssssssssssssssss
translator\pyrex\test\test_pyrextrans.py[21] .....................
translator\pyrex\test\test_sourcegen.py[3] ...
translator\test\test_annmm.py[2] ..
translator\test\test_annrpython.py[117] .....................................................................................................................
translator\test\test_annsimplify2.py[1] .
translator\test\test_annsimplifyrpython.py[117] .....................................................................................................................
translator\test\test_backendoptimization.py[2] ..
translator\test\test_backends.pytranslator\test\test_cltrans.py[14] ssssssssssssss
translator\test\test_geninterp.py[25] .........................
translator\test\test_rpystone.py[1] import workx
import workx
Pystone(1.1) time for 25 passes = 1.85762
This machine benchmarks at 13.458 pystones/second
.
translator\test\test_translator.py[1] .
__________________________ reasons for skipped tests __________________________
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_gc.py:12
reason: Skipped: test_GC_malloc skipped because Boehm collector library was not found
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_genllvm1.py:58
reason: Skipped: overflow not working yet
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:112
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:126
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_class.py:64
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_genllvm.py:19
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_genllvm1.py:92
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:33
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:87
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:98
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:141
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:14
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:174
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:47
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_class.py:57
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:198
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_exception.py:158
reason: Skipped: not working yet
Skipped in c:\Documents and Settings\YoungB\dist\pypy\module\__builtin__\test\test_import.py:319
Skipped in c:\Documents and Settings\YoungB\dist\pypy\module\__builtin__\test\test_import.py:199
Skipped in c:\Documents and Settings\YoungB\dist\pypy\module\__builtin__\test\test_import.py:228
Skipped in c:\Documents and Settings\YoungB\dist\pypy\module\__builtin__\test\test_import.py:247
reason: Skipped: pyc file support disabled for now
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\c\test\test_exception.py:9
reason: Skipped: decided whethe we want to support IndexError on [] at interp-level
Skipped in c:\Documents and Settings\YoungB\dist\pypy\interpreter\test\test_py.py:80
reason: Skipped: cannot detect process exit code for now
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_class.py:28
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_class.py:33
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\test\test_class.py:38
reason: Skipped: not working yet (segfault)
Skipped in c:\Documents and Settings\YoungB\dist\pypy\module\__builtin__\test\test_import.py:364
reason: Skipped: unresolved issues with win32 shell quoting rules
Skipped in c:\Documents and Settings\YoungB\dist\pypy\tool\pytest\test\test_overview.py:9
reason: Skipped: testresult directory not checked out
Skipped in c:\Documents and Settings\YoungB\dist\pypy\lib\test2\test_marshal_extra.py:80
Skipped in c:\Documents and Settings\YoungB\dist\pypy\lib\test2\test_marshal_extra.py:91
Skipped in c:\Documents and Settings\YoungB\dist\pypy\lib\test2\test_marshal_extra.py:106
Skipped in c:\Documents and Settings\YoungB\dist\pypy\lib\test2\test_marshal_extra.py:71
Skipped in c:\Documents and Settings\YoungB\dist\pypy\lib\test2\test_marshal_extra.py:120
reason: Skipped: this version of CPython doesn't support this object
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\test\test_cltrans.py:43
reason: Skipped: Common Lisp neither configured nor detected.
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\test\test_backends.py:12
reason: Skipped: the Translator and back-ends depend on too many conditions to test the back-ends generically
Skipped in c:\Documents and Settings\YoungB\dist\pypy\interpreter\test\test_compiler.py:46
reason: Skipped: flags don't work correctly when using the compiler package
Skipped in c:\Documents and Settings\YoungB\dist\pypy\translator\llvm2\genllvm.py:109
reason: Skipped: llvm not found
Skipped in c:\Documents and Settings\YoungB\dist\pypy\interpreter\test\test_interpreter.py:240
reason: Skipped: expression too large for the recursive parser
Skipped in c:\Documents and Settings\YoungB\dist\py\documentation\conftest.py:17
reason: Skipped: docutils not importable
_______________________________________________________________________________
______________________ entrypoint: TestFile().test_repr _______________________
def test_repr(self):
r = repr(self.file)
assert r.find('open file') >= 0
E assert r.find(self.file.name) >= 0
> assert -1 >= 0
+ where -1 = "<open file 'c:\\\\Documents and Settings\\\\YoungB\\\\dist\\\\pypy\\\\lib\\\\test2\\\\test_file_extra.pyc', mode 'r' at 0x1d7a8b0>".find(<open file 'c:\\Documents and Settings\\YoungB\\dist\\pypy\\lib\\test2\\test_file_extra.pyc', mode 'r' at 0x1d7a8b0>.name)
+ where <open file 'c:\\Documents and Settings\\YoungB\\dist\\pypy\\lib\\test2\\test_file_extra.pyc', mode 'r' at 0x1d7a8b0> = <pypy.lib.test2.test_file_extra.TestFile instance at 0x023BBE40>.file
[c:\Documents and Settings\YoungB\dist\pypy\lib\test2\test_file_extra.py:30]
_______________________________________________________________________________
________________________________ entrypoint: _________________________________
from pypy.rpython.test.test_llinterp import interpret
from pypy.tool.udir import udir
E import os, posix
> ImportError: No module named posix
[c:\Documents and Settings\YoungB\dist\pypy\module\posix\test\test_posix.py:3]
_______________________________________________________________________________
_______________ entrypoint: TestW_LongObject().test__FromDouble _______________
def test__FromDouble(self):
x = 1234567890.1234567890
f1 = lobj._FromDouble(self.space, x)
y = lobj._AsDouble(f1)
assert f1.longval() == long(x)
# check overflow
x = 12345.6789e10000000000000000000000000000
E assert raises(OverflowError, lobj._FromDouble, self.space, x)
> ExceptionFailure: DID NOT RAISE
[c:\Documents and Settings\YoungB\dist\pypy\objspace\std\test\test_longobject.py:126]
_______________________________________________________________________________
_________________________ entrypoint: test_time_clock _________________________
def test_time_clock():
def does_stuff():
return time.clock()
f1 = compile(does_stuff, [])
t0 = time.clock()
t1 = f1()
assert type(t1) is float
t2 = time.clock()
E assert t0 <= t1 <= t2
> assert 1.3008972281164893e-006 <= 9.3732769711450096e-007
[c:\Documents and Settings\YoungB\dist\pypy\translator\c\test\test_extfunc.py:16]
- - - - - - - - - - - test_time_clock: recorded stdout - - - - - - - - - - - -
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.MemoryError at 0x00977120>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.OverflowError at 0x00964C90>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.ZeroDivisionError at 0x00964CF0>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.TypeError at 0x009645A0>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.ArithmeticError at 0x00964C60>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function annotation at 0x00DDDB30>, const=<built-in function clock>, methodname='time.clock', s_self=None)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.ValueError at 0x00964DE0>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.Exception at 0x00964510>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.StandardError at 0x00964570>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function annotation at 0x00DDDB30>, const=<built-in function clock>, methodname='time.clock', s_self=None)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>), SomeString(can_be_None=False, const='typeptr')]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>), SomeString(can_be_None=False, const='rtti')]
[rtyper:translating] getitem [SomePtr(const=<* array [ {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...} ]>, ll_ptrtype=<* Array of { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } } >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct <arrayitem> { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } }>), SomeString(can_be_None=False, const='pycls')]
[rtyper:translating] simple_call [SomePtr(const=<* fn PyErr_GivenExceptionMatches>, ll_ptrtype=<* Func ( * PyObject, * PyObject ) -> Signed>), SomePtr(ll_ptrtype=<* PyObject>), SomePtr(ll_ptrtype=<* PyObject>)]
[rtyper:translating] is_true [SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function cast_pointer at 0x00DDD1B0>, const=<function cast_pointer at 0x00D9D170>, methodname='pypy.rpython.lltype.cast_pointer', s_self=None), SomePBC(const=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>), SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>), SomeString(can_be_None=False, const='typeptr')]
[rtyper:translating] is_true [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>)]
[rtyper:translating] inplace_sub [SomeInteger(nonneg=True, unsigned=False), SomeInteger(const=1, nonneg=True, unsigned=False)]
[rtyper:translating] ge [SomeInteger(nonneg=False, unsigned=False), SomeInteger(const=0, nonneg=True, unsigned=False)]
[rtyper:translating] is_true [SomeBool(knowntypedata={(True, v454941): SomeInteger(nonneg=True, unsigned=False)})]
[rtyper:translating] type [SomeInstance(can_be_None=False, classdef=OSError)]
[rtyper:translating] simple_call [SomePBC(const=<class exceptions.OSError at 0x00964780>), SomeInteger(nonneg=False, unsigned=False), SomePBC(const=None)]
[rtyper:translating] getitem [SomePtr(const=<* array [ {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...} ]>, ll_ptrtype=<* Array of { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } } >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct <arrayitem> { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } }>), SomeString(can_be_None=False, const='excinst')]
[rtyper:translating] ne [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>), SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>)]
[rtyper:translating] is_true [SomeBool()]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>), SomeString(can_be_None=False, const='parenttypeptr')]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct tuple2 { item0: Float, item1: Float }>)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Float }>), SomeString(can_be_None=False, const='item0'), SomeFloat()]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Float }>), SomeString(can_be_None=False, const='item1'), SomeFloat()]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct tuple2 { item0: Float, item1: Signed }>)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Signed }>), SomeString(can_be_None=False, const='item0'), SomeFloat()]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Signed }>), SomeString(can_be_None=False, const='item1'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item0'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item1'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item2'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item3'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item4'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item5'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item6'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item7'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item8'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item9'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct rpy_string { hash: Signed, chars: Array of Char }>), SomeInteger(nonneg=False, unsigned=False)]
- - - - - - - - - - - test_time_clock: recorded stderr - - - - - - - - - - - -
[annrpython] (pypy.translator.c.test.test_extfunc:9) does_stuff -> SomeFloat()
*** WARNING: ignoring already seen repr for setup: <ClassRepr for __builtin__.object>
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ArithmeticError -> SomeInstance(can_be_None=False, classdef=ArithmeticError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ArithmeticError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_StandardError -> SomeInstance(can_be_None=False, classdef=StandardError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_StandardError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_OverflowError -> SomeInstance(can_be_None=False, classdef=OverflowError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_OverflowError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ZeroDivisionError -> SomeInstance(can_be_None=False, classdef=ZeroDivisionError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ZeroDivisionError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_MemoryError -> SomeInstance(can_be_None=False, classdef=MemoryError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_MemoryError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_Exception -> SomeInstance(can_be_None=False, classdef=Exception)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_Exception -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_TypeError -> SomeInstance(can_be_None=False, classdef=TypeError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_TypeError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ValueError -> SomeInstance(can_be_None=False, classdef=ValueError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ValueError -> SomeInstance(can_be_None=False, classdef=object)
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for __builtin__.object>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.MemoryError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for __builtin__.object>
[annrpython] (pypy.rpython.rclass:632) ll_runtime_type_info__objectPtr -> SomePtr(ll_ptrtype=<* RuntimeTypeInfo (opaque)>)
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.OverflowError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.ZeroDivisionError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.TypeError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.ArithmeticError>
[annrpython] (pypy.rpython.module.ll_time:14) ll_time_clock -> SomeFloat()
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.ValueError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for __builtin__.object>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.StandardError>
[annrpython] (pypy.rpython.rclass:619) ll_issubclass__object_vtablePtr_object_vtablePtr -> SomeBool(const=True)
[annrpython] (pypy.rpython.rclass:619) ll_issubclass__object_vtablePtr_object_vtablePtr -> SomeBool()
[annrpython] (pypy.rpython.rclass:616) ll_type__objectPtr -> SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>)
[annrpython] (pypy.rpython.exceptiondata:120) ll_pyexcclass2exc__PyObjectPtr -> SomePtr(const=<* struct object { typeptr=... }>, ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>)
[annrpython] (pypy.rpython.exceptiondata:120) ll_pyexcclass2exc__PyObjectPtr -> SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>)
[annrpython] (pypy.rpython.exceptiondata:53) ll_raise_OSError__Signed -> SomeImpossibleValue()
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.OSError>
*** WARNING: ignoring already seen repr for setup: <ClassRepr for __builtin__.object>
[annrpython] (pypy.translator.c.extfunc:41) RPyString_New__Signed -> SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>)
[annrpython] (pypy.rpython.module.ll_math:21) ll_frexp_result__Float_Signed -> SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Signed }>)
[annrpython] (pypy.rpython.module.ll_math:53) ll_modf_result__Float_Float -> SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Float }>)
[annrpython] (pypy.rpython.module.ll_os:84) ll_stat_result__Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed -> SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>)
_______________________________________________________________________________
__________________________ entrypoint: test_os_fstat __________________________
def test_os_fstat():
if os.environ.get('PYPY_CC', '').startswith('tcc'):
py.test.skip("segfault with tcc :-(")
filename = str(py.magic.autopath())
def call_fstat():
fd = os.open(filename, os.O_RDONLY, 0777)
st = os.fstat(fd)
os.close(fd)
return st
f = compile(call_fstat, [])
result = f()
assert result[0] == os.stat(filename)[0]
assert result[1] == os.stat(filename)[1]
E assert result[2] == os.stat(filename)[2]
> assert 0 == 2
[c:\Documents and Settings\YoungB\dist\pypy\translator\c\test\test_extfunc.py:81]
- - - - - - - - - - - test_os_fstat: recorded stdout - - - - - - - - - - - -
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.ZeroDivisionError at 0x00964CF0>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.MemoryError at 0x00977120>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.ArithmeticError at 0x00964C60>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function annotation at 0x00DDD8B0>, const=<built-in function open>, methodname='nt.open', s_self=None), SomeString(can_be_None=False, const='c:\\Documents and Settings\\YoungB\\dist\\pypy\\translator\\c\\test\\test_extfunc.py'), SomeInteger(const=0, nonneg=True, unsigned=False), SomeInteger(const=511, nonneg=True, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function statannotation at 0x00DDD7F0>, const=<built-in function fstat>, methodname='nt.fstat', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function noneannotation at 0x00DDD7B0>, const=<built-in function close>, methodname='nt.close', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.OverflowError at 0x00964C90>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.ValueError at 0x00964DE0>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.StandardError at 0x00964570>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.TypeError at 0x009645A0>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function robjmodel_instantiate at 0x00DBAF70>, const=<function instantiate at 0x00D14B30>, methodname='pypy.rpython.objectmodel.instantiate', s_self=None), SomePBC(const=<class exceptions.Exception at 0x00964510>)]
[rtyper:translating] simple_call [SomePBC(const=<function from_rstr__rpy_stringPtr at 0x06E186F0>), SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function annotation at 0x00DDD8B0>, const=<built-in function open>, methodname='nt.open', s_self=None), SomeString(can_be_None=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item0'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item1'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item2'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item3'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item4'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item5'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item6'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item7'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item8'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function rarith_intmask at 0x00DBAF30>, const=<function intmask at 0x00B44670>, methodname='pypy.rpython.rarithmetic.intmask', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>), SomeString(can_be_None=False, const='item9'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<unbound method SomeString.method_join>, const=<built-in method join of str object at 0x0096A038>, methodname='join', s_self=SomeString(can_be_None=False, const='')), SomeList(listdef=<SomeChar(can_be_None=False)>)]
[rtyper:translating] next [SomeIterator(s_container=SomeList(listdef=<SomeInteger(nonneg=True, unsigned=False)>))]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=0, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=1, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=2, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=3, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=4, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=5, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=6, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=7, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=8, nonneg=True, unsigned=False)]
[rtyper:translating] getitem [SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False))), SomeInteger(const=9, nonneg=True, unsigned=False)]
[rtyper:translating] simple_call [SomePBC(const=<function ll_stat_result__Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed at 0x06EE3D70>), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>), SomeString(can_be_None=False, const='chars')]
[rtyper:translating] getitem [SomePtr(ll_ptrtype=<* Array of Char >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomeList(listdef=<SomeChar(can_be_None=False)>), SomeString(can_be_None=False, const='append')]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<unbound method SomeList.method_append>, methodname='append', s_self=SomeList(listdef=<SomeChar(can_be_None=False)>)), SomeChar(can_be_None=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function statannotation at 0x00DDD7F0>, const=<built-in function fstat>, methodname='nt.fstat', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function noneannotation at 0x00DDD7B0>, const=<built-in function close>, methodname='nt.close', s_self=None), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>), SomeString(can_be_None=False, const='typeptr')]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>), SomeString(can_be_None=False, const='rtti')]
[rtyper:translating] newlist []
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>), SomeString(can_be_None=False, const='chars')]
[rtyper:translating] len [SomePtr(ll_ptrtype=<* Array of Char >)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function builtin_range at 0x00DBAA30>, const=<built-in function range>, methodname='__builtin__.range', s_self=None), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] iter [SomeList(listdef=<SomeInteger(nonneg=True, unsigned=False)>)]
[rtyper:translating] lt [SomeInteger(nonneg=True, unsigned=False), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] is_true [SomeBool(knowntypedata={(True, num_chars_468225): SomeInteger(nonneg=True, unsigned=False), (False, i_468224): SomeInteger(nonneg=True, unsigned=False)})]
[rtyper:translating] setitem [SomePtr(ll_ptrtype=<* GcArray of Char >), SomeInteger(nonneg=True, unsigned=False), SomeChar(can_be_None=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='items'), SomePtr(ll_ptrtype=<* GcArray of Char >)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='items')]
[rtyper:translating] getitem [SomePtr(ll_ptrtype=<* GcArray of Char >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] setitem [SomePtr(ll_ptrtype=<* GcArray of Char >), SomeInteger(nonneg=True, unsigned=False), SomeChar(can_be_None=False)]
[rtyper:translating] inplace_add [SomeInteger(nonneg=True, unsigned=False), SomeInteger(const=1, nonneg=True, unsigned=False)]
[rtyper:translating] add [SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct range { next: Signed, stop: Signed }>), SomeString(can_be_None=False, const='next'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] getitem [SomePtr(ll_ptrtype=<* GcArray of Char >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] setitem [SomePtr(ll_ptrtype=<* Array of Char >), SomeInteger(nonneg=True, unsigned=False), SomeChar(can_be_None=False)]
[rtyper:translating] inplace_add [SomeInteger(nonneg=True, unsigned=False), SomeInteger(const=1, nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct range { next: Signed, stop: Signed }>), SomeString(can_be_None=False, const='next')]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct range { next: Signed, stop: Signed }>), SomeString(can_be_None=False, const='stop')]
[rtyper:translating] ge [SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] is_true [SomeBool()]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct range { start: Signed, stop: Signed }>)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct range { start: Signed, stop: Signed }>), SomeString(can_be_None=False, const='start'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct range { start: Signed, stop: Signed }>), SomeString(can_be_None=False, const='stop'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] getattr [SomePBC(const=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='TO')]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct list { items: * GcArray of Char }>)]
[rtyper:translating] getattr [SomePBC(const=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='TO')]
[rtyper:translating] getattr [SomePBC(const=<GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='items')]
[rtyper:translating] getattr [SomePBC(const=<* GcArray of Char >), SomeString(can_be_None=False, const='TO')]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcArray of Char >), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='items'), SomePtr(ll_ptrtype=<* GcArray of Char >)]
[rtyper:translating] simple_call [SomePBC(const=<class exceptions.StopIteration at 0x00964540>)]
[rtyper:translating] type [SomeInstance(can_be_None=False, classdef=StopIteration)]
[rtyper:translating] getattr [SomePBC(const=<* GcStruct range { next: Signed, stop: Signed }>), SomeString(can_be_None=False, const='TO')]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct range { next: Signed, stop: Signed }>)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct range { start: Signed, stop: Signed }>), SomeString(can_be_None=False, const='start')]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct range { next: Signed, stop: Signed }>), SomeString(can_be_None=False, const='next'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct range { start: Signed, stop: Signed }>), SomeString(can_be_None=False, const='stop')]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct range { next: Signed, stop: Signed }>), SomeString(can_be_None=False, const='stop'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] lt [SomeInteger(nonneg=True, unsigned=False), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] is_true [SomeBool(knowntypedata={(True, length_468623): SomeInteger(nonneg=True, unsigned=False), (False, i_468622): SomeInteger(nonneg=True, unsigned=False)})]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='items')]
[rtyper:translating] len [SomePtr(ll_ptrtype=<* GcArray of Char >)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function typeOf at 0x00DDD130>, const=<function typeOf at 0x00D950F0>, methodname='pypy.rpython.lltype.typeOf', s_self=None), SomePtr(ll_ptrtype=<* GcStruct list { items: * GcArray of Char }>)]
[rtyper:translating] getattr [SomePBC(const=<* GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='TO')]
[rtyper:translating] getattr [SomePBC(const=<GcStruct list { items: * GcArray of Char }>), SomeString(can_be_None=False, const='items')]
[rtyper:translating] getattr [SomePBC(const=<* GcArray of Char >), SomeString(can_be_None=False, const='TO')]
[rtyper:translating] add [SomeInteger(nonneg=True, unsigned=False), SomeInteger(const=1, nonneg=True, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcArray of Char >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] len [SomePtr(ll_ptrtype=<* GcArray of Char >)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct rpy_string { hash: Signed, chars: Array of Char }>), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>), SomeString(can_be_None=False, const='chars')]
[rtyper:translating] ne [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>), SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>)]
[rtyper:translating] is_true [SomeBool()]
[rtyper:translating] is_true [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function cast_pointer at 0x00DDD1B0>, const=<function cast_pointer at 0x00D9D170>, methodname='pypy.rpython.lltype.cast_pointer', s_self=None), SomePBC(const=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>), SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>), SomeString(can_be_None=False, const='typeptr')]
[rtyper:translating] type [SomeInstance(can_be_None=False, classdef=OSError)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>), SomeString(can_be_None=False, const='parenttypeptr')]
[rtyper:translating] inplace_sub [SomeInteger(nonneg=True, unsigned=False), SomeInteger(const=1, nonneg=True, unsigned=False)]
[rtyper:translating] ge [SomeInteger(nonneg=False, unsigned=False), SomeInteger(const=0, nonneg=True, unsigned=False)]
[rtyper:translating] is_true [SomeBool(knowntypedata={(True, v469318): SomeInteger(nonneg=True, unsigned=False)})]
[rtyper:translating] getitem [SomePtr(const=<* array [ {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...} ]>, ll_ptrtype=<* Array of { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } } >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct <arrayitem> { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } }>), SomeString(can_be_None=False, const='excinst')]
[rtyper:translating] simple_call [SomePBC(const=<class exceptions.OSError at 0x00964780>), SomeInteger(nonneg=False, unsigned=False), SomePBC(const=None)]
[rtyper:translating] getitem [SomePtr(const=<* array [ {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...}, {pycls=..., excinst=...} ]>, ll_ptrtype=<* Array of { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } } >), SomeInteger(nonneg=True, unsigned=False)]
[rtyper:translating] getattr [SomePtr(ll_ptrtype=<* Struct <arrayitem> { pycls: * PyObject, excinst: * GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } } }>), SomeString(can_be_None=False, const='pycls')]
[rtyper:translating] simple_call [SomePtr(const=<* fn PyErr_GivenExceptionMatches>, ll_ptrtype=<* Func ( * PyObject, * PyObject ) -> Signed>), SomePtr(ll_ptrtype=<* PyObject>), SomePtr(ll_ptrtype=<* PyObject>)]
[rtyper:translating] is_true [SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct tuple2 { item0: Float, item1: Signed }>)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Signed }>), SomeString(can_be_None=False, const='item0'), SomeFloat()]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Signed }>), SomeString(can_be_None=False, const='item1'), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct rpy_string { hash: Signed, chars: Array of Char }>), SomeInteger(nonneg=False, unsigned=False)]
[rtyper:translating] simple_call [SomeBuiltin(analyser=<function malloc at 0x00DDD0F0>, const=<function malloc at 0x00D9D230>, methodname='pypy.rpython.lltype.malloc', s_self=None), SomePBC(const=<GcStruct tuple2 { item0: Float, item1: Float }>)]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Float }>), SomeString(can_be_None=False, const='item0'), SomeFloat()]
[rtyper:translating] setattr [SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Float }>), SomeString(can_be_None=False, const='item1'), SomeFloat()]
- - - - - - - - - - - test_os_fstat: recorded stderr - - - - - - - - - - - -
[annrpython] (pypy.translator.c.test.test_extfunc:72) call_fstat -> SomeTuple(items=(SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False), SomeInteger(nonneg=False, unsigned=False)))
*** WARNING: ignoring already seen repr for setup: <ClassRepr for __builtin__.object>
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ArithmeticError -> SomeInstance(can_be_None=False, classdef=ArithmeticError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ArithmeticError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_StandardError -> SomeInstance(can_be_None=False, classdef=StandardError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_StandardError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_OverflowError -> SomeInstance(can_be_None=False, classdef=OverflowError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_OverflowError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ZeroDivisionError -> SomeInstance(can_be_None=False, classdef=ZeroDivisionError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ZeroDivisionError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_MemoryError -> SomeInstance(can_be_None=False, classdef=MemoryError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_MemoryError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_Exception -> SomeInstance(can_be_None=False, classdef=Exception)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_Exception -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_TypeError -> SomeInstance(can_be_None=False, classdef=TypeError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_TypeError -> SomeInstance(can_be_None=False, classdef=object)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ValueError -> SomeInstance(can_be_None=False, classdef=ValueError)
[annrpython] (pypy.rpython.normalizecalls:331) instantiate_ValueError -> SomeInstance(can_be_None=False, classdef=object)
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for __builtin__.object>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.ZeroDivisionError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for __builtin__.object>
[annrpython] (pypy.rpython.rclass:632) ll_runtime_type_info__objectPtr -> SomePtr(ll_ptrtype=<* RuntimeTypeInfo (opaque)>)
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.MemoryError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.ArithmeticError>
[annrpython] (pypy.rpython.module.support:12) from_rstr__rpy_stringPtr -> SomeString(can_be_None=False)
[annrpython] (pypy.rpython.module.ll_os:22) ll_os_open__rpy_stringPtr_Signed_Signed -> SomeInteger(nonneg=False, unsigned=False)
[annrpython] (pypy.rpython.module.ll_os:84) ll_stat_result__Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed_Signed -> SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>)
[annrpython] (pypy.rpython.module.ll_os:99) ll_os_fstat__Signed -> SomePtr(ll_ptrtype=<* GcStruct tuple10 { item0: Signed, item1: Signed, item2: Signed, item3: Signed, item4: Signed, item5: Signed, item6: Signed, item7: Signed, item8: Signed, item9: Signed }>)
[annrpython] (pypy.rpython.module.ll_os:50) ll_os_close__Signed -> SomePBC(const=None)
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.OverflowError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.ValueError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.StandardError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.TypeError>
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for __builtin__.object>
[annrpython] (pypy.rpython.rstr:755) ll_join_chars__arrayPtr -> SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>)
[annrpython] (pypy.rpython.rrange:128) ll_rangenext_up__rangePtr_Signed -> SomeInteger(nonneg=False, unsigned=False)
[annrpython] (pypy.rpython.rlist:295) ll_append__listPtr_Char -> SomePBC(const=None)
[annrpython] (pypy.rpython.rlist:591) ll_newlist__listPtrConst_Signed -> SomePtr(ll_ptrtype=<* GcStruct list { items: * GcArray of Char }>)
[annrpython] (pypy.rpython.rrange:71) ll_newrange__Signed_Signed -> SomePtr(ll_ptrtype=<* GcStruct range { start: Signed, stop: Signed }>)
[annrpython] (pypy.rpython.rrange:122) ll_rangeiter__rangePtrConst_rangePtr -> SomePtr(ll_ptrtype=<* GcStruct range { next: Signed, stop: Signed }>)
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.StopIteration>
*** WARNING: ignoring already seen repr for setup: <ClassRepr for __builtin__.object>
[annrpython] (pypy.rpython.rclass:619) ll_issubclass__object_vtablePtr_object_vtablePtr -> SomeBool(const=True)
[annrpython] (pypy.rpython.rclass:619) ll_issubclass__object_vtablePtr_object_vtablePtr -> SomeBool()
[annrpython] (pypy.rpython.rclass:616) ll_type__objectPtr -> SomePtr(ll_ptrtype=<* Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { typeptr: * Struct object_vtable { ... } } }>)
[annrpython] (pypy.rpython.exceptiondata:120) ll_pyexcclass2exc__PyObjectPtr -> SomePtr(const=<* struct object { typeptr=... }>, ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>)
[annrpython] (pypy.rpython.exceptiondata:120) ll_pyexcclass2exc__PyObjectPtr -> SomePtr(ll_ptrtype=<* GcStruct object { typeptr: * Struct object_vtable { parenttypeptr: * Struct object_vtable { ... }, rtti: * RuntimeTypeInfo (opaque), name: * Array of Char , instantiate: * Func ( ) -> * GcStruct object { ... } } }>)
[annrpython] (pypy.rpython.exceptiondata:53) ll_raise_OSError__Signed -> SomeImpossibleValue()
*** WARNING: ignoring already seen repr for setup: <InstanceRepr for exceptions.OSError>
[annrpython] (pypy.translator.c.extfunc:41) RPyString_New__Signed -> SomePtr(ll_ptrtype=<* GcStruct rpy_string { hash: Signed, chars: Array of Char }>)
[annrpython] (pypy.rpython.module.ll_math:21) ll_frexp_result__Float_Signed -> SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Signed }>)
[annrpython] (pypy.rpython.module.ll_math:53) ll_modf_result__Float_Float -> SomePtr(ll_ptrtype=<* GcStruct tuple2 { item0: Float, item1: Float }>)
_______________________________________________________________________________
==== tests finished: 2062 passed, 5 failed, 199 skipped in 634.45 seconds =====
More information about the pypy-dev
mailing list