- 26 Agu, 2016 7 kayıt (commit)
-
-
Brett Cannon yazdı
os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c.
-
Berker Peksag yazdı
-
Berker Peksag yazdı
Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
-
- 25 Agu, 2016 6 kayıt (commit)
-
-
Victor Stinner yazdı
-
Vinay Sajip yazdı
-
Vinay Sajip yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
-
- 24 Agu, 2016 24 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #27841: Add _PyObject_Call_Prepend() helper function to prepend an argument to existing arguments to call a function. This helper uses fast calls. Modify method_call() and slot_tp_new() to use _PyObject_Call_Prepend().
-
Victor Stinner yazdı
Pass stack, not unrelated and uninitialized args!
-
Victor Stinner yazdı
_Pickle_FastCall() is now fast again! The optimization was introduced in Python 3.2, removed in Python 3.4 and reintroduced in Python 3.6 (thanks to the new generic fastcall functions).
-
Victor Stinner yazdı
_PyObject_FastCallDict() only requires _Py_CheckFunctionResult() for the slow-path. Other cases already check for the result.
-
Victor Stinner yazdı
Issue #27830: Similar to _PyObject_FastCallDict(), but keyword arguments are also passed in the same C array than positional arguments, rather than being passed as a Python dict.
-
Alexander Belopolsky yazdı
-
Berker Peksag yazdı
Noticed by Xiang Zhang.
-
Victor Stinner yazdı
Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments.
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
-
Berker Peksag yazdı
-
Berker Peksag yazdı
-
Berker Peksag yazdı
-
Berker Peksag yazdı
Patch by Jaysinh Shukla and Stéphane Wirtel.
-
Vinay Sajip yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
When the body object is a file, its size is no longer determined with fstat(), since that can report the wrong result (e.g. reading from a pipe). Instead, determine the size using seek(), or fall back to chunked encoding for unseekable files. Also, change the logic for detecting text files to check for TextIOBase inheritance, rather than inspecting the “mode” attribute, which may not exist (e.g. BytesIO and StringIO). The Content-Length for text files is no longer determined ahead of time, because the original logic could have been wrong depending on the codec and newline translation settings. Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
-
Steven D'Aprano yazdı
-
Steven D'Aprano yazdı
Although nth roots of negative numbers are real for odd n, the statistics module doesn't make use of this. Remove support for negative roots from the private _nth_root function, which simplifies the test suite.
-
Steven D'Aprano yazdı
-
Steven D'Aprano yazdı
-
R David Murray yazdı
Patch by Christian Heimes, reviewed by Martin Panter.
-
R David Murray yazdı
-
R David Murray yazdı
Patch by SilengGhost.
-
- 23 Agu, 2016 3 kayıt (commit)
-
-
Victor Stinner yazdı
Use a small stack allocated in the C stack for up to 5 iterator functions, otherwise allocates a stack on the heap memory.
-
Victor Stinner yazdı
Issue #27809: * PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a temporary tuple * Rename objargs_mktuple() to objargs_mkstack() * objargs_mkstack() now stores objects in a C array using borrowed references, instead of storing arguments into a tuple objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments or less, or allocates a buffer in the heap memory. Note: this change is different than the change 0e4f26083bbb, I fixed the test to decide if the small stack can be used or not. sizeof(PyObject**) was also replaced with sizeof(stack[0]) since the sizeof() was wrong (but gave the same result).
-
Victor Stinner yazdı
-