Hi,
I've just found a bug in lltypesystem; to reproduce type the following
in translatorshell.py:
from __future__ import division
def bug(x,y):
... return x/y
...
t = Translation(bug)
t.annotate([int, int])
[cut]
t.rtype()
[translation:info] already done: Annotatingsimplifying
Michael Hudson wrote:
What doesn't work? I changed NEED_OLD_EXTRA_REFS to False and the c
tests still run fine.
Ah! yes :-))
There are no C tests at all which involve embedded PyObjects.
When we access arrays or structs with PyObjects, we
get into trouble.
Will check in a test (unless I
Christian Tismer wrote:
Michael Hudson wrote:
What doesn't work? I changed NEED_OLD_EXTRA_REFS to False and the c
tests still run fine.
see test_genc:
# this test crashes after 30 runs on my XP machine
def test_refcount_pyobj():
def prob_with_pyobj(a=int, b=int):
return 2, 3,