- 13 Jan, 2017 1 commit
-
-
Raymond Hettinger authored
-
- 12 Jan, 2017 17 commits
-
-
Alexander Belopolsky authored
Thanks Greg Bengeult for the patch.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Serhiy Storchaka authored
KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
-
Vinay Sajip authored
-
Serhiy Storchaka authored
KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Windows requires at least the SYSTEMROOT environment variable to start Python. If run_python_until_end() doesn't copy SYSTEMROOT, the function always fail on Windows.
-
Victor Stinner authored
-
- 11 Jan, 2017 16 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
identity when they are copied or pickled.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
Patch by Berker Peksag.
-
Martin Panter authored
-
Vinay Sajip authored
-
Victor Stinner authored
Replace the runtime check with an assertion (just in case).
-
Victor Stinner authored
Issue #29234: Inlining _PyStack_AsTuple() into callers increases their stack consumption, Disable inlining to optimize the stack consumption. Add _Py_NO_INLINE: use __attribute__((noinline)) of GCC and Clang. It reduces the stack consumption, bytes per call, before => after: test_python_call: 1040 => 976 (-64 B) test_python_getitem: 976 => 912 (-64 B) test_python_iterator: 1120 => 1056 (-64 B) => total: 3136 => 2944 (- 192 B)
-
- 10 Jan, 2017 6 commits
-
-
Victor Stinner authored
Issue #29227: Inline call_function() into _PyEval_EvalFrameDefault() using Py_LOCAL_INLINE to reduce the stack consumption. It reduces the stack consumption, bytes per call, before => after: test_python_call: 1152 => 1040 (-112 B) test_python_getitem: 1008 => 976 (-32 B) test_python_iterator: 1232 => 1120 (-112 B) => total: 3392 => 3136 (- 256 B)
-
Victor Stinner authored
Issue #29233: Replace the inefficient _PyObject_VaCallFunctionObjArgs() with _PyObject_FastCall() in call_method() and call_maybe(). Only a few functions call call_method() and call it with a fixed number of arguments. Avoid the complex and expensive _PyObject_VaCallFunctionObjArgs() function, replace it with an array allocated on the stack with the exact number of argumlents. It reduces the stack consumption, bytes per call, before => after: test_python_call: 1168 => 1152 (-16 B) test_python_getitem: 1344 => 1008 (-336 B) test_python_iterator: 1568 => 1232 (-336 B) Remove the _PyObject_VaCallFunctionObjArgs() function which became useless. Rename it to object_vacall() and make it private.
-
Xiang Zhang authored
-
Xiang Zhang authored
-
Xiang Zhang authored
-
Xiang Zhang authored
-