Preparing release 2.0 beta 6.

This commit is contained in:
Federico Di Gregorio 2005-11-16 13:47:11 +00:00
parent 13a1dd197c
commit 3a34182307
4 changed files with 16 additions and 8 deletions

View File

@ -1,5 +1,7 @@
2005-11-16 Federico Di Gregorio <fog@initd.org> 2005-11-16 Federico Di Gregorio <fog@initd.org>
* Preparing release 2.0 beta 6.
* lib/__init__.py: very nice hack from Harald Armin Massa to allow * lib/__init__.py: very nice hack from Harald Armin Massa to allow
py2exe and similar tools to do their work without problems. py2exe and similar tools to do their work without problems.

6
NEWS
View File

@ -5,6 +5,12 @@ What's new in psycopg 2.0 beta 6
* Safer parsing of time intervals. * Safer parsing of time intervals.
* Better parsing of times and dates, no more locale problems.
* Should now play well with py2exe and similar tools.
* The "decimal" module is now used if available under Python 2.3.
What's new in psycopg 2.0 beta 5 What's new in psycopg 2.0 beta 5
-------------------------------- --------------------------------

View File

@ -18,7 +18,7 @@
# See the LICENSE file for details. # See the LICENSE file for details.
ALLOWED_PSYCOPG_VERSIONS = ('2.0b4', '2.0b5') ALLOWED_PSYCOPG_VERSIONS = ('2.0b4', '2.0b5', '2.0b6')
import sys import sys
import time import time
@ -59,12 +59,12 @@ def manage_addZPsycopgConnection(self, id, title, connection_string,
# the connection object # the connection object
class Connection(Shared.DC.ZRDB.Connection.Connection): class Connection(Shared.DC.ZRDB.Connection.Connection):
"""ZPsycopg 2 Connection.""" """ZPsycopg Connection."""
_isAnSQLConnection = 1 _isAnSQLConnection = 1
id = 'Psycopg2_database_connection' id = 'Psycopg_database_connection'
database_type = 'Psycopg2' database_type = 'Psycopg'
meta_type = title = 'Z Psycopg 2 Database Connection' meta_type = title = 'Z Psycopg Database Connection'
icon = 'misc_/ZPsycopgDA/conn' icon = 'misc_/ZPsycopgDA/conn'
def __init__(self, id, title, connection_string, def __init__(self, id, title, connection_string,
@ -185,7 +185,7 @@ class Connection(Shared.DC.ZRDB.Connection.Connection):
classes = (Connection,) classes = (Connection,)
meta_types = ({'name':'Z Psycopg 2 Database Connection', meta_types = ({'name':'Z Psycopg Database Connection',
'action':'manage_addZPsycopgConnectionForm'},) 'action':'manage_addZPsycopgConnectionForm'},)
folder_methods = { folder_methods = {
@ -193,7 +193,7 @@ folder_methods = {
'manage_addZPsycopgConnectionForm': manage_addZPsycopgConnectionForm} 'manage_addZPsycopgConnectionForm': manage_addZPsycopgConnectionForm}
__ac_permissions__ = ( __ac_permissions__ = (
('Add Z Psycopg 2 Database Connections', ('Add Z Psycopg Database Connections',
('manage_addZPsycopgConnectionForm', 'manage_addZPsycopgConnection')),) ('manage_addZPsycopgConnectionForm', 'manage_addZPsycopgConnection')),)
# add icons # add icons

View File

@ -17,7 +17,7 @@
# #
# See the LICENSE file for details. # See the LICENSE file for details.
__doc__ = "ZPsycopg 2 Database Adapter Registration." __doc__ = "ZPsycopg Database Adapter Registration."
__version__ = '2.0' __version__ = '2.0'
import DA import DA