Release 2.0 beta 1.

This commit is contained in:
Federico Di Gregorio 2005-05-09 09:48:40 +00:00
parent 8c2ac0658c
commit d57ceaadc6
4 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2005-05-09 Federico Di Gregorio <fog@debian.org> 2005-05-09 Federico Di Gregorio <fog@debian.org>
* Release 2.0 beta 1.
* psycopg/typecast_datetime.c (typecast_PYDATETIME_cast): fixed a * psycopg/typecast_datetime.c (typecast_PYDATETIME_cast): fixed a
typo (pyDateTimeModuleP->pyDateTimeTypeP) that was causing errors typo (pyDateTimeModuleP->pyDateTimeTypeP) that was causing errors
with infinite datetime values. with infinite datetime values.

2
NEWS
View File

@ -14,7 +14,7 @@ What's new in psycopg 2.0 beta 1
* Added error codes to error messages. * Added error codes to error messages.
* The AsIs adapter is now exported by default (also Decimal objects are * The AsIs adapter is now exported by default (also Decimal objects are
adapter using the AsIs adapter (when str() is called on them they adapted using the AsIs adapter (when str() is called on them they
already format themselves using the right precision and scale.) already format themselves using the right precision and scale.)
* The connect() function now takes "connection_factory" instead of * The connect() function now takes "connection_factory" instead of

View File

@ -223,6 +223,10 @@ psyco_adapters_init(PyObject *mod)
#ifdef HAVE_PYBOOL #ifdef HAVE_PYBOOL
microprotocols_add(&PyBool_Type, NULL, (PyObject*)&pbooleanType); microprotocols_add(&PyBool_Type, NULL, (PyObject*)&pbooleanType);
#endif #endif
#ifdef HAVE_DECIMAL
microprotocols_add((PyTypeObject*)decimalType, NULL, (PyObject*)&asisType);
#endif
} }
/* psyco_encodings_fill /* psyco_encodings_fill

View File

@ -54,7 +54,7 @@ from distutils.errors import DistutilsFileError
from distutils.command.build_ext import build_ext from distutils.command.build_ext import build_ext
from distutils.sysconfig import get_python_inc from distutils.sysconfig import get_python_inc
PSYCOPG_VERSION = '1.99.13' PSYCOPG_VERSION = '2.0b1'
version_flags = [] version_flags = []
# to work around older distutil limitations # to work around older distutil limitations