- 27 Aug, 2016 6 commits
-
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
In Subversion r86731, the path was changed from $(BINLIBDEST)/config to $(LIBDEST)/config-$(LDVERSION).
-
Martin Panter authored
Also adjust the test condition, because enable-meta-key was only added in 6.1, not 6.0.
-
Martin Panter authored
The previous attempt to determine the file’s Content-Length gave a false positive for pipes on Windows. Also, drop the special case for sending zero-length iterable bodies.
-
Brett Cannon authored
deprecated.
-
- 26 Aug, 2016 8 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c.
-
Berker Peksag authored
-
Berker Peksag authored
Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 25 Aug, 2016 6 commits
-
-
Victor Stinner authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 24 Aug, 2016 20 commits
-
-
Victor Stinner authored
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 authored
Pass stack, not unrelated and uninitialized args!
-
Victor Stinner authored
_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 authored
_PyObject_FastCallDict() only requires _Py_CheckFunctionResult() for the slow-path. Other cases already check for the result.
-
Victor Stinner authored
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 authored
-
Berker Peksag authored
Noticed by Xiang Zhang.
-
Victor Stinner authored
Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments.
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
Patch by Jaysinh Shukla and Stéphane Wirtel.
-
Vinay Sajip authored
-
Martin Panter authored
-
Martin Panter authored
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 authored
-
Steven D'Aprano authored
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 authored
-