STINNER Victor added the comment:

"But we should check dicts of all parents. It will has significant penalty, 
especially for classes having long mro (inheriting metaclass from typing module 
cause long mro)."

Oh right. That would defeat the whole purpose of the cache.

Maybe we should not fix the bug. You are not supposed to access the hidden 
dictionary :-)


Python tracker <>
Python-bugs-list mailing list

Reply via email to