Skip to content

Commit 55b0d5d

Browse files
Removed deprecated types UNICODE, FIXED_UNICODE and LONG_UNICODE.
1 parent 9c7eb12 commit 55b0d5d

3 files changed

Lines changed: 2 additions & 24 deletions

File tree

doc/module.rst

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -814,13 +814,6 @@ Types
814814
This type is an extension to the DB API definition.
815815

816816

817-
.. data:: FIXED_UNICODE
818-
819-
.. note::
820-
821-
Deprecated. Please use FIXED_NCHAR instead.
822-
823-
824817
.. data:: INTERVAL
825818

826819
This type object is used to describe columns in a database that are of type
@@ -873,13 +866,6 @@ Types
873866
This type is an extension to the DB API definition.
874867

875868

876-
.. data:: LONG_UNICODE
877-
878-
.. note::
879-
880-
Deprecated. Please use LONG_NCHAR instead.
881-
882-
883869
.. data:: NATIVE_FLOAT
884870

885871
This type object is used to describe columns in a database that are of type
@@ -957,13 +943,6 @@ Types
957943
This attribute is an extension to the DB API definition.
958944

959945

960-
.. data:: UNICODE
961-
962-
.. note::
963-
964-
Deprecated. Please use NCHAR instead.
965-
966-
967946
.. _exceptions:
968947

969948
Exceptions

doc/releasenotes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Version 5.3 (TBD)
5050
23) Added support for pickling/unpickling error objects
5151
(`Issue #23 <https://bitbucket.org/anthony_tuininga/cx_oracle/issues/23>`_)
5252
24) Dropped support for callbacks on OCI functions.
53+
25) Removed deprecated types UNICODE, FIXED_UNICODE and LONG_UNICODE (use
54+
NCHAR, FIXED_NCHAR and LONG_NCHAR instead).
5355

5456

5557
Version 5.2.1 (January 2016)

src/cx_Oracle.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,6 @@ static PyObject *Module_Initialize(void)
451451
ADD_TYPE_OBJECT("DATETIME", &g_DateTimeVarType)
452452
ADD_TYPE_OBJECT("FIXED_CHAR", &g_FixedCharVarType)
453453
ADD_TYPE_OBJECT("FIXED_NCHAR", &g_FixedNCharVarType)
454-
ADD_TYPE_OBJECT("FIXED_UNICODE", &g_FixedNCharVarType)
455-
ADD_TYPE_OBJECT("UNICODE", &g_NCharVarType)
456-
ADD_TYPE_OBJECT("LONG_UNICODE", &g_LongNCharVarType)
457454
ADD_TYPE_OBJECT("NCHAR", &g_NCharVarType)
458455
ADD_TYPE_OBJECT("LONG_NCHAR", &g_LongNCharVarType)
459456
ADD_TYPE_OBJECT("INTERVAL", &g_IntervalVarType)

0 commit comments

Comments
 (0)