Message404158
| Author |
Dennis Sweeney |
| Recipients |
Bruno Oliveira, Carl.Friedrich.Bolz, Daniel Lepage, Dennis Sweeney, Jim Fasarakis-Hilliard, gregory.p.smith, iritkatriel, louielu, r.david.murray, serhiy.storchaka |
| Date |
2021年10月18日.07:52:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1634543569.5.0.5422568968.issue30570@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Oh yeah -- Py_EnterRecursiveCall/Py_LeaveRecursiveCall in abstract_get_bases would be simpler. Also, the set approach also probably still c-stack overflows on
class C:
def __getattr__(self, attr):
class A: pass
class B: pass
A.__getattr__ = B.__getattr__ = C.__getattr__
return (A(), B())
issubclass(C(), int) |
|