This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients Ringding, Trundle, aronacher, benjamin.peterson, doko, gvanrossum, jdemeyer, prologic, python-dev, sebastinas, serhiy.storchaka, thansen, vstinner
Date 2016-12-12.09:42:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481535754.27.0.013632245314.issue5322@psf.upfronthosting.co.za>
In-reply-to
Content
@serhiy.storchaka: yes, changing the order of the base classes fixes the issue with __new__. Also manually assigning __new__ works, like

class C(A, B):
    __new__ = B.__new__

What is broken by this patch is only the auto-detection of which __new__ (really, which tp_new) should be called.

@doko: not "another regression", it's exactly the one that we are talking about.
History
Date User Action Args
2016-12-12 09:42:34jdemeyersetrecipients: + jdemeyer, gvanrossum, doko, vstinner, sebastinas, benjamin.peterson, aronacher, prologic, Trundle, Ringding, python-dev, serhiy.storchaka, thansen
2016-12-12 09:42:34jdemeyersetmessageid: <1481535754.27.0.013632245314.issue5322@psf.upfronthosting.co.za>
2016-12-12 09:42:34jdemeyerlinkissue5322 messages
2016-12-12 09:42:34jdemeyercreate