FDB release 1.2 is out:
http://pypi.python.org/pypi/fdb

New Features

* fdb.schema submodule for access to / work with database metadata.
* fdb.utils submodule with various helper classes and functions.
* New fdb.Connection.schema property for access to database schema.
* New ConnectionWithSchema connection class that provides more direct 
access to database schema than Connection.
* New fdb.Connection.firebird_version, fdb.Connection.version and 
fdb.Connection.engine_version properties.
* New Connection.ods read only property that returns ODS version number 
of connected database. There are also new module-level constants 
ODS_FB_20, ODS_FB_21 and ODS_FB_25.
* New fdb.Connection.query_transaction property. This is ReadOnly 
ReadCommitted transaction that could be active indefinitely without 
blocking garbage collection. It’s used internally to query metadata, but 
it’s generally useful.

Improvements

* Optional PEP 249 (Python DB API 2.0) Extensions

   - Connection.Error, Connection.ProgrammingError, etc.

     All exception classes defined by the DB API standard are exposed on 
the Connection objects as attributes (in addition to being available at 
module scope).

   - Cursor.connection

     This read-only attribute return a reference to the Connection 
object on which the cursor was created.

* Cursor.transaction read-only attribute returns a reference to the 
Transaction object on which the cursor was created.
* Optimized wekref management, especially for PreparedStatement.
* create_database now supports two methods for database screation. You 
can specify CREATE DATABASE statement (as before) or provide set of 
named database parameters (SQL statement is created automatically from 
them).
* Functions connection and create_database now take optional keyword 
parameter connection_class to obtain instances of different class 
instead Connection.
* Support for legacy (pre-2.5) shutdown mode with mode 
fdb.services.SHUT_LEGACY.
* fdb.Cursor.executemany() returns self, so it could be used directly as 
iterator.
* Documentation improvements.

Bugs Fixed

* Unregistered: buffers parameter of fdb.connection doesn’t support 
values greater than 255.
* Unregistered: Lowercase character set name passed to fdb.connect may 
result in wrong funcion of automatic data conversions and other failures 
(exceptions raised).

Next version 1.3 will have similar support for monitoring tables.

best regards
Pavel Cisar
IBPhoenix


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-python/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-python/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-python-dig...@yahoogroups.com 
    firebird-python-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-python-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to