Message228215
> Since type has __subclasscheck__ (why I don't know)
Ouch, really? That means the PyType_IsSubtype path in PyObject_IsSubclass() is never taken?
I think we should add a tp_subclasscheck slot to minimize the general cost of this. Also, try to see if there aren't redundant type / tuple checks along the way. |
|
| Date |
User |
Action |
Args |
| 2014-10-02 11:19:50 | pitrou | set | recipients:
+ pitrou, gvanrossum, barry, georg.brandl, jamesh, ncoghlan, benjamin.peterson, jwilk, eric.araujo, Trundle, cvrebert, daniel.urban, yorik.sar, ethan.furman, Yury.Selivanov, Jim.Jewett, gcbirzan, Antony.Lee |
| 2014-10-02 11:19:50 | pitrou | set | messageid: <[email protected]> |
| 2014-10-02 11:19:50 | pitrou | link | issue12029 messages |
| 2014-10-02 11:19:50 | pitrou | create | |
|