<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 1:43 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Wed, Sep 9, 2015 at 10:24 AM, Alexander Belopolsky <span dir="ltr"><<a href="mailto:alexander.belopolsky@gmail.com" target="_blank">alexander.belopolsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 12:33 PM, Tim Peters <span dir="ltr"><<a href="mailto:tim.peters@gmail.com" target="_blank">tim.peters@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">+0.  The base (tzinfo) class requires the datetime argument because,<br>
in general, a zone's name depends on the datetime (like "is it in the<br>
zone's "daylight" time"?).</div></blockquote></div><br></span>I was thinking of returning the "zoneinfo" name such as America/New_York in this case.  This would end the debate about what is the "proper" timezone name: if you know the date and time - you can get a specific EST/EDT abbreviation.  If not - you'll just get whatever the zoneinfo calls itself.</div></div></blockquote><div><br></div></div></div><div>But that's not directly related to the proposal, is it? The proposal is to treat tz.tzname() the same as tz.tzname(None) -- not to give the former a different meaning.<br></div><div><br></div></div></div></div></blockquote><div>Right.  That's an independent proposal.  I was mostly responding to Tim's comment. </div></div><br></div></div>