- 05 Feb, 2014 1 commit
-
-
Mame Coumba Sall authored
-
- 04 Feb, 2014 1 commit
-
-
Mame Coumba Sall authored
-
- 30 Jan, 2014 2 commits
-
-
Mame Coumba Sall authored
-
Mame Coumba Sall authored
-
- 29 Jan, 2014 2 commits
-
-
Mame Coumba Sall authored
-
Mame Coumba Sall authored
-
- 27 Jan, 2014 4 commits
-
-
Tatuya Kamada authored
(thanks Rafael)
-
Aurel authored
-
Arnaud Fontaine authored
-
Tatuya Kamada authored
-
- 24 Jan, 2014 7 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Aurel authored
-
Julien Muchembled authored
-
Aurel authored
-
Arnaud Fontaine authored
-
Tatuya Kamada authored
-
- 23 Jan, 2014 9 commits
-
-
Julien Muchembled authored
Simulation Movements use 'causality' to link to different portal types: - Business Link - Trade Model Path - amount generator line/cell Only Business Links implement getCompletedStateList.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
The initial 'exec' traceback was not passed when raising ImportError (following PEP-302), thus it displayed traceback in component_package instead of the actual location of the error. Also, Caching source code retrieved from traceback/(i)pdb (through get_source()) was done after the actual 'exec', whereas it should have always been *before* obviously... Steps to reproduce: 1/ Create and validate a Test Component A importing another Component B. 2/ Invalidate Component B or add a typo not handled by pylint (because of exceptions).
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Using DeadlockDebugguer lead to a deadlock when trying to debug a deadlock on ZODB Component as it was trying to load the Component. Moreover, this required accessing to ERP5 Site whereas DeadlockDebugguer is used outside. Steps to reproduce: 1. Create an Extension Component with a sleep and run it. 2. Call manage_debug_threads.
-
Arnaud Fontaine authored
This is much faster, eg defining a max function is about 39 times faster and even more on more complicated code: $ python -mtimeit -s 'code = "def max(a, b): return a > b and a or b"' 'exec code' 10000 loops, best of 3: 25.2 usec per loop $ python -mtimeit -s 'code = compile("def max(a, b): return a > b and a or b", "<string>", "exec")' 'exec code' 1000000 loops, best of 3: 0.632 usec per loop Another reason is for traceback/pdb readability as __file__ is displayed in the backtrace, but with 'exec' __file__ equals to '<string>', compile() allows to specify a readable name easily without having to override __file__. Also, set __file__ to the Component relative URL instead of the ID for readability sake.
-
Arnaud Fontaine authored
Signed-off-by: Julien Muchembled <jm@nexedi.com>
-
Mame Coumba Sall authored
-
- 21 Jan, 2014 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 17 Jan, 2014 6 commits
-
-
Vincent Pelletier authored
Fixes unittest.expectedFailure usage, allowing phasing out backportUnittest gradually (at least for the backport part).
-
Vincent Pelletier authored
-
Ivan Tyagov authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 16 Jan, 2014 5 commits
-
-
Kazuhiko Shiozaki authored
because they raise "The operation is insecure" error in recent Firefox.
-
Mame Coumba Sall authored
- It causes the movements to be created in another delivery if the start/stop dates are different from invoice date
-
Jérome Perrin authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-