-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support Python 3.7 timezone in datetime bindings #207
Comments
Can I get some pointers on how to provide a wrapper for I see that we can do Also, how can one do |
@pickfire I'm thinking about the correct design for this; please allow me a few days. |
Just discussing, I will only get to use I believe I can just start with |
As part of #200 (which added the Python datetime bindings), the update for the full Python 3.7 interface, which includes:
PyDateTime_TimeZone_UTC
PyTimeZone_FromOffset
PyTimeZone_FromOffsetAndName
The timezone API was added to CPython in PR 5032.
I believe this can be accompanied on the Rust side by a
PyFixedTimeZone
object or something. It's worth noting that no_Check
methods accompany this, because you are really not intended to subclass these things.The text was updated successfully, but these errors were encountered: