Serhiy Storchaka added the comment: This is what my first path does. But this slows down retrieving the __module__ attribute (from 0.2 usec to 0.4 usec on my computer). Maybe I haven't bother.
Interning __name__ and __qualname__ is less important, because different functions and classes usually have different names. ---------- _______________________________________ 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