On Fri, Feb 13, 2015 at 1:11 PM, Guido van Rossum <gu...@python.org> wrote:
> > >> Note that the original pure python prototype of the datetime module had >> date.__add__ and friends call self.__class__(year, month, day). >> Unfortunately, it looks like the original sandbox did not survive the the >> hg conversion, so I cannot provide a link to the relevant history. >> > > FWIW you're wrong when you claim that "a constructor is no different from > any other method". Someone else should probably explain this (it's an old > argument that's been thoroughly settled). > Well, the best answer I've got in the past [1] was "ask on python-dev since Guido called the operator overriding expectation." :-) [1] http://bugs.python.org/issue2267#msg108060
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com