-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ERR: Timestamp.__new__ accepts both tz and tzinfo #17690
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
Comments
[13] |
I'd be OK with a "well the user clearly intended..." approach or a raising approach, but don't like silently ignoring the input. |
yeah this need some internal conversion for some tests should nail this down. |
Any preference between the raise for accept-when-unambiguous? I lean slightly towards the latter. |
tzinfo as a string is plain wrong and should raise |
Why are there separate tz and tzinfo kwargs? The following is not intuitive:
The text was updated successfully, but these errors were encountered: