Skip to content

gh-104873: Add typing.get_protocol_members and typing.is_protocol - #104878

Merged
JelleZijlstra merged 14 commits into
python:mainfrom
JelleZijlstra:protoattrs
Jun 14, 2023
Merged

gh-104873: Add typing.get_protocol_members and typing.is_protocol#104878
JelleZijlstra merged 14 commits into
python:mainfrom
JelleZijlstra:protoattrs

Conversation

@JelleZijlstra

@JelleZijlstraJelleZijlstra commented May 24, 2023

Copy link
Copy Markdown
Member

Comment threadLib/typing.py Outdated
Comment threadLib/typing.py Outdated
@bedevere-bot

Copy link
Copy Markdown

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@JelleZijlstraJelleZijlstra changed the title gh-104873: Add typing.get_protocol_membersgh-104873: Add typing.get_protocol_members and typing.is_protocolMay 24, 2023
@JelleZijlstra

Copy link
Copy Markdown
MemberAuthor

I didn't expect the Spanish inquisition!

@bedevere-bot

Copy link
Copy Markdown

Nobody expects the Spanish Inquisition!

@AlexWaygood: please review the changes made to this pull request.

Comment threadDoc/library/typing.rst Outdated
Comment threadDoc/library/typing.rst Outdated
Comment threadLib/test/test_typing.py Outdated
Comment threadLib/test/test_typing.py Outdated
Comment threadLib/typing.py Outdated
Comment threadLib/typing.py
JelleZijlstraand others added 2 commits May 24, 2023 13:10
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Comment threadDoc/whatsnew/3.13.rst Outdated
Comment threadLib/test/test_typing.py Outdated
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Comment threadDoc/library/typing.rst
Comment threadDoc/library/typing.rst Outdated
Comment threadLib/typing.py Outdated
Comment threadLib/typing.py Outdated
Comment threadLib/typing.py Outdated

@AlexWaygoodAlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'd love to get a third opinion from @gvanrossum or @Fidget-Spinner on the API, if possible

@JelleZijlstra

Copy link
Copy Markdown
MemberAuthor

FYI I also just emailed typing-sig about this to ask for feedback.

@JelleZijlstra

Copy link
Copy Markdown
MemberAuthor

Nobody spoke up against this on typing-sig, time to merge?

Comment threadLib/test/test_typing.py Outdated
Comment threadLib/test/test_typing.py Outdated
Comment threadLib/test/test_typing.py Outdated
Comment threadLib/typing.py Outdated
JelleZijlstraand others added 3 commits June 13, 2023 19:37
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

@AlexWaygoodAlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time to merge, in my opinion!

@JelleZijlstra
JelleZijlstra merged commit fc8037d into python:mainJun 14, 2023
@JelleZijlstra
JelleZijlstra deleted the protoattrs branch June 14, 2023 12:43
@JelleZijlstra
JelleZijlstra restored the protoattrs branch September 10, 2024 23:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@JelleZijlstra@bedevere-bot@AlexWaygood