Message228215
| Author |
pitrou |
| Recipients |
Antony.Lee, Jim.Jewett, Trundle, Yury.Selivanov, barry, benjamin.peterson, cvrebert, daniel.urban, eric.araujo, ethan.furman, gcbirzan, georg.brandl, gvanrossum, jamesh, jwilk, ncoghlan, pitrou, yorik.sar |
| Date |
2014年10月02日.11:19:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412248790.51.0.490219430727.issue12029@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|
History
|
|---|
| 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: <1412248790.51.0.490219430727.issue12029@psf.upfronthosting.co.za> |
| 2014年10月02日 11:19:50 | pitrou | link | issue12029 messages |
| 2014年10月02日 11:19:50 | pitrou | create |
|