-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
REF factor out parse_pydatetime from array_to_datetime #49866
REF factor out parse_pydatetime from array_to_datetime #49866
Conversation
56afb9b
to
89eec4a
Compare
135d31a
to
657699e
Compare
raise ValueError('Cannot mix tz-aware with ' | ||
'tz-naive values') | ||
return tz_out | ||
|
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.
one more newline
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.
you're right (and that's another one for cython-lint!)
done
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.
Thanks Will and Brock for your reviews!
raise ValueError('Cannot mix tz-aware with ' | ||
'tz-naive values') | ||
return tz_out | ||
|
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.
you're right (and that's another one for cython-lint!)
done
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.
lgtm
thanks for your reviews and explanations! merging then to take the next step towards #49298 |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.Precursor to #49298 , for which this function will be used in
strptime.pyx
too