#27138: timezone.localtime accepts naive datetimes on Python ≥ 3.6
-------------------------------------+-------------------------------------
Reporter: Aymeric Augustin | Owner: Joachim
| Jablon
Type: Bug | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: assigned => closed
* resolution: => fixed
Comment:
In fd78fb82d633a23e04eac72c7e1f41cac75e4c5b:
Fixed #27138 -- Restored pre-Python 3.6 behavior of localtime() and
make_naive() on Python 3.6.
Reverted test changes in a7a7ecd2b026c61a39a46d2d7eced0e06a92c970 and
e43ea36b7681e43ea99505a2cf7550d4d36016b3 (refs #27025).
--
Ticket URL: <https://code.djangoproject.com/ticket/27138#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.5a56ce35174c6f6c66605827922848c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.