29 Jan
2015
29 Jan
'15
7:29 p.m.
On Thu, Jan 29, 2015, at 14:19, Yawar Amin wrote:
Hi Chris, sorry for the top-posting; replying from my phone.
My test implementation works for me on Python 2.7, see http://repl.it/9Wz
Notice especially the last few assertions, where normal datetime objects are on the LHS.
How'd you do that? Does python always know to use the derived class's operators when working with a base class and a derived class?