- 10 Ock, 2017 7 kayıt (commit)
-
-
Victor Stinner yazdı
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 yazdı
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
Based on patch by Martin Panter.
-
- 09 Ock, 2017 25 kayıt (commit)
-
-
Vinay Sajip yazdı
-
Vinay Sajip yazdı
Thanks to Xavier de Gaye for the report and patch improvements.
-
Vinay Sajip yazdı
Thanks to Evan_ for the report and Marco Buttu for the patch.
-
Vinay Sajip yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Stefan Krah yazdı
so let's defer this until 3.7, 3.8, ... all have this new function.
-
Stefan Krah yazdı
-
Stefan Krah yazdı
-
Stefan Krah yazdı
- There was no real problem to begin with. - The hypothetical problem has been fixed by 5bdc8e1a50c8.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Python/random.c is more then in the 3.6 branch.
-
Victor Stinner yazdı
Copy and then adapt Python/random.c from default branch. Difference between 3.5 and default branches: * Python 3.5 only uses getrandom() in non-blocking mode: flags=GRND_NONBLOCK * If getrandom() fails with EAGAIN: py_getrandom() immediately fails and remembers that getrandom() doesn't work. * Python 3.5 has no _PyOS_URandomNonblock() function: _PyOS_URandom() works in non-blocking mode on Python 3.5
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
In urllib.request, suffixes in no_proxy environment variable with leading dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by Milan Oberkirch.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 08 Ock, 2017 8 kayıt (commit)
-
-
Xiang Zhang yazdı
-
Xiang Zhang yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-