Skip to content

Conversation

@viccie30
Copy link
Contributor

@viccie30 viccie30 commented Jan 14, 2026

An overload of email.utils.parsedate_to_datetime taking and returning None was requested in #4713 and implemented in #4722, but this overload was never actually added to the module. It was added to parsedate and parsedate_tz. There has been talk in 2022 about adding the overload after all, but no supported Python release has ever had this overload.

@github-actions
Copy link
Contributor

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

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks!

@srittau srittau merged commit cd8b26b into python:main Jan 14, 2026
63 checks passed
@viccie30 viccie30 deleted the fix-email.utils.parsedate_to_datetime branch January 14, 2026 14:49
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.

2 participants