MemoryError when cursor.execute() is called with a return value when outputtypehandler is set in cx_Oracle 7.2 on Python 3.7.x 64 bit · Issue #330 · oracle/python-cx_Oracle (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@AlexanderRavenheart

Description

@AlexanderRavenheart

  1. Python 3.7.x 64-bit (tested with 3.7.0 and 3.7.4). Issue is not present on 3.6.8.
  2. cx_Oracle 7.2. Issue is not present on cx_Oracle 7.0 and 7.1.
  3. cursor.execute("SELECT 1 FROM DUAL WHERE DUMMY LIKE TRANSLATE(:arg0 USING NCHAR_CS) ESCAPE TRANSLATE('\' USING NCHAR_CS)", {':arg0' = 'X'})
  4. MemoryError
  5. Windows 10 v1809 64-bit.
  6. Oracle Instant Client Windows Base 12.1.0.2.0 64-bit. Zip format extracted at D:\Rudi\Libs\Oracle\instantclient_12_1.
  7. Database information:
  1. PATH environment variable contains D:\Rudi\Libs\Oracle\instantclient_12_1.
  2. No specific oracle environment variables set.
  3. No. This issue was discovered during execution of inspectdb from django as reported here: https://code.djangoproject.com/ticket/30630.