Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 1 | -4/+5 |
| | | | | | | | | | | | * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident(). | ||||
* | bpo-20185: Convert the resource moduel to Argument Clinic. (#545) | Serhiy Storchaka | 2017-03-12 | 1 | -0/+164 |
| | | | Based on patch by Vajrasky Kok. | ||||
* | bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406) | Yury Selivanov | 2017-03-03 | 1 | -3/+3 |
| | |||||
* | Issue #20186: Regenerated Argument Clinic. | Serhiy Storchaka | 2017-02-05 | 1 | -2/+2 |
| | |||||
* | Issue #20186: Converted the tracemalloc module to Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 1 | -0/+192 |
| | | | | Based on patch by Georg Brandl. | ||||
* | Issue #20186: Converted the symtable module to Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 1 | -0/+39 |
| | | | | Original patch by Georg Brandl. | ||||
* | Issue #20185: Converted the gc module to Argument Clinic. | Serhiy Storchaka | 2017-02-04 | 1 | -0/+258 |
| | |||||
* | Issue #29300: Use Argument Clinic for getting struct object from the format. | Serhiy Storchaka | 2017-02-04 | 1 | -18/+51 |
| | |||||
* | Rename struct.unpack() 2nd parameter to "buffer" | Victor Stinner | 2017-02-02 | 1 | -8/+12 |
| | | | | | | | | | | 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. | ||||
* | Issue #29300: Convert _struct module to Argument Clinic | Victor Stinner | 2017-02-02 | 1 | -0/+276 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 #29092: Merge 3.6. | Xiang Zhang | 2017-01-22 | 1 | -2/+3 |
|\ | |||||
| * | Issue #29092: Sync os.stat's doc and docstring on path type. | Xiang Zhang | 2017-01-22 | 1 | -2/+3 |
| |\ | |||||
* | | | Issue #29282: Backed out changeset b33012ef1417 | Mark Dickinson | 2017-01-21 | 1 | -35/+1 |
| | | | |||||
* | | | Issue #29282: add fused multiply-add function, math.fma. | Mark Dickinson | 2017-01-21 | 1 | -1/+35 |
| | | | |||||
* | | | Issue #20186: Converted the math module to Argument Clinic. | Serhiy Storchaka | 2017-01-19 | 1 | -0/+539 |
| | | | | | | | | | | | | Patch by Tal Einat. | ||||
* | | | Issue #20186: Converted the _operator module to Argument Clinic. | Serhiy Storchaka | 2017-01-19 | 1 | -0/+1648 |
| | | | | | | | | | | | | Patch by Tal Einat. | ||||
* | | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 5 | -41/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using "boring" positional arguments. Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain consistent with the clinic code. | ||||
* | | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 32 | -518/+1166 |
| | | | | | | | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. | ||||
* | | | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords | Victor Stinner | 2017-01-17 | 21 | -133/+133 |
| | | | | | | | | | | | | Issue #29286. | ||||
* | | | Issue #29195: Removed support of deprecated undocumented keyword arguments | Serhiy Storchaka | 2017-01-13 | 1 | -48/+36 |
| | | | | | | | | | | | | in methods of regular expression objects. | ||||
* | | | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -1/+31 |
|\ \ \ | |/ / | | | | | | | WeakValueDictionary when collecting from another thread. | ||||
| * | | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -1/+31 |
| |\ \ | | |/ | | | | | | | WeakValueDictionary when collecting from another thread. | ||||
| | * | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -1/+30 |
| | | | | | | | | | | | | WeakValueDictionary when collecting from another thread. | ||||
* | | | Issue #29004: Merge crc_hqx() doc from 3.6 | Martin Panter | 2016-12-24 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #29004: Merge crc_hqx() doc from 3.5 | Martin Panter | 2016-12-24 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #29004: Document binascii.crc_hqx() implements CRC-CCITT | Martin Panter | 2016-12-24 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #28765: _sre.compile() now checks the type of groupindex and indexgroup | Victor Stinner | 2016-11-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | groupindex must a dictionary and indexgroup must be a tuple. Previously, indexgroup was a list. Use a tuple to reduce the memory usage. | ||||
* | | | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -2/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| | * | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -2/+3 |
| | | | |||||
* | | | Issue #28586: Converted os.scandir() to Argument Clinic. | Serhiy Storchaka | 2016-11-06 | 1 | -1/+204 |
| | | | |||||
* | | | Merge 3.6 (issue #28544) | Yury Selivanov | 2016-10-28 | 1 | -0/+520 |
|\ \ \ | |/ / | |||||
| * | | Issue #28544: Implement asyncio.Task in C. | Yury Selivanov | 2016-10-28 | 1 | -0/+520 |
| | | | | | | | | | | | | | | | | | | | | | | | | This implementation provides additional 10-20% speed boost for asyncio programs. The patch also fixes _asynciomodule.c to use Arguments Clinic, and makes '_schedule_callbacks' an overridable method (as it was in 3.5). | ||||
* | | | Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*. | Serhiy Storchaka | 2016-10-23 | 1 | -3/+3 |
|/ / | |||||
* | | Issue #28156: Export os.getpid() conditionally | Berker Peksag | 2016-09-15 | 1 | -1/+9 |
| | | | | | | | | Patch by Ed Schouten. | ||||
* | | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 20 | -390/+391 |
| | | |||||
* | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 2 | -32/+90 |
| | | |||||
* | | clinic: PY_LONG_LONG -> long long | Benjamin Peterson | 2016-09-08 | 1 | -49/+1 |
| | | |||||
* | | Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec ↵ | Steve Dower | 2016-09-07 | 1 | -1/+80 |
| | | | | | | | | lookup | ||||
* | | Add os.getrandom() | Victor Stinner | 2016-09-06 | 1 | -1/+40 |
| | | | | | | | | | | | | | | Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom() function. This change is part of the PEP 524. | ||||
* | | Run Argument Clinic on posixmodule.c | Victor Stinner | 2016-09-06 | 1 | -7/+7 |
| | | | | | | | | Issue #17884. | ||||
* | | Issue #27928: Add scrypt (password-based key derivation function) to hashlib ↵ | Christian Heimes | 2016-09-06 | 1 | -0/+60 |
| | | | | | | | | module (requires OpenSSL 1.1.0). | ||||
* | | merge 3.5 | Benjamin Peterson | 2016-09-05 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | do not pretend to support passing a fd to access() | Benjamin Peterson | 2016-09-05 | 1 | -3/+3 |
| | | |||||
* | | Issue #27866: Add SSLContext.get_ciphers() method to get a list of all ↵ | Christian Heimes | 2016-09-05 | 1 | -1/+26 |
| | | | | | | | | enabled ciphers. | ||||
* | | Issue #16764: Support keyword arguments to zlib.decompress(). Patch by | Serhiy Storchaka | 2016-08-15 | 1 | -9/+13 |
| | | | | | | | | Xiang Zhang. | ||||
* | | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 19 | -267/+391 |
| | | | | | | | | implemented with using Argument Clinic. | ||||
* | | Issue #27130: Merge zlib 64-bit fixes from 3.5 | Martin Panter | 2016-07-23 | 1 | -10/+10 |
|\ \ | |/ | |||||
| * | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module | Martin Panter | 2016-07-23 | 1 | -10/+10 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 28 | -756/+746 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. |