On 07/30/2015 04:50 PM, Alexander Belopolsky wrote:

I think we can change the behavior  datetime.__add__ and
datetime.__sub__ if we do it based on the type of the object attached
as tzinfo.

Yup, it's really the datetime.__xxx__ methods that need to do something 
different, so we can base that off a flag to the datetime, or the type of the 
tzinfo.

I suppose the key question is which will make it more obvious that "strict" 
rules are in affect?

--
~Ethan~
_______________________________________________
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