This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients eric.araujo, eric.snow, ezio.melotti, gvanrossum, martin.panter, pitrou, rbcollins, serhiy.storchaka, veky, vstinner
Date 2017-09-19.03:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
For modules, __name__ is the fully-qualified name, and that's fine.

But for classes and functions __name__ is just the "given name" from the syntax (whatever came after 'def' or 'class') and that's not fine -- for anything except builtins where we do this I would like the str() to produce the fully-qualified name.

I presume by "functions" you mean only things defined with 'def' and excluding bound methods?
Date User Action Args
2017-09-19 03:25:48gvanrossumsetrecipients: + gvanrossum, pitrou, vstinner, rbcollins, ezio.melotti, eric.araujo, eric.snow, martin.panter, serhiy.storchaka, veky
2017-09-19 03:25:48gvanrossumsetmessageid: <>
2017-09-19 03:25:48gvanrossumlinkissue13224 messages
2017-09-19 03:25:48gvanrossumcreate