-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add signature for attr.evolve #14526
Changes from 11 commits
cd832cc
64a9e58
c145514
3477d2d
056ac66
8b7f3ca
d976202
1bdd315
4c8138d
46026fe
2316b06
5148e5f
cf756d1
34c8c94
87a4c0b
0976f86
babf91f
5443d51
5271233
bfcb366
0b79cc1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -1809,8 +1809,8 @@ def f() -> Iterator[None]: | |||||||||||||||||||||||||||||||||||||||
[typing fixtures/typing-medium.pyi] | ||||||||||||||||||||||||||||||||||||||||
[builtins fixtures/list.pyi] | ||||||||||||||||||||||||||||||||||||||||
[triggered] | ||||||||||||||||||||||||||||||||||||||||
2: <b>, __main__ | ||||||||||||||||||||||||||||||||||||||||
3: <b>, __main__, a | ||||||||||||||||||||||||||||||||||||||||
2: <b>, <b[wildcard]>, __main__ | ||||||||||||||||||||||||||||||||||||||||
3: <b>, <b[wildcard]>, __main__, a | ||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So.... the addition of Lines 636 to 639 in bac9e77
which then makes Lines 781 to 795 in a08388c
I've created #14547 to discuss this more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||||||||||||||
[out] | ||||||||||||||||||||||||||||||||||||||||
main:2: note: Revealed type is "contextlib.GeneratorContextManager[None]" | ||||||||||||||||||||||||||||||||||||||||
== | ||||||||||||||||||||||||||||||||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ class complex: | |
class str: pass | ||
class ellipsis: pass | ||
class tuple: pass | ||
class dict: pass |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ class str: | |
def __eq__(self, other: 'str') -> bool: pass | ||
class ellipsis: pass | ||
class list: ... | ||
class dict: pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JelleZijlstra now that we got this merged 😅 what would be the right place to discuss whether this should be promoted to be formal plugin API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open an issue, I suppose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👉 #14845