deprecate timezone.FixedOffset in favor of datetime.timezone
We have FixedOffset
class each instance of which represents a timezone defined by a fixed offset from UTC, in Python 3.2 was added datetime.timezone
class needed for the same purpose, so now we can get rid of our implementation.
The possible pitfall is that FixedOffset.dst()
returns timedelta(0)
, but datetime.timezone.dst()
returns None
.
Owner: |
changed from nobody to Sergey Fedoseev
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR