[FIX] base: 3.11 compatibility
Complement of the previous complement e2752a04ff (#137099)
Those opcodes were added in Python 3.11 and we missed them.
Fixes #140588
closes odoo/odoo#141015
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
@@ -428,13 +428,15 @@ _SAFE_QWEB_OPCODES = _EXPR_OPCODES.union(to_opcodes([
|
||||
'RESUME',
|
||||
'CALL',
|
||||
'PRECALL',
|
||||
'POP_JUMP_FORWARD_IF_FALSE',
|
||||
'PUSH_NULL',
|
||||
'POP_JUMP_FORWARD_IF_TRUE', 'KW_NAMES',
|
||||
'KW_NAMES',
|
||||
'FORMAT_VALUE', 'BUILD_STRING',
|
||||
'RETURN_GENERATOR',
|
||||
'POP_JUMP_BACKWARD_IF_FALSE',
|
||||
'SWAP',
|
||||
'POP_JUMP_FORWARD_IF_FALSE', 'POP_JUMP_FORWARD_IF_TRUE',
|
||||
'POP_JUMP_BACKWARD_IF_FALSE', 'POP_JUMP_BACKWARD_IF_TRUE',
|
||||
'POP_JUMP_FORWARD_IF_NONE', 'POP_JUMP_FORWARD_IF_NOT_NONE',
|
||||
'POP_JUMP_BACKWARD_IF_NONE', 'POP_JUMP_BACKWARD_IF_NOT_NONE',
|
||||
])) - _BLACKLIST
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user