summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorOlivier Laurent <olilau@gmail.com>2018-07-30 09:49:59 +0200
committerxmo-odoo <xmo@odoo.com>2018-07-30 09:49:59 +0200
commit8ee329c1dcc47c55f2243a7bc2752097f17c98f5 (patch)
treeda9821e52e1ba8c5d245dbfc02496d16308330f0 /addons
parentdc253ff1c65029e3795c1e49da0b16aa9e90db2a (diff)
[FIX] P3: add missing opcode
In Python 3, SETUP_FINALLY is used if the exception object is bound in the except block — even if there is no finally block — in order to unbind and cleanup the exception's binding as part of PEP 3110: https://www.python.org/dev/peps/pep-3110/#semantic-changes This allows both using exception objects in Python 3 and using finally blocks in both version. opw 1824211
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions