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

[Python-Dev] PEP 495 accepted

[Python-Dev] PEP 495 accepted [Python-Dev] PEP 495 acceptedfrancismb francismb at email.de
Thu Sep 24 22:13:17 CEST 2015
On 09/24/2015 04:47 AM, Nick Coghlan wrote:
> On 24 Sep 2015 01:21, "Tim Peters" <tim.peters at gmail.com> wrote:
> 
>>
>> Guido's reply gave a clearer invariant:
>>
>>     dt.timestamp() ==
>>     dt.astimezone(utc).timestamp() ==
>>     dt.astimezone(<any other tz>).timestamp()
>>

> Might it be worth mentioning Guido's invariant in the section of the PEP
> about the timestamp method?
> 

Or maybe worth adding it as unittest?

Regards,
francis


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