On Mon, Aug 24, 2015 at 8:07 PM, Guido van Rossum <[email protected]> wrote:

> Sounds to me like Tim and Stuart disagree on the definition of conversion,
> though.


That's not surprising given that Tim's .fromutc() [1] *does not* change
.tzinfo  (so arguably it is not a timezone conversion) but *does* involve
arithmetic (because ignoring the DST nonsense, it is just dt +
dt.utcoffset()).

Fortunately, Tim has established that there are only two people in the
world that need to understand any of this, but Stuart is one of them. :-)

[1]: https://hg.python.org/cpython/file/v3.5.0rc1/Lib/datetime.py#l957
_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to