~openerp-dev/openobject-server/trunk-forward-port-mat

« back to all changes in this revision

Viewing changes to openerp/tools/safe_eval.py

[MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 5122 revid:dle@openerp.com-20140506121627-4oyw4zl4o6azy73w

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    'CONTINUE_LOOP', 'RAISE_VARARGS',
72
72
    # New in Python 2.7 - http://bugs.python.org/issue4715 :
73
73
    'JUMP_IF_FALSE_OR_POP', 'JUMP_IF_TRUE_OR_POP', 'POP_JUMP_IF_FALSE',
74
 
    'POP_JUMP_IF_TRUE', 'SETUP_EXCEPT', 'END_FINALLY', 'LOAD_FAST',
 
74
    'POP_JUMP_IF_TRUE', 'SETUP_EXCEPT', 'END_FINALLY',
 
75
    'LOAD_FAST', 'STORE_FAST', 'DELETE_FAST',
75
76
    'LOAD_GLOBAL', # Only allows access to restricted globals
76
77
    ] if x in opmap))
77
78