Message298536
Thanks for the suggestion, but I don't think so.
Python imports are not lazy. They are ordered. Python is an *interpreted* language, so __subclasses__ is only going to hold those subclasses whose class definitions have been executed. This is fundamental to how the language works, and does not warrant a special note here. Note that the entry already includes something that should give a strong hint about this even if you hadn't previously thought about it: the statement that it only includes subclasses that are "still alive". This implies they aren't in the list until they become alive. |
|
Date |
User |
Action |
Args |
2017-07-17 15:17:58 | r.david.murray | set | recipients:
+ r.david.murray, guettli |
2017-07-17 15:17:57 | r.david.murray | set | messageid: <1500304677.99.0.723102469675.issue30948@psf.upfronthosting.co.za> |
2017-07-17 15:17:57 | r.david.murray | link | issue30948 messages |
2017-07-17 15:17:57 | r.david.murray | create | |
|