Nick Craig-Wood wrote:
Martin Häcker <[EMAIL PROTECTED]> 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. :(
Its a bug!
http://sourceforge.net/tracker/index.php?func=detail&aid=720908&group_id=5470&atid=105470
However its been fixed in a recent Python 2.3.
My example was developed in Python 2.4. The problem was the immutability of
datetime.
Kent
(I was bitten by the same thing which used to fail but now works after
an upgrade of python 2.3!)
--
http://mail.python.org/mailman/listinfo/python-list