Message282976
@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. |
|
Date |
User |
Action |
Args |
2016-12-12 09:42:34 | jdemeyer | set | recipients:
+ jdemeyer, gvanrossum, doko, vstinner, sebastinas, benjamin.peterson, aronacher, prologic, Trundle, Ringding, python-dev, serhiy.storchaka, thansen |
2016-12-12 09:42:34 | jdemeyer | set | messageid: <1481535754.27.0.013632245314.issue5322@psf.upfronthosting.co.za> |
2016-12-12 09:42:34 | jdemeyer | link | issue5322 messages |
2016-12-12 09:42:34 | jdemeyer | create | |
|