Overloading ctor doesn't work?
nick at craig-wood.com
Fri Jan 21 05:30:02 EST 2005
Martin Häcker <dwt23 at hotmail.com> wrote:
> Now I thought, just overide the ctor of datetime so that year, month and
> day are static and everything should work as far as I need it.
> That is, it could work - though I seem to be unable to overide the ctor. :(
> Why is that?
Its a bug!
However its been fixed in a recent Python 2.3.
(I was bitten by the same thing which used to fail but now works after
an upgrade of python 2.3!)
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
More information about the Python-list