#28124: Timezone-related overflows in utils
-------------------------------------+-------------------------------------
Reporter: Zac | Owner: nobody
Hatfield Dodds |
Type: Bug | Status: new
Component: Utilities | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: | timezone,overflow,datetime
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Many methods in django/utils/timezone.py will raise OverflowError if given
an aware datetime and a timezone in which it is unrepresentable.
This is literally an edge case, and simply propagating the exception may
be the right thing to do. Either way, reporting upstream means
https://github.com/HypothesisWorks/hypothesis-python/issues/322 can be
closed.
--
Ticket URL: <https://code.djangoproject.com/ticket/28124>
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/049.9f94cbef817e07bb0f1069717728eea0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.