Message282976
| 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: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 |
|