Author kj
Recipients BvB93, Jelle Zijlstra, farcat, gvanrossum, kj, lars2, lukasz.langa, miss-islington, serhiy.storchaka, uriyyo
Date 2021-08-05.10:58:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628161102.67.0.453947618836.issue44524@roundup.psfhosted.org>
In-reply-to
Content
@Bas van Beek, thanks for testing numpy on 3.10rc1 and sending that link over. I was confused about what your original question entailed. The link provided much more context :). Seems that __name__ = None unintentionally breaks things that use annotations to generate docstrings.

> I don't recall ever seeing a non-string name before, so I'd argue that this is a bug.

Yes.

> Whether we should have this feature is a distinct "problem" from its `__name__` being `None`

If we properly set __name__ for all typing special forms, it won't have this problem anymore right? So we can kill two birds with one stone :).

> I'd like to submit a PR.

Please do! I'm re-opening this issue. Thanks for informing us.
History
Date User Action Args
2021-08-05 10:58:22kjsetrecipients: + kj, gvanrossum, farcat, lukasz.langa, serhiy.storchaka, Jelle Zijlstra, miss-islington, uriyyo, BvB93, lars2
2021-08-05 10:58:22kjsetmessageid: <1628161102.67.0.453947618836.issue44524@roundup.psfhosted.org>
2021-08-05 10:58:22kjlinkissue44524 messages
2021-08-05 10:58:22kjcreate