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/141613.html below:

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 pronouncementLaura Creighton lac at openend.se
Sun Sep 13 11:03:37 CEST 2015
In a message of Sat, 12 Sep 2015 20:49:12 -0400, Terry Reedy writes:
>and, if we are stuck with <-intransitivity, what do we do? If 
>back-compatibility allowed, I might suggest defining 'lt' or 'less' 
>rather than '__lt__' so that sort and bisect don't work with DateTimes. 
>Then document that the function is not transitive.

I think it would be better to document what you are supposed to
do if you have a list of DateTimes and want to sort them, as a
way to get a list of times sorted from the earliest to the latest.

Laura

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