Message283245
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:03 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, doko, scoder, vstinner, larry, sebastinas, benjamin.peterson, ned.deily, aronacher, prologic, Trundle, Ringding, python-dev, jdemeyer, thansen |
| 2016-12-15 06:21:03 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2016-12-15 06:21:03 | serhiy.storchaka | link | issue5322 messages |
| 2016-12-15 06:21:03 | serhiy.storchaka | create | |
|