[issue44524] __name__ attribute in typing module

Guido van Rossum report at bugs.python.org
Tue Jun 29 10:46:03 EDT 2021


Guido van Rossum <guido at python.org> added the comment:

It sounds reasonable to add the __name__ attribute. Since these objects
aren't really types, the default mechanism for constructing a type doesn't
give them this. Are there other attributes that are missing? We should
probably add those too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44524>
_______________________________________


More information about the Python-bugs-list mailing list