Skip to content

PEP 728: Address feedback from Carl #4393

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

Merged
merged 3 commits into from
Apr 30, 2025
Merged

PEP 728: Address feedback from Carl #4393

merged 3 commits into from
Apr 30, 2025

Conversation

PIG208
Copy link
Contributor

@PIG208 PIG208 commented Apr 29, 2025

Discussion:
https://discuss.python.org/t/pep-728-typeddict-with-typed-extra-items/45443/153

This mainly clarifies indexed accesses and assignments with arbitrary str keys.

cc @carljm :

Let me know if there is anything else you have in mind!

  • Change is either:
    • To a Draft PEP
    • To an Accepted or Final PEP, with Steering Council approval
    • To fix an editorial issue (markup, typo, link, header, etc)
  • PR title prefixed with PEP number (e.g. PEP 123: Summary of changes)

📚 Documentation preview 📚: https://pep-previews--4393.org.readthedocs.build/

@PIG208 PIG208 requested a review from JelleZijlstra as a code owner April 29, 2025 06:05
Copy link
Member

@carljm carljm left a comment

Choose a reason for hiding this comment

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

Thank you! I was planning to do this, but clearly hadn't gotten to it yet. This update looks great to me, and addresses all of my comments. Just one comment inline on something that still doesn't quite look right to me.

Copy link
Contributor

@rchen152 rchen152 left a comment

Choose a reason for hiding this comment

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

LGTM (assuming the review comments are addressed)

@PIG208
Copy link
Contributor Author

PIG208 commented Apr 30, 2025

Thanks for the review! Pushed an update. Left a conversation open to confirm if the edit makes sense.

Copy link
Member

@carljm carljm left a comment

Choose a reason for hiding this comment

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

This looks good to me. We've had a couple days for reviews, I think I will go ahead and merge.

@carljm carljm merged commit 202b0aa into python:main Apr 30, 2025
5 checks passed
@PIG208 PIG208 deleted the revised branch May 1, 2025 03:15
Sign up for free to 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.

4 participants