[PyGreSQL] datetime.date and float and nan
D'Arcy J.M. Cain
darcy at PyGreSQL.org
Fri Jul 15 12:26:34 EDT 2011
On Fri, 15 Jul 2011 17:02:43 +0100
Maxim Yegorushkin <maxim.yegorushkin at gmail.com> wrote:
> I've been using PyGreSQL-4.0 module and I quite like it.
Cool.
> However, it misses support for datetime.date objects and can't correctly
> quote floats with nan value. So, I thought you may like to consider adding
> the following to pgdb.py:
Looks reasonable. Can you work up the unit tests as well? See the
script TEST_PyGreSQL_dbapi20.py. I did check and your changes don't
break the existing tests but we always like to add new tests along with
new code.
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
More information about the PyGreSQL
mailing list