On 08/25/2015 01:36 PM, Carl Meyer wrote:
...
> 1) Just set the `is_dst` flag to either True or False always. In a fold,
> this inevitably results in at least one slot which ends before it
> starts. My slot data structure was built to raise an exception in that
> scenario. I didn't want to remove this useful sanity check just for this
> rare case.
...

Note that this represents a case where the default "just guess" behavior
would actually result in the worst possible outcome: a crash that only
occurs on transition days.

Carl

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to