Benjamin Peterson added the comment: I think it's better not write into the type dict in a getter. You might just use PyUnicode_InternFromString every time.
FWIW, __name__ also has this behavior. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com