<div dir="ltr">For those who prefer using Github's review tools, I have republished the PEP at <<a href="https://github.com/abalkin/ltdf/tree/pep-0495">https://github.com/abalkin/ltdf/tree/pep-0495</a>>.<div><br></div><div>Comments and pull requests are welcome.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 20, 2015 at 11:49 PM, 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"><span class="">On Sat, Aug 15, 2015 at 8:49 PM, Alexander Belopolsky <<a href="mailto:alexander.belopolsky@gmail.com" target="_blank">alexander.belopolsky@gmail.com</a>> wrote:<br>><br>> PEP 495 [1] is a deliberately minimalistic proposal to remove an<br>> ambiguity in representing some local times as datetime.datetime<br>> objects.<br><br></span>A major issue has come up since my announcement above.  Tim Peters have noticed that PEP 495 would violate the "hash invariant" unless the fold attribute is accounted for in inter-zone comparisons.<br>See [2] for details.  This issue has been resolved by modifying the definition [3] of the "==" operator for aware datetimes with post-PEP tzinfo.  Note that no program will be affected by this change unless it uses a post-PEP tzinfo implementation.<br><br>I made some smaller changes [4] to the PEP as well and it should finally be ready for pronouncement.<br><br>[1]: <a href="https://www.python.org/dev/peps/pep-0495" target="_blank">https://www.python.org/dev/peps/pep-0495</a><br>[2]: <a href="https://mail.python.org/pipermail/datetime-sig/2015-September/000625.html" target="_blank">https://mail.python.org/pipermail/datetime-sig/2015-September/000625.html</a> <br>[3]: <a href="https://www.python.org/dev/peps/pep-0495/#aware-datetime-equality-comparison" target="_blank">https://www.python.org/dev/peps/pep-0495/#aware-datetime-equality-comparison</a><br>[4]: <a href="https://hg.python.org/peps/log/39b7c1da05a2/pep-0495.txt" target="_blank">https://hg.python.org/peps/log/39b7c1da05a2/pep-0495.txt</a></div>
</blockquote></div><br></div>