Skip to content
Snippets Groups Projects
Commit cf9161b6 authored by Christophe Monniez's avatar Christophe Monniez
Browse files

[FIX] safe_eval: add new py 3.10 GEN_START opcode

Part-of: odoo/odoo#98081
parent d3aafbaa
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,7 @@ _EXPR_OPCODES = _CONST_OPCODES.union(to_opcodes([
])) - _BLACKLIST
_SAFE_OPCODES = _EXPR_OPCODES.union(to_opcodes([
'GEN_START', # added in 3.10
'POP_BLOCK', 'POP_EXCEPT',
# note: removed in 3.8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment