in cx_Oracle 7: connections as context managers now close the connection and variables in DML returning statements now return an array.
controlled by the connection as a context manager, but in a backwards compatible way (https://github.com/oracle/python-cx_Oracle/issues/113).