cx_Oracle 5.1

Anthony Tuininga anthony.tuininga at gmail.com
Mon Mar 21 14:38:32 CET 2011


What is cx_Oracle?

cx_Oracle is a Python extension module that allows access to Oracle and
conforms to the Python database API 2.0 specifications with a few
exceptions.


Where do I get it?

http://cx-oracle.sourceforge.net


What's new?

1) Remove support for UNICODE mode and permit Unicode to be passed
through everywhere a string may be passed in. This means that strings
will be passed through to Oracle using the value of the NLS_LANG
environment variable in Python 3.x as well. Doing this eliminated a
bunch of problems that were discovered by using UNICODE mode and also
removed an unnecessary restriction in Python 2.x that Unicode could
not be used in connect strings or SQL statements, for example.

2) Added support for creating an empty object variable via a named
type, the first step to adding full object support.

3) Added support for Python 3.2.

4) Account for lib64 used on x86_64 systems. Thanks to Alex Wood for
supplying the patch.

5) Clear up potential problems when calling cursor.close() ahead of
the cursor being freed by going out of scope.

6) Avoid compilation difficulties on AIX5 as OCIPing does not appear
to be available on that platform under Oracle 10g Release 2. Thanks to
Pierre-Yves Fontaniere for the patch.

7) Free temporary LOBs prior to each fetch in order to avoid leaking
them. Thanks to Uwe Hoffmann for the initial patch.


More information about the Python-announce-list mailing list