Skip to content
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

stdlib updates for latest Python patch releases #12638

Merged
merged 6 commits into from
Sep 11, 2024

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Sep 11, 2024

Closes: #12631

@srittau srittau changed the title Stub security fixes in email module stdlib updates for latest Python patch releases Sep 11, 2024

This comment has been minimized.

@srittau srittau marked this pull request as ready for review September 11, 2024 10:29
# Added in Python 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.5
verify_generated_headers: bool = ...,
) -> Self: ...
def __add__(self, other: Any) -> Self: ...
Copy link
Member

Choose a reason for hiding this comment

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

The type of other could probably be limited to Policy or _PolicyBase.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was thinking the same. I'll just use Policy as it seems that _PolicyBase is only ever used as base for Policy. (This whole policy thing looks to be an over-aggressive application of SmallTalk-/Java-based patterns and plans for future compatibility that never turned out to be necessary.)

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit c7c4308 into python:main Sep 11, 2024
63 checks passed
@srittau srittau deleted the stdlib-email-sec branch September 11, 2024 15:58
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.

Daily tests failed on Tue Sep 10 2024
2 participants