diff options
| author | Olivier Laurent <olilau@gmail.com> | 2018-07-30 09:49:59 +0200 |
|---|---|---|
| committer | xmo-odoo <xmo@odoo.com> | 2018-07-30 09:49:59 +0200 |
| commit | 8ee329c1dcc47c55f2243a7bc2752097f17c98f5 (patch) | |
| tree | da9821e52e1ba8c5d245dbfc02496d16308330f0 /addons | |
| parent | dc253ff1c65029e3795c1e49da0b16aa9e90db2a (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
