mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Preparing release 2.0b2.
This commit is contained in:
parent
918fb6e665
commit
635ab132c0
|
@ -1,5 +1,7 @@
|
|||
2005-05-18 Federico Di Gregorio <fog@debian.org>
|
||||
|
||||
* Release 2.0b2.
|
||||
|
||||
* ZPsycopgDA/DA.py (ALLOWED_PSYCOPG_VERSIONS): updated to work
|
||||
with 2.0b2 only (will support only the exact version untill final
|
||||
2.0 release.)
|
||||
|
@ -10,7 +12,7 @@
|
|||
2005-05-15 Federico Di Gregorio <fog@debian.org>
|
||||
|
||||
* psycopg/microprotocols.c (microprotocols_adapt): fixed memory
|
||||
leak on None as suggested by gh (bug #16.)
|
||||
leak on None as suggested by gh (closes: #16).
|
||||
|
||||
2005-05-10 Federico Di Gregorio <fog@debian.org>
|
||||
|
||||
|
|
13
NEWS
13
NEWS
|
@ -1,3 +1,16 @@
|
|||
What's new in psycopg 2.0 beta 2
|
||||
--------------------------------
|
||||
|
||||
* Fixed ZPsycopgDA version check (ZPsycopgDA can now be imported in
|
||||
Zope.)
|
||||
|
||||
* psycopg.extras.DictRow works even after a new query on the generating
|
||||
cursor.
|
||||
|
||||
* Better setup.py for win32 (should build with MSCV or mingw.)
|
||||
|
||||
* Generic fixed and memory leaks plugs.
|
||||
|
||||
What's new in psycopg 2.0 beta 1
|
||||
--------------------------------
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# See the LICENSE file for details.
|
||||
|
||||
|
||||
ALLOWED_PSYCOPG_VERSIONS = ('2.0b1', '2.0b2')
|
||||
ALLOWED_PSYCOPG_VERSIONS = ('2.0b2')
|
||||
|
||||
import sys
|
||||
import db
|
||||
|
@ -109,7 +109,7 @@ class Connection(DABase.Connection):
|
|||
|
||||
# check psycopg version and raise exception if does not match
|
||||
if psycopg.__version__ not in ALLOWED_PSYCOPG_VERSIONS:
|
||||
raise ImportError("psycopg version mismatch (imported %s)" +
|
||||
raise ImportError("psycopg version mismatch (imported %s)" %s
|
||||
psycopg.__version__)
|
||||
|
||||
self.set_type_casts()
|
||||
|
|
Loading…
Reference in New Issue
Block a user