Message302499
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:48 | gvanrossum | set | recipients:
+ gvanrossum, pitrou, vstinner, rbcollins, ezio.melotti, eric.araujo, eric.snow, martin.panter, serhiy.storchaka, veky |
| 2017-09-19 03:25:48 | gvanrossum | set | messageid: <[email protected]> |
| 2017-09-19 03:25:48 | gvanrossum | link | issue13224 messages |
| 2017-09-19 03:25:48 | gvanrossum | create | |
|