You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PEP 484: NewType is now a class, not a function #2199
PEPs are historical documents, not living documentation, and at some point we should stop changing them. I guess we previously discussed this in #1942 and #2158.
For this particular change, I don't think it's especially important that PEP 484 is exactly correct. It's just an implementation detail.
Activity
AlexWaygood commentedon Dec 18, 2021
I recently had a PR to the mypy docs accepted, tackling this issue: python/mypy#11621
I think similar changes to PEP 484 would be good.
JelleZijlstra commentedon Dec 18, 2021
PEPs are historical documents, not living documentation, and at some point we should stop changing them. I guess we previously discussed this in #1942 and #2158.
For this particular change, I don't think it's especially important that PEP 484 is exactly correct. It's just an implementation detail.
gvanrossum commentedon Dec 18, 2021
Indeed. PEP 484 is no longer provisional.
CAM-Gerlach commentedon Mar 4, 2022
@gvanrossum It looks like it is still marked as such—should it be updated?
gvanrossum commentedon Mar 4, 2022
Yeah, should be Final. :-)
CAM-Gerlach commentedon Mar 4, 2022
Opened as PR #2380