bpo-44524: Add missed name and qualname to typing module objects by uriyyo · Pull Request #27237 · python/cpython (original) (raw)
I like how clean this change is for the collections.abc
types :).
On the issue, Lars (the bug reporter), also requested for the special forms (Union
, Any
, etc.) to have __name__
. So you may have to add it for the _SpecialForm
decorator too. However, there isn't a clear consensus yet. So let's wait a little.