Serhiy Storchaka added the comment:

> So maybe we just need to add all ABC caches to typing._cleanups (just in 
> case).

I don't know. Sorry, I didn't remember exactly reasons why I didn't move the 
clearing of all ABC caches into clear_caches(). Perhaps I suspected that this 
can have unwanted consequences or decrease performance too much.

Are typing.ChainMap and others actually abstract classes? If yes, then perhaps 
there is something wrong with inspect.isabstract(). If no, then why ABC caches 
for these classes exist and non-empty?

----------
nosy: +haypo, rhettinger, stutzbach

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to