summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 3.6.3+Ned Deily2017-10-031-1/+1
|
* Bump to 3.6.3v3.6.3Ned Deily2017-10-031-3/+3
|
* Bump to 3.6.3rc1v3.6.3rc1Ned Deily2017-09-191-4/+4
|
* [3.6] fixes bpo-31373: fix undefined floating-point demotions (GH-3396) (#3424)Miss Islington (bot)2017-09-071-11/+23
| | | (cherry picked from commit a853a8ba7850381d49b284295dd6f0dc491dbe44)
* bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. ↵Victor Stinner2017-08-221-1/+1
| | | | | | | (#501) (#3190) FreeBSD is the only platforms with unsigned FD_SETSIZE. (cherry picked from commit 783d0c1a1c723733adcdf4249240246fc35a5bcb)
* Bump to v3.6.2+Ned Deily2017-07-171-3/+3
|
* Update for post-3.6.2rc2Ned Deily2017-07-081-2/+2
|
* [3.6] bpo-30703: Improve signal delivery (GH-2415) (#2527)Antoine Pitrou2017-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [3.6] bpo-30703: Improve signal delivery (GH-2415) * Improve signal delivery Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions. * Remove unused function * Improve comments * Add stress test * Adapt for --without-threads * Add second stress test * Add NEWS blurb * Address comments @haypo. (cherry picked from commit c08177a1ccad2ed0d50898c2731b518c631aed14) * bpo-30796: Fix failures in signal delivery stress test (#2488) * bpo-30796: Fix failures in signal delivery stress test setitimer() can have a poor minimum resolution on some machines, this would make the test reach its deadline (and a stray signal could then kill a subsequent test). * Make sure to clear the itimer after the test
* [3.6] bpo-13617: Reject embedded null characters in wchar* strings. ↵Serhiy Storchaka2017-06-281-3/+7
| | | | | | | | | | (GH-2302) (#2462) Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.. (cherry picked from commit f7eae0adfcd4c50034281b2c69f461b43b68db84)
* [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). ↵Serhiy Storchaka2017-06-271-0/+6
| | | | | | | (GH-2285) (#2443) Raise a ValueError if the second argument is NULL and the wchar_t\* string contains null characters.. (cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a)
* Bump version for post 3.6.2rc1Ned Deily2017-06-181-1/+1
|
* Version bump to 3.6.2rc1v3.6.2rc1Ned Deily2017-06-171-4/+4
|
* bpo-30604: Fix __PyCodeExtraState_Get() prototype (#2152)Victor Stinner2017-06-131-1/+1
| | | | | | | Replace __PyCodeExtraState_Get() with __PyCodeExtraState_Get(void) to fix the following GCC warning: ./Include/pystate.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] __PyCodeExtraState* __PyCodeExtraState_Get();
* [3.6] bpo-30604: Move co_extra_freefuncs to interpreter state to avoid ↵Dino Viehland2017-06-131-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | crashes in threads (#2015) * Move co_extra_freefuncs to interpreter state to avoid crashes in multi-threaded scenarios involving deletion of code objects * Don't require that extra be zero initialized * Build test list instead of defining empty test class * Ensure extra is always assigned on success * Keep the old fields in the thread state object, just don't use them Add new linked list of code extra objects on a per-interpreter basis so that interpreter state size isn't changed * Rename __PyCodeExtraState_Get and add comment about it going away in 3.7 Fix sort order of import's in test_code.py * Remove an extraneous space * Remove docstrings for comments * Touch up formatting * Fix casing of coextra local * Fix casing of another variable * Prefix PyCodeExtraState with __ to match C API for getting it * Update NEWS file for bpo-30604
* bpo-30524: Fix _PyStack_UnpackDict() (#1886)Victor Stinner2017-06-091-7/+9
| | | | | | * bpo-29259: Remove unused func parameter of _PyStack_UnpackDict() * bpo-29286: Change _PyStack_UnpackDict() prototype to be able to notify of failure when args is NULL. _PyStack_UnpackDict() now returns -1 on error.
* [3.6] bpo-29943: Do not replace the function PySlice_GetIndicesEx() with a ↵Serhiy Storchaka2017-05-251-0/+2
| | | | | | | macro (GH-1049) (#1813) if Py_LIMITED_API is not defined. (cherry picked from commit 49a9059)
* bpo-29941: Assert fixes (#886) (#955)T. Wouters2017-04-021-0/+4
| | | | | | | | | | Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means making sure helper functions are defined when NDEBUG is not defined, not just when Py_DEBUG is defined. Also fix a division-by-zero in obmalloc.c that went unnoticed because in Py_DEBUG mode, elsize is never zero. (cherry picked from commit a00c3fd12d421e41b769debd7df717d17b0deed5 and 06bb4873d6a9ac303701d08a851d6cd9a51e02a3)
* bpo-29935: Fixed error messages in the index() method of tuple, list and ↵Serhiy Storchaka2017-03-301-0/+1
| | | | | | deque (#887) (#907) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4)
* Merge branch '3.6.1' of github.com:ned-deily/cpython into 3.6Ned Deily2017-03-221-3/+3
|\
| * Bump to 3.6.2rc1 development.Ned Deily2017-03-221-1/+1
| |
| * Update docs and patchlevel for 3.6.1 finalv3.6.1Ned Deily2017-03-211-3/+3
| |
| * Fix the only non-C90 comment to be C90 compatible. (#568)n.d. parker2017-03-211-1/+1
| | | | | | | | (cherry picked from commit 51b646a55a4a1c4d0df764c4404a062fbcc6b356)
* | bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#714)Serhiy Storchaka2017-03-191-27/+18
| | | | | | | | Added the documentation for PyUnicode_Translate(). (cherry picked from commit c85a26628ceb9624c96c3064e8b99033c026d8a3)
* | bpo-29619: Convert st_ino using unsigned integer (#557) (#584)Victor Stinner2017-03-091-1/+1
| | | | | | | | | | | | | | bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode (st_ino) using unsigned integers. (cherry picked from commit 0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c) (Misc/NEWS conflict handled manually.)
* | Fix the only non-C90 comment to be C90 compatible. (#568)n.d. parker2017-03-081-1/+1
| |
* | Bump to v3.6.1rc1+.Ned Deily2017-03-051-1/+1
|/
* Update docs and patchlevel for 3.6.1rc1.v3.6.1rc1Ned Deily2017-03-041-4/+4
|
* [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)Ned Deily2017-03-041-2/+2
| | | | | | | | | | | * bpo-27593: Get SCM build info from git instead of hg. (#446) sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower. (cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)
* Issue #27867: Silenced may-be-used-uninitialized warnings afterSerhiy Storchaka2017-02-041-2/+3
|\ | | | | | | using PySlice_GetIndicesEx() in debug builds.
| * Issue #27867: Silenced may-be-used-uninitialized warnings afterSerhiy Storchaka2017-02-041-2/+3
| | | | | | | | using PySlice_GetIndicesEx() in debug builds.
* | Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro ifSerhiy Storchaka2017-01-251-2/+14
|\ \ | |/ | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher.
| * Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro ifSerhiy Storchaka2017-01-251-2/+14
| | | | | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher.
* | Issue #29083: Fixed the declaration of some public API functions.Serhiy Storchaka2017-01-241-7/+5
|\ \ | |/ | | | | | | | | | | PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is defined.
| * Issue #29083: Fixed the declaration of some public API functions.Serhiy Storchaka2017-01-241-5/+5
| | | | | | | | | | | | | | PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is defined.
| * Fix incorrect patchlevel information for 3.5.3+.Larry Hastings2017-01-201-2/+2
| | | | | | | | | | | | | | It got messed up when I merged my private 3.5.3 release changes with new work happening in the 3.5 main branch. (3.5 main branch was in "3.5.3rc1", my branch was "3.5.3+", and Mercurial helpfully merged the two in a kind of nonsense way.)
| * Merge 3.5.3 release head with main 3.5 branch.Larry Hastings2017-01-172-2/+3
| |\
| * | Post-release updates for 3.5.3.Larry Hastings2017-01-171-1/+1
| | |
| * | Version bump for Python 3.5.3.v3.5.3Larry Hastings2017-01-161-3/+3
| | |
* | | Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-0/+1
|\ \ \ | | |/ | |/| | | | | | | 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-0/+1
| |/ | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
| * Post-release fixups for Python 3.5.3rc1.Larry Hastings2017-01-031-1/+1
| |
| * Version bump for 3.5.3rc1.v3.5.3rc1Larry Hastings2017-01-021-4/+4
| |
* | Issue #27961: Define HAVE_LONG_LONG as 1.Victor Stinner2017-01-051-1/+1
| | | | | | | | | | Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas it is defined as 1 in Python 3.5.
* | Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-271-0/+2
|\ \ | |/ | | | | WeakValueDictionary when collecting from another thread.
| * Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-271-0/+2
| | | | | | | | WeakValueDictionary when collecting from another thread.
* | Issue #29058: All stable API extensions added after Python 3.2 are nowSerhiy Storchaka2016-12-2718-7/+85
| | | | | | | | | | available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python version supporting this API.
* | Issue #29009: Merge 3.5.Xiang Zhang2016-12-191-4/+0
|\ \ | |/
| * Issue #29009: Remove outdated doc of PyUnicode_RichCompare.Xiang Zhang2016-12-191-4/+0
| |
* | guard HAVE_LONG_LONG definition to prevent redefinition (#28898)Benjamin Peterson2016-12-081-2/+3
| |
* | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵Ned Deily2016-12-071-3/+3
| | | | | | | | will be cherrypicked and merged here.