Anthony Tuininga
49f9c14f97
Final changes required to make cx_Oracle compile with Python 3.x.
2008-10-17 03:23:25 +00:00
Anthony Tuininga
3e55613248
Replace all occurrences of PyInt_AS_LONG with PyInt_AsLong since Python 3.x
...
doesn't have a separate integer type.
2008-10-17 03:04:48 +00:00
Anthony Tuininga
c2fbe9a801
Further work toward supporting Python 3.x.
2008-10-16 21:37:08 +00:00
Anthony Tuininga
373e79572d
Fix comments.
2008-10-16 15:36:41 +00:00
Anthony Tuininga
2375320d5b
Fix check for macro.
2008-10-16 13:46:24 +00:00
Anthony Tuininga
28a8cf42be
Add macros for backwards compatibility if needed.
2008-10-16 04:25:36 +00:00
Anthony Tuininga
4d2a8c57de
Dropped support for Python 2.3.
2008-10-16 04:19:14 +00:00
Anthony Tuininga
5bf582907c
Remove remaining references to PyString_* functions to enable support for full
...
Unicode mode and eventual support for Python 3.x.
2008-10-16 04:08:15 +00:00
Anthony Tuininga
515bca0f96
All test cases now run correctly in Unicode mode. There are still additional
...
things that need to be dealt with but the majority of the code has now been
transformed to use either Unicode or encoded strings with Oracle.
2008-10-15 22:45:29 +00:00
Anthony Tuininga
432d830f20
This information is already available via clientversion() so there is no need
...
for it and in fact may be confusing.
2008-10-14 21:30:44 +00:00
Anthony Tuininga
660898ecda
Add support for showing the OCI client version that cx_Oracle was compiled
...
against which can be fairly useful.
2008-10-14 20:33:51 +00:00
Anthony Tuininga
7d67968e3a
Rename macros as suggested by Amaury Forgeot d'Arc.
2008-10-14 15:55:37 +00:00
Anthony Tuininga
2e26d0beb8
Continued work on Unicode support; added new test cases for full unicode
...
support within Python 2.x; move away from character semantics which Oracle is
deprecating anyway to byte semantics which should hopefully eliminate the
problem with a backend character set of UTF-8.
2008-10-14 04:51:43 +00:00
Anthony Tuininga
82747e408c
Added support for establishing connections to Oracle using Unicode while
...
retaining support for establishing connections using ASCII strings.
2008-10-10 20:06:34 +00:00
Anthony Tuininga
c424a823a8
First cut at adding support for full unicode which is required by Python 3 but
...
the code is structured so that this can be done with Python 2.x as well if
desired; the only thing currently working is the determination of error
messages.
2008-10-10 04:18:05 +00:00
Anthony Tuininga
a2466272b5
Expose the DATETIME variable type properly instead of using the return value
...
type; thanks to Amaury Forgeot d'Arc for pointing out this discrepancy.
2008-10-09 21:59:09 +00:00
Anthony Tuininga
8e506ceeea
Make a base type for all variables so that the attributes and methods are
...
shared without having to specify such; remove references to methods that get
the attributes and methods dynamically since these are deprecated in Python 2.6
and above. Thanks to Amaury Forgeot d'Arc for the initial patch.
2008-10-02 19:00:06 +00:00
Anthony Tuininga
6c13ccbe5f
Use macro PyVarObject_HEAD_INIT as suggested by Amaury Forgeot d'Arc in order
...
to facilitate migration to Python 3.0.
2008-10-02 17:34:16 +00:00
Anthony Tuininga
243849a5ff
Use Py_TYPE to determine the type of an object rather than referencing the
...
attribute directly as suggested by Amauary Forgeot d'Arc.
2008-10-02 17:24:21 +00:00
Anthony Tuininga
ea3def86c5
Added support for returning unicode values for nchar and nvarchar data and
...
for binding unicode. Thanks to Amaury Forgeot d'Arc for the initial patch.
2008-09-30 18:11:45 +00:00
Anthony Tuininga
58c10b68ae
Inital cut of support for DRCP and events mode as requested by Christopher
...
Jones.
2008-07-06 05:08:01 +00:00
Anthony Tuininga
93490d971d
Removed support for Oracle 8i since Oracle support for it was dropped long
...
ago and adding support for Oracle 11g features would be very difficult
while attempting to retain Oracle 8i support.
2008-06-28 04:44:04 +00:00
Anthony Tuininga
b1c77b8456
Added support for setting CLIENT_DRIVER in V$SESSION_CONNECT_INFO in Oracle 11g
...
and higher.
2008-06-04 17:28:43 +00:00
Anthony Tuininga
2ecf97230d
Added support for starting up and shutting down the database using the new
...
methods available in Oracle 10g Release 2 and higher.
2007-10-01 19:47:24 +00:00
Anthony Tuininga
8c93273f5e
Added support for determining the version of the client library being used,
...
available in Oracle 10g Release 2 and higher.
2007-09-30 04:51:44 +00:00
Anthony Tuininga
3eb4d33c54
Added support for connection.ping() which can be used to test whether or not a
...
connection is still active or not.
2007-09-30 02:19:03 +00:00
Anthony Tuininga
21f1839d1a
Fixed support for native doubles and floats in Oracle 10g; added new type
...
NATIVE_FLOAT to allow specification of a variable of that specific type where
desired. Thanks to D.R. Boxhoorn for pointing out the fact that this was not
working properly when the arraysize was anything other than 1.
2007-06-27 14:34:34 +00:00
Anthony Tuininga
5025b4eb22
Replaced all tabs with spaces.
2007-06-27 14:00:34 +00:00
Anthony Tuininga
104e11b67a
Last public release from Computronix.
2007-06-13 21:15:16 +00:00