-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-126883: Add check that timezone fields are in range for datetime.fromisoformat
#127242
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
base: main
Are you sure you want to change the base?
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
I haven't had a chance for a through review yet, but I'm in favor of the general approach and a casual glance looks good. Can you add a news blurb (credit yourself appropriately unless you don't want that for some reason), and if you aren't already in ACKS please add yourself there (again unless you don't want to be acknowledged for some reason). |
@erlend-aasland maybe you have free time to review and merge it |
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.
Can you please remove any unneeded style changes?
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
cc @pganssle @erlend-aasland |
C
implementationPython
implementationAlso error output for the
time.fromisoformat
function was fixed as indatetime.fromisoformat
in Python implementationdatetime.fromisoformat()
parses offset minutes outside 00-59 range #126883