31 Jul
2015
31 Jul
'15
12:16 a.m.
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~