Re: [Python-Dev] PEP 495 accepted

2015年9月24日 13:39:42 -0700

On 09/24/2015 04:47 AM, Nick Coghlan wrote:
> On 24 Sep 2015 01:21, "Tim Peters" <[email protected]> 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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to