[Debian-science-sagemath] Sage broken with Python 2.7.13~rc1-1

Tobias Hansen thansen at debian.org
Tue Dec 6 17:42:00 UTC 2016


Actually it looks more related to https://bugs.python.org/issue24469

>From the changelog:
Issue #24469: Fixed memory leak caused by int subclasses without
overridden tp_free (e.g. C-inherited Cython classes).

And our error happens at tp_free in sage/misc/classcall_metaclass.pyx

On 12/06/2016 05:32 PM, Tobias Hansen wrote:
> Hi all,
> 
> there was an update to python2.7 on Sunday that unfortunately broke
> building or even running sage. The error one gets is this:
> 
> TypeError: sage.misc.fast_methods.WithEqualityById.__new__(UnknownClass)
> is not safe, use object.__new__()
> 
> In the changelog it of python2.7 there is this entry:
> Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
> 
> leading to this bug report:
> https://bugs.python.org/issue5322
> 
> I just found this, just wanted to let you know why nothing works.
> 
> Best,
> Tobias
> 
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
> 




More information about the Debian-science-sagemath mailing list