[Datetime-SIG] Another round on error-checking

Carl Meyer carl at oddbird.net
Tue Sep 1 19:01:45 CEST 2015


On 09/01/2015 11:00 AM, Alexander Belopolsky wrote:
> Here is an idea that I think may work: let's consider fold=1 instances
> as if they have a different tzinfo instance from the other side in both
> datetime subtractions and comparisons.  This will be consistent with the
> current stdlib and pytz work-arounds of representing "second" times
> using fictitious fixed-offset timezones. 

+1

Carl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150901/c24d8b73/attachment.sig>


More information about the Datetime-SIG mailing list