Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge issue #28164 and issue #29409 | Steve Dower | 2017-02-04 | 5 | -39/+101 |
|\ | |||||
| * | Issue #28164: Correctly handle special console filenames (patch by Eryk Sun) | Steve Dower | 2017-02-04 | 3 | -21/+76 |
| | | |||||
| * | Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun) | Steve Dower | 2017-02-04 | 3 | -18/+35 |
| | | |||||
* | | Issue #29392: Prevent crash when passing invalid arguments into msvcrt module. | Steve Dower | 2017-02-04 | 2 | -4/+45 |
|\ \ | |/ | |||||
| * | Issue #29392: Prevent crash when passing invalid arguments into msvcrt module. | Steve Dower | 2017-02-04 | 2 | -4/+45 |
| |\ | |||||
| | * | Issue #29392: Prevent crash when passing invalid arguments into msvcrt module. | Steve Dower | 2017-02-04 | 2 | -12/+51 |
| | | | |||||
* | | | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 3 | -1/+14 |
|\ \ \ | |/ / | |||||
| * | | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 3 | -1/+14 |
| |\ \ | | |/ | |||||
| | * | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 3 | -1/+14 |
| | | | |||||
* | | | Issue #29444: Fixed out-of-bounds buffer access in the group() method of | Serhiy Storchaka | 2017-02-04 | 3 | -2/+20 |
|\ \ \ | |/ / | | | | | | | the match object. Based on patch by WGH. | ||||
| * | | Issue #29444: Fixed out-of-bounds buffer access in the group() method of | Serhiy Storchaka | 2017-02-04 | 3 | -2/+20 |
| |\ \ | | |/ | | | | | | | the match object. Based on patch by WGH. | ||||
| | * | Issue #29444: Fixed out-of-bounds buffer access in the group() method of | Serhiy Storchaka | 2017-02-04 | 3 | -2/+20 |
| | | | | | | | | | | | | the match object. Based on patch by WGH. | ||||
* | | | Merge 3.6. | Stefan Krah | 2017-02-04 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue29439: _decimal on Android requires linking with libm. | Stefan Krah | 2017-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Chi Hsuan Yen. | ||||
* | | | Reduce load factor (from 66% to 60%) to improve effectiveness of linear probing. | Raymond Hettinger | 2017-02-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | Decreased density gives better collision statistics (average of 2.5 probes in a full table versus 3.0 previously) and fewer occurences of starting a second possibly overlapping sequence of 10 linear probes. Makes resizes a little more frequent but each with less work (fewer insertions and fewer collisions). | ||||
* | | | Issue #20186: Converted the tracemalloc module to Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 2 | -102/+315 |
| | | | | | | | | | | | | Based on patch by Georg Brandl. | ||||
* | | | Issue #20186: Converted the symtable module to Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 2 | -11/+61 |
| | | | | | | | | | | | | Original patch by Georg Brandl. | ||||
* | | | Removed redundant Argument Clinic directives. | Serhiy Storchaka | 2017-02-04 | 3 | -19/+0 |
| | | | |||||
* | | | Issue #20185: Converted the gc module to Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 2 | -98/+390 |
| | | | |||||
* | | | Issue #29300: Use Argument Clinic for getting struct object from the format. | Serhiy Storchaka | 2017-02-04 | 2 | -83/+103 |
| | | | |||||
* | | | Issue #27867: Silenced may-be-used-uninitialized warnings after | Serhiy Storchaka | 2017-02-04 | 1 | -2/+3 |
|\ \ \ | |/ / | | | | | | | using PySlice_GetIndicesEx() in debug builds. | ||||
| * | | Issue #27867: Silenced may-be-used-uninitialized warnings after | Serhiy Storchaka | 2017-02-04 | 1 | -2/+3 |
| |\ \ | | |/ | | | | | | | using PySlice_GetIndicesEx() in debug builds. | ||||
| | * | Issue #27867: Silenced may-be-used-uninitialized warnings after | Serhiy Storchaka | 2017-02-04 | 1 | -2/+3 |
| | | | | | | | | | | | | using PySlice_GetIndicesEx() in debug builds. | ||||
* | | | Issue #29198: Merge from 3.6 | Berker Peksag | 2017-02-04 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #29198: Merge from 3.5 | Berker Peksag | 2017-02-04 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #29198: Fix indentation and markup in typing.rst | Berker Peksag | 2017-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | Patch by Jelle Zijlstra. | ||||
* | | | Issue #29198: Merge from 3.6 | Berker Peksag | 2017-02-04 | 1 | -0/+33 |
|\ \ \ | |/ / | |||||
| * | | Issue #29198: Merge from 3.5 | Berker Peksag | 2017-02-04 | 1 | -0/+33 |
| |\ \ | | |/ | |||||
| | * | Issue #29198: Document typing.AsyncGenerator | Berker Peksag | 2017-02-04 | 1 | -0/+33 |
| | | | | | | | | | | | | Patch by Jelle Zijlstra. | ||||
* | | | Issue #29311: Regenerate Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 2 | -3/+3 |
| | | | |||||
* | | | null merge | Xiang Zhang | 2017-02-03 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Fixes #29213: merged fix from 3.5. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| |\ \ | | |/ | |||||
| | * | Fixes #29213: regularised EOLs of venv scripts. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| | | | |||||
* | | | Issue #29263: LOAD_METHOD support for C methods | INADA Naoki | 2017-02-02 | 8 | -36/+88 |
| | | | | | | | | | | | | Calling builtin method is at most 10% faster. | ||||
* | | | Closes #29213: Merged fix from 3.6. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| | | | |||||
* | | | Closes #24875: Merged fix from 3.6. | Vinay Sajip | 2017-02-02 | 2 | -8/+23 |
|\ \ \ | |/ / | |||||
| * | | Fixes #24875: Merged fix from 3.5. | Vinay Sajip | 2017-02-02 | 2 | -8/+23 |
| |\ \ | | |/ | |||||
| | * | Fixes #24875: pip can now be installed in a venv with --system-site-packages. | Vinay Sajip | 2017-02-02 | 2 | -9/+25 |
| | | | |||||
* | | | Remove unnecessary variables. | Raymond Hettinger | 2017-02-02 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | * so->used never gets changed during a resize * so->filled only changes when dummies are present and being eliminated | ||||
* | | | Issue #29421: Make int.to_bytes() and int.from_bytes() slightly faster | Serhiy Storchaka | 2017-02-02 | 1 | -4/+7 |
| | | | | | | | | | | | | (10-20% for small integers). | ||||
* | | | Rename struct.unpack() 2nd parameter to "buffer" | Victor Stinner | 2017-02-02 | 3 | -15/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29300: Rename struct.unpack() second parameter from "inputstr" to "buffer", and use the Py_buffer type. Fix also unit tests on struct.unpack() which passed a Unicode string instead of a bytes string as struct.unpack() second parameter. The purpose of test_trailing_counter() is to test invalid format strings, not to test the buffer parameter. | ||||
* | | | Null merge 3.6 | Victor Stinner | 2017-02-02 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.5 | Victor Stinner | 2017-02-02 | 1 | -0/+4 |
| |\ \ | | |/ | |||||
| | * | Issue #29300: test_struct tests unpack_from() with keywords | Victor Stinner | 2017-02-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords. | ||||
* | | | Issue #29300: Convert _struct module to Argument Clinic | Victor Stinner | 2017-02-02 | 4 | -239/+540 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The struct module now requires contiguous buffers. * Convert most functions and methods of the _struct module to Argument Clinic * Use "Py_buffer" type for the "buffer" argument. Argument Clinic is responsible to create and release the Py_buffer object. * Use "PyStructObject *" type for self to avoid explicit conversions. * Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords. * Rephrase docstrings. * Rename "fmt" argument to "format" in docstrings and the documentation. As a side effect, functions and methods which used METH_VARARGS calling convention like struct.pack() now use the METH_FASTCALL calling convention which avoids the creation of temporary tuple to pass positional arguments and so is faster. For example, struct.pack("i", 1) becomes 1.56x faster (-36%):: $ ./python -m perf timeit \ -s 'import struct; pack=struct.pack' 'pack("i", 1)' \ --compare-to=../default-ref/python Median +- std dev: 119 ns +- 1 ns -> 76.8 ns +- 0.4 ns: 1.56x faster (-36%) Significant (t=295.91) Patch co-written with Serhiy Storchaka. | ||||
* | | | Issue #29368: Fix _Pickle_FastCall() usage in do_append() | Victor Stinner | 2017-02-02 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | _Pickle_FastCall() has a surprising API: it decrements the reference counter of its second argument. | ||||
* | | | Issue #29368: The extend() method is now called instead of the append() | Serhiy Storchaka | 2017-02-02 | 3 | -24/+57 |
| | | | | | | | | | | | | | | | method when unpickle collections.deque and other list-like objects. This can speed up unpickling to 2 times. | ||||
* | | | Issue #29381: merge with 3.6 | Mariatta Wijaya | 2017-02-02 | 1 | -11/+10 |
|\ \ \ | |/ / | |||||
| * | | Issue #29381: Clarify ordering of UNIX shebang line as source encoding line | Mariatta Wijaya | 2017-02-02 | 1 | -11/+10 |
| | | | |||||
| * | | Backed out changeset 3d712292f2fa | Mariatta Wijaya | 2017-02-02 | 1 | -14/+15 |
| | | |