c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07028
[Bug 644267] Re: [5.0.14] safe_eval() incompatible with python2.7's bytecode
** Changed in: openobject-server
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/644267
Title:
[5.0.14] safe_eval() incompatible with python2.7's bytecode
Status in OpenObject Server:
In Progress
Bug description:
openerp-server 5.0.14 when run on python 2.7 is basically useless (when using addons), due to the changes in low-level python 2.7 opcodes. The safe_eval() function in bin/tools/safe_eval.py doesn't expect the new opcodes and fails on virtually every operation. The attached patch adds the four missing py2.7 opcodes to safe_eval and fixes the problem.