mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 10:53:44 +03:00
Preparing release 2.0.4.
This commit is contained in:
parent
f204da89b5
commit
f202c7fc81
|
@ -1,3 +1,10 @@
|
||||||
|
2006-08-02 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* Release 2.0.4.
|
||||||
|
|
||||||
|
* Fixed bug in float conversion (check for NULL string was
|
||||||
|
erroneously removed in 2.0.3!)
|
||||||
|
|
||||||
2006-07-31 Federico Di Gregorio <fog@initd.org>
|
2006-07-31 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* Release 2.0.3.
|
* Release 2.0.3.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# See the LICENSE file for details.
|
# See the LICENSE file for details.
|
||||||
|
|
||||||
|
|
||||||
ALLOWED_PSYCOPG_VERSIONS = ('2.0.1', '2.0.2', '2.0.3')
|
ALLOWED_PSYCOPG_VERSIONS = ('2.0.1', '2.0.2', '2.0.3', '2.0.4')
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -55,6 +55,8 @@ static PyObject *
|
||||||
typecast_FLOAT_cast(char *s, int len, PyObject *curs)
|
typecast_FLOAT_cast(char *s, int len, PyObject *curs)
|
||||||
{
|
{
|
||||||
char *pend;
|
char *pend;
|
||||||
|
|
||||||
|
if (s == NULL) {Py_INCREF(Py_None); return Py_None;}
|
||||||
PyObject *str = PyString_FromStringAndSize(s, len);
|
PyObject *str = PyString_FromStringAndSize(s, len);
|
||||||
PyObject *flo = PyFloat_FromString(str, &pend);
|
PyObject *flo = PyFloat_FromString(str, &pend);
|
||||||
Py_DECREF(str);
|
Py_DECREF(str);
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -52,7 +52,7 @@ from distutils.command.build_ext import build_ext
|
||||||
from distutils.sysconfig import get_python_inc
|
from distutils.sysconfig import get_python_inc
|
||||||
from distutils.ccompiler import get_default_compiler
|
from distutils.ccompiler import get_default_compiler
|
||||||
|
|
||||||
PSYCOPG_VERSION = '2.0.3'
|
PSYCOPG_VERSION = '2.0.4'
|
||||||
version_flags = []
|
version_flags = []
|
||||||
|
|
||||||
# to work around older distutil limitations
|
# to work around older distutil limitations
|
||||||
|
|
Loading…
Reference in New Issue
Block a user