A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-September/141586.html below:

[Python-Dev] PEP 495 Was: PEP 498: Literal String Interpolation is ready for pronouncement

[Python-Dev] PEP 495 Was: PEP 498: Literal String Interpolation is ready for pronouncement [Python-Dev] PEP 495 Was: PEP 498: Literal String Interpolation is ready for pronouncementAlexander Belopolsky alexander.belopolsky at gmail.com
Sat Sep 12 04:43:32 CEST 2015
On Fri, Sep 11, 2015 at 10:00 PM, Random832 <random832 at fastmail.com> wrote:
>
> The current datetime rules, such as they are, as far as I am aware,
> order all aware datetimes (except spring-forward) according to the UTC
> moment they map to.


No.  See the library reference manual: "If both comparands are aware, and
have the same tzinfo attribute, the common tzinfo attribute is ignored and
the base datetimes are compared." <
https://docs.python.org/3/library/datetime.html>

The reasons for this have been explained at length in the recent
Datetime-SIG discussions.  Please check the archives if you are interested:
<https://mail.python.org/pipermail/datetime-sig/2015-August/000169.html>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150911/958348e8/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4