Uh oh!
There was an error while loading. Please reload this page.
Add better default value for TypeVar default (PEP 696) - #85
Conversation
Gobot1234
commented
Oct 7, 2022
Should the default be not be public to allow people to check if a default wasn't passed? |
cdce8p
commented
Oct 7, 2022
That was my first idea. However, it's not actually necessary. Take a look at https://github.com/python/cpython/blob/v3.11.0rc2/Lib/typing.py#L159-L165 |
| @@ -1,3 +1,8 @@ | |||
| # Release 4.4.1 (?) | |||
There was a problem hiding this comment.
Might end up being 4.5.0, but we can change that later.
There was a problem hiding this comment.
We should probably just use UNRELEASED in the future.
Ref: #77 (comment)
/CC: @Gobot1234@JelleZijlstra
This is a solution. Let me know if you had something different in mind.