D'Arcy J.M. Cain wrote:

> I am wondering about this code.
> 
> try: # use mx.DateTime module if available
>     from mx.DateTime import DateTime, \
>         TimeDelta, DateTimeType
> except ImportError: # otherwise use standard datetime module
>     from datetime import datetime as DateTime, \
>         timedelta as TimeDelta, datetime as DateTimeType
> 
> Does mx.DateTime give us anything that the standard module doesn't?  If
> not I would like to get rid of it rather than depending on a third
> party package to build ours.
> -- 
> D'Arcy J.M. Cain
> PyGreSQL Development Group
> http://www.PyGreSQL.org
> _______________________________________________
> PyGreSQL mailing list
> [email protected]
> http://mailman.vex.net/mailman/listinfo/pygresql

i think the only thing it adds is a parser.
i found it easier to write a datetime parser
than to get the mx packages installed :-)

cheers,
raf

_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to