Message245869
I view having a string __name__ attribute as part of quacking like a module (or class or function). Hence pseudonames like '<lambda>' (lambda expression) or <pyshell#n> (the module name for interactive input, where n is the line number). Is there a good reason for custom 'module' objects to not have a name? If so, the 'graceful muddle' precedent is to give them a pseudoname, such as <module>, perhaps with a prefix or suffix. |
|
Date |
User |
Action |
Args |
2015-06-26 21:05:19 | terry.reedy | set | recipients:
+ terry.reedy, brett.cannon, arigo, ncoghlan, larry, ethan.furman, eric.snow |
2015-06-26 21:05:19 | terry.reedy | set | messageid: <1435352719.37.0.597841818603.issue24492@psf.upfronthosting.co.za> |
2015-06-26 21:05:19 | terry.reedy | link | issue24492 messages |
2015-06-26 21:05:19 | terry.reedy | create | |
|