~openerp-dev/openobject-server/saas-3-bug_1291322-ptr

« back to all changes in this revision

Viewing changes to openerp/tools/safe_eval.py

  • Committer: Denis Ledoux
  • Date: 2014-05-06 12:16:27 UTC
  • mfrom: (4743.1.551 7.0)
  • Revision ID: dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5294 revid:odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u

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