Unspecific Exception for .localize() of non-existent local time
Bug #195626 reported by
Paul Lanier
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pytz |
Fix Released
|
Wishlist
|
Stuart Bishop |
Bug Description
If you try to localize() a non-existent datetime like datetime.
Related branches
Changed in pytz: | |
assignee: | nobody → stub |
status: | Triaged → In Progress |
Changed in pytz: | |
status: | In Progress → Fix Committed |
Changed in pytz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This shouldn't be a problem. A subclass of IndexError would be best.