Author serhiy.storchaka
Recipients Ringding, Trundle, aronacher, benjamin.peterson, doko, jdemeyer, larry, ned.deily, prologic, python-dev, scoder, sebastinas, serhiy.storchaka, thansen, vstinner
Date 2016-12-15.06:21:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, it was what the patch did by setting tp_new to slot_tp_new. The problem is that the same code is used for inherited __new__ and assigned in class body. It is hard to distinguish between these cases.

In any case I think that Cython shouldn't generate trivial __new__. This will help to change the order of __new__ resolution at least in 3.7.
Date User Action Args
2016-12-15 06:21:03serhiy.storchakasetrecipients: + serhiy.storchaka, doko, scoder, vstinner, larry, sebastinas, benjamin.peterson, ned.deily, aronacher, prologic, Trundle, Ringding, python-dev, jdemeyer, thansen
2016-12-15 06:21:03serhiy.storchakasetmessageid: <>
2016-12-15 06:21:03serhiy.storchakalinkissue5322 messages
2016-12-15 06:21:03serhiy.storchakacreate