|
Hi,
Since I upgraded to Python 2.4 all my
'select ... date ... from ...' commands to MySQL seem to return this
format:
"datetime.date ('2005',
'01'. '01')"
when my routines expect:
"2005-01-01"
Consequently, I get errors no end like this
one:
TypeError: unsupported operand type(s)
for -: 'int' and 'datetime.date'
Any idea anyone how to fix this problem at
the root rather than scratching every itch for some considerable time to
come and cluttering my programs with hacks in the process? Is there a
configuration setting somewhere?
Thanks
Frederic
|
_______________________________________________ DB-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/db-sig
