[Cython] [cython-users] which __new__ to use?

Stefan Behnel stefan_ml at behnel.de
Fri Jan 10 20:50:09 CET 2014


[this should have gone to cython-devel - I *hate* those auto-reply-to
headers...]

Nils Bruin, 10.01.2014 18:55:
> On Friday, January 10, 2014 8:42:15 AM UTC-8, Stefan Behnel wrote:
>> And, not entirely unexpected, it breaks Sage pretty much completely: 
> Hm, the 
> DeprecationWarning: object() takes no parameters

Note how it says "object() takes no parameters" and not "object.__new__()"
or "object.__init__()", as in the error messages in typeobject.c. I
couldn't find such a message in CPython's sources or in Cython's sources,
so I wonder where it comes from.

Stefan



More information about the cython-devel mailing list