On 10 April 2015 at 22:57, Glenn Linderman wrote:
> On 4/10/2015 5:27 AM, Stuart Bishop wrote:
>
> P.S. The description of NonExistentTimeError in the PEP doesn't seem quite
>> right, as it currently says it will only be thrown if "is_dst=None", which
>> seems like a copy and paste error from the
On Fri, Apr 10, 2015 at 12:43 PM, Isaac Schwabacher
wrote:
> (and strptime doesn't even let you pass in a time zone)
Not true:
>>> datetime.strptime('-0400 EDT', '%z %Z')
datetime.datetime(1900, 1, 1, 0, 0,
tzinfo=datetime.timezone(datetime.timedelta(-1, 72000), 'EDT'))
___
On Fri, Apr 10, 2015 at 6:38 AM, Nick Coghlan wrote:
> It actually took me a long time to understand that the "isdst" flag in
> this context related to the following chain of reasoning:
>
> 1. Due to various reasons, local time offsets relative to UTC may change,
> thus repeating certain subsets