summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Run Argument Clinic: METH_VARARGS=>METH_FASTCALLVictor Stinner2017-01-1712-90/+194
| | | | | | | | 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_FASTCALLVictor Stinner2017-01-1742-576/+1288
| | | | | 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_ParseStackAndKeywordsVictor Stinner2017-01-1725-141/+141
| | | | Issue #29286.
* merge 3.6Benjamin Peterson2017-01-161-1/+1
|\
| * merge 3.5Benjamin Peterson2017-01-161-1/+1
| |\
| | * generate spaces instead of tabs into config.cBenjamin Peterson2017-01-161-1/+1
| | |
* | | Merge doc fixes from 3.6Martin Panter2017-01-141-1/+1
|\ \ \ | |/ /
| * | Merge doc fixes from 3.5Martin Panter2017-01-142-2/+2
| |\ \ | | |/
| | * Fix grammar, typos and markup in documentation and code commentsMartin Panter2017-01-142-2/+2
| | | | | | | | | | | | | | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt
* | | Issue #29195: Removed support of deprecated undocumented keyword argumentsSerhiy Storchaka2017-01-132-120/+51
| | | | | | | | | | | | in methods of regular expression objects.
* | | Py_SIZE() was misused for dict.Serhiy Storchaka2017-01-131-1/+1
|\ \ \ | |/ /
| * | Py_SIZE() was misused for dict.Serhiy Storchaka2017-01-131-1/+1
| |\ \ | | |/
| | * Py_SIZE() was misused for dict.Serhiy Storchaka2017-01-131-1/+1
| | |
* | | Fix typoRaymond Hettinger2017-01-131-1/+1
| | |
* | | Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-22/+36
|\ \ \ | |/ / | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
| * | Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-22/+36
| |\ \ | | |/ | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
| | * Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-22/+36
| | | | | | | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
* | | Backed out changeset ea064ff3c10fRaymond Hettinger2017-01-091-6/+0
| | |
* | | While a speedup of 1% is measurable, contexts aren't created that often,Stefan Krah2017-01-091-4/+4
| | | | | | | | | | | | so let's defer this until 3.7, 3.8, ... all have this new function.
* | | Merge 3.6.Stefan Krah2017-01-091-7/+7
|\ \ \ | |/ /
| * | Merge 3.5.Stefan Krah2017-01-091-7/+7
| |\ \ | | |/
| | * Issue #28701: Revert part of 5bdc8e1a50c8 for the following reasons:Stefan Krah2017-01-091-7/+7
| | | | | | | | | | | | | | | | | | - There was no real problem to begin with. - The hypothetical problem has been fixed by 5bdc8e1a50c8.
* | | Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
|\ \ \ | |/ /
| * | Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
| |\ \ | | |/
| | * Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
| | |
| * | Issue #29203: functools.lru_cache() now respects PEP 468Raymond Hettinger2017-01-091-31/+18
| | |
* | | Sync-up lru_cache() C code with space saving feature in the Python version.Raymond Hettinger2017-01-091-0/+6
| | |
* | | Complete the merge for issue #29203Raymond Hettinger2017-01-091-31/+18
| | |
* | | Issue #29034: Merge 3.6.Xiang Zhang2017-01-081-53/+56
|\ \ \ | |/ /
| * | Issue #29034: Fix memory leak and use-after-free in path_converter.Xiang Zhang2017-01-081-53/+56
| | |
* | | Merge 3.6.Stefan Krah2017-01-081-0/+1
|\ \ \ | |/ /
| * | Add comment why the change in d83884b3a427 wasn't necessary.Stefan Krah2017-01-081-0/+1
| | |
* | | Merge 3.6.Stefan Krah2017-01-081-1/+1
|\ \ \ | |/ /
| * | Revert part of 3cb3e224b692 in code that I maintain.Stefan Krah2017-01-081-1/+1
| | |
* | | Revert part of dbf72357cb4a that is in a rarely used path and causesStefan Krah2017-01-071-1/+1
| | | | | | | | | | | | maintenance issues (cost/benefit).
* | | Revert (unauthorized) parts of 54a89144ee1d which are not in a speed-sensitiveStefan Krah2017-01-071-4/+4
| | | | | | | | | | | | path in order to avoid maintenance issues.
* | | Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitiveStefan Krah2017-01-071-1/+1
| | | | | | | | | | | | path and cause maintenance issues (3.6 <-> 3.7, private test suite).
* | | Merge 3.6Victor Stinner2017-01-031-5/+5
|\ \ \ | |/ /
| * | Issue #29140: Fix hash(datetime.time)Victor Stinner2017-01-031-5/+5
| | | | | | | | | | | | | | | | | | Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros. Before, the hash function used a wrong value for microseconds if fold is set (equal to 1).
* | | Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
|\ \ \ | |/ /
| * | Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
| |\ \ | | |/
| | * Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
| | |
* | | Issue #28985: Update authorizer constants in sqlite3 moduleBerker Peksag2017-01-021-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dates and version information from the changelog: * 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE * 2006-10-09 (3.3.8) added SQLITE_FUNCTION * 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT * 2014-02-03 (3.8.3) added SQLITE_RECURSIVE Patch by Dingyuan Wang.
* | | merge 3.6 (#29085)Benjamin Peterson2016-12-291-1/+1
|\ \ \ | |/ /
| * | fix error check, so that Random.seed actually uses OS randomness (closes #29085)Benjamin Peterson2016-12-291-1/+1
| | |
* | | Issue #28768: Fix implicit declaration of function _setmode. Patch by ↵Steve Dower2016-12-282-0/+6
|\ \ \ | |/ / | | | | | | Masayuki Yamamoto
| * | Issue #28768: Fix implicit declaration of function _setmode. Patch by ↵Steve Dower2016-12-282-0/+6
| | | | | | | | | | | | Masayuki Yamamoto
* | | Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+72
|\ \ \ | |/ / | | | | | | WeakValueDictionary when collecting from another thread.
| * | Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+72
| |\ \ | | |/ | | | | | | WeakValueDictionary when collecting from another thread.
| | * Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+71
| | | | | | | | | | | | WeakValueDictionary when collecting from another thread.