[Cython] Refcount nanny status
Stefan Behnel
stefan_ml at behnel.de
Fri Jan 9 08:43:00 CET 2009
Hi,
Michael Abshoff wrote:
> old_temp was introduced in rev 1447:
>
> http://hg.cython.org/cython-devel/rev/36de07933246
>
> But there is no other file in the tree where it is used and/or
> mentioned. I guess this might be a merge gone wrong
No, it's something Dag added to have the compiler notice when temps are
freed multiple times, or freed without being allocated. The crash you
notice shows that there is a problem with the temp (de-)allocation.
However, the reason why you get an AttributeError instead of a meaningful
error message is also a bug.
> I have no clue
> what the correct fix would be after staring at it for 30 minutes. Either
> way, I have run out of time and I am hopeful Stefan or Dag will fix it
> in the morning :)
:)
A stripped-down test case would definitely help here.
Stefan
More information about the Cython-dev
mailing list