summaryrefslogtreecommitdiff
path: root/bin/tools/safe_eval.py
AgeCommit message (Collapse)Author
2011-02-07[IMP] openerp python module.Vo Minh Thu
- Some logging code moved from netsvc.py to loglevels.py - Changed imports to use the new openerp module - config and netsvc initialization calls move to openerp-server.py - Moved openerp-server.py outside the old bin directory - Some imports in tools moved inside the methods to break mutual-dependencies bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2010-12-16[FIX] safe_eval: support for allowing auto-loading of python submodules, ↵Olivier Dony
such as _strptime bzr revid: odo@openerp.com-20101216183839-7mor9xfzbor2s9r7
2010-11-11[FIX] safe_eval: added support for new JUMP OPCODES from Python 2.7Olivier Dony
lp bug: https://launchpad.net/bugs/673773 fixed bzr revid: odo@openerp.com-20101111011243-42aunydhqy0avvwp
2010-10-25[FIX] Slicing functionality support added to safe_eval()Borja López Soilán
bzr revid: ach@tinyerp.com-20101025135420-pv6iex4np1l9l7is
2010-10-18[FIX] Safe_eval : Added the support of set(),JUMP_FORWARD,POP_BLOCK,SETUP_LOOPJay (OpenERP)
lp bug: https://launchpad.net/bugs/633896 fixed bzr revid: jvo@tinyerp.com-20101018101830-e2fa0ch3811gsuuu
2010-09-07[FIX] safe_eval() : Added support of len()DHS(OpenERP)
lp bug: https://launchpad.net/bugs/631810 fixed bzr revid: jvo@tinyerp.com-20100907062108-ottaogopnc22w3j0
2010-09-06[MERGE]Harry (OpenERP)
bzr revid: hmo@tinyerp.com-20100906081104-pkbxwki6189d6ym0
2010-08-31[iMP]:Added filter and round function in global dict.apa-tiny
bzr revid: apa@tinyerp.com-20100831123200-d2y2ced1mnd0fv3g
2010-08-10[REVERT/FIX] safe_eval: revert incorrect tentative fix for missing ↵Olivier Dony
abs,reduce + correct fix. WARNING: do not add regular __builtins__ or globals in the safe_eval context dictionary!! The whole point is not to have them available for security purposes! bzr revid: odo@openerp.com-20100810134046-vrw8niq73axmz5vl
2010-08-10[FIX]:FormatLang is not support any python aggregate function like ↵apa-tiny
abs(),reduce() etc as an argument. bzr revid: apa@tinyerp.com-20100810110942-zb47ggw15qa1c0os
2010-06-22[IMP] safe_eval: improved exception handlingOlivier Dony
bzr revid: odo@openerp.com-20100622093527-ygyvdsz2w4aalf08
2010-06-21safe_eval: fix wrt whitespace on expressions.P. Christeas
Regular eval() would not care about leading whitespace. But, compile() would break if lines start with space. Strip that. Also, allow some exceptions to pass through, so that we can examine the syntax errors etc. bzr revid: p_christ@hol.gr-20100621143632-0hvrck77lterxjtl
2010-06-17[FIX] Tools : Safe_eval should support make_function and map.Jay (Open ERP)
lp bug: https://launchpad.net/bugs/595275 fixed bzr revid: jvo@tinyerp.com-20100617093845-qgwrma8khcgv8f5h
2010-06-04[ADD] safe_eval: final round of adjustments, seems stable AFAICT (please be ↵Olivier Dony
careful if you notice any error due to it - contact me if on doubt on how to fix properly) bzr revid: odo@openerp.com-20100604003940-e32elbetzxop8c3b
2010-06-01[FIX] continuing implementation of safe_eval: fixed some evaluation contextsOlivier Dony
bzr revid: odo@openerp.com-20100601082829-n6iqqm8f0wuscvtm
2010-05-04[IMP] work-in-progress: initial version of safe_eval implementation -- still ↵Olivier Dony
need fixing bzr revid: odo@openerp.com-20100503234953-qgbk64bmir95jvzd
2010-04-27[IMP] base: renamed __terp__ to __openerp__Olivier Dony
bzr revid: odo@openerp.com-20100427121305-o0rby3wr3gwr3ydx
2010-03-04[fix] whitespace in files touched by parent ↵Xavier Morel
(xmo@tinyerp.com-20100304090342-y0peh0slc8in1tbh) bzr revid: xmo@tinyerp.com-20100304090556-ehv8xpf9gd82uqgj
2010-03-04[fix] coding: tag in source filesXavier Morel
bzr revid: xmo@tinyerp.com-20100304090342-jrfl3lp54pdnrsdw
2009-11-24[FIX] replaced <TAB> with four white space.Harry (Open ERP)
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-09-10safe_eval: make python 2.5 compatible.P. Christeas
bzr revid: p_christ@hol.gr-20090909234800-3u0a2fyi6673js4z
2009-09-09Implement safe_eval() in order to armour eval()P. Christeas
bzr revid: p_christ@hol.gr-20090909194325-hpn4cfhwehxg9dzk