[pypy-dev] how can a class method become frozen in tests only on windows?

Matti Picus matti.picus at gmail.com
Tue Jun 17 22:01:20 CEST 2014


in looking at the own test_rzipfile failures on windows[0], the 
annotator is failing in rtyper.rpbc.redispatch_call since the method 
being called is a MultipleFrozenPBCRepr .
The method is flush_buffers from (it seems)  streamio.Stream [1]

Any hints how this can happen?
Matti


[0] 
http://buildbot.pypy.org/summary/longrepr?testname=TestRZipFile.%28%29.test_rzipfile&builder=own-win-x86-32&build=167&mod=rlib.test.test_rzipfile
[1] I added --pdb to the test run, and here is what the debugger had to say:
 > d:\pypy_stuff\pypy\rpython\rtyper\rpbc.py(825)redispatch_call()
-> SmallFunctionSetPBCRepr))
(Pdb) p self
<MethodsPBCRepr * GcStruct rpython.rlib.streamio.Stream { super }>
(Pdb) p self.methodname
'flush_buffers'


More information about the pypy-dev mailing list