Message195155
It's called get_VIRTUAL_subclasses() for a reason. You can get the real subclasses of an ABC with standard tool, e.g. recurse into __subclasses__(). For virtual subclasses you have to deal with the internals like _abc_registry. I could implement all four cases: recurse True/False, only virtual True/False. But I prefer not to do so. |
|
Date |
User |
Action |
Args |
2013-08-14 13:39:49 | christian.heimes | set | recipients:
+ christian.heimes, rhettinger, pitrou, stutzbach |
2013-08-14 13:39:49 | christian.heimes | set | messageid: <1376487589.58.0.579762386816.issue18737@psf.upfronthosting.co.za> |
2013-08-14 13:39:49 | christian.heimes | link | issue18737 messages |
2013-08-14 13:39:49 | christian.heimes | create | |
|