[Datetime-SIG] Drop datetime's offset restrictions?

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Aug 12 06:43:07 CEST 2015


On Tue, Aug 11, 2015 at 10:31 PM, Tim Peters <tim.peters at gmail.com> wrote:
> I propose dropping datetime's offset restrictions.

I believe after my work [1] from 5 years ago, implementing this should
be a simple matter of removing a few if statements.  I stopped short
of the original goal mainly because I did not want to deal with the
question of how datetimes with sub-minute offsets should be printed
when the relevant standard only gives you four digits for the UTC
offset.  [2]

[1]: http://bugs.python.org/issue5288
[2]: http://bugs.python.org/issue5288#msg109510


More information about the Datetime-SIG mailing list