eryksun added the comment: See type_dir: https://hg.python.org/cpython/file/ab2c023a9432/Objects/typeobject.c#l2984 ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22790> _______________________________________