<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 25, 2015 at 1:56 PM, Stuart Bishop <span dir="ltr"><<a href="mailto:stuart@stuartbishop.net" target="_blank">stuart@stuartbishop.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":zq" class="" style="overflow:hidden">What would be even nicer is if users didn't have to use localize at all:<br>
<br>
>> datetime.now(tz=pytz.timezone('US/Eastern'))</div></blockquote></div><br>This is certainly one of the main goals of PEP 495.  Note that datetime.now() will never produce an invalid datetime and will always set the fold attribute correctly in the (two-)fold case if pytz.timezone('US/Eastern') follows PEP guidelines.  Therefore there is no need for the third fold value in this case.</div></div>