-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
API: Timestamp positional arguments not aligned with datetime.datetime #32526
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
Labels
Comments
Hi @mroeschke , i would like to take this up. |
Great @shang-vikas! This will involve a deprecation cycle as moving the position of the |
Closed
3 tasks
5 tasks
is this closed by #49416? |
Huh. The signature in |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Our
Timestamp
constructor is not positionally aligned withdatetime.datetime
since we support ananosecond
argument which comes in betweenmicrosecond
andtzinfo
.This is the main cause for #32174 as dispatching to
datetime.datetime
methods sometimes reconstructsTimestamp
with positional arguments.nanosecond
should be moved to the last positional argument in theTimestamp
constructor.The text was updated successfully, but these errors were encountered: