Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29941: Assert fixes (#886) (#955) | T. Wouters | 2017-04-02 | 1 | -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 Storchaka | 2017-03-30 | 1 | -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.6 | Ned Deily | 2017-03-22 | 1 | -3/+3 |
|\ | |||||
| * | Bump to 3.6.2rc1 development. | Ned Deily | 2017-03-22 | 1 | -1/+1 |
| | | |||||
| * | Update docs and patchlevel for 3.6.1 finalv3.6.1 | Ned Deily | 2017-03-21 | 1 | -3/+3 |
| | | |||||
| * | Fix the only non-C90 comment to be C90 compatible. (#568) | n.d. parker | 2017-03-21 | 1 | -1/+1 |
| | | | | | | | | (cherry picked from commit 51b646a55a4a1c4d0df764c4404a062fbcc6b356) | ||||
* | | bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#714) | Serhiy Storchaka | 2017-03-19 | 1 | -27/+18 |
| | | | | | | | | Added the documentation for PyUnicode_Translate(). (cherry picked from commit c85a26628ceb9624c96c3064e8b99033c026d8a3) | ||||
* | | bpo-29619: Convert st_ino using unsigned integer (#557) (#584) | Victor Stinner | 2017-03-09 | 1 | -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. parker | 2017-03-08 | 1 | -1/+1 |
| | | |||||
* | | Bump to v3.6.1rc1+. | Ned Deily | 2017-03-05 | 1 | -1/+1 |
|/ | |||||
* | Update docs and patchlevel for 3.6.1rc1.v3.6.1rc1 | Ned Deily | 2017-03-04 | 1 | -4/+4 |
| | |||||
* | [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) | Ned Deily | 2017-03-04 | 1 | -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 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: Function PySlice_GetIndicesEx() is replaced with a macro if | Serhiy Storchaka | 2017-01-25 | 1 | -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 if | Serhiy Storchaka | 2017-01-25 | 1 | -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 Storchaka | 2017-01-24 | 1 | -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 Storchaka | 2017-01-24 | 1 | -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 Hastings | 2017-01-20 | 1 | -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 Hastings | 2017-01-17 | 2 | -2/+3 |
| |\ | |||||
| * | | Post-release updates for 3.5.3. | Larry Hastings | 2017-01-17 | 1 | -1/+1 |
| | | | |||||
| * | | Version bump for Python 3.5.3.v3.5.3 | Larry Hastings | 2017-01-16 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -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 Storchaka | 2017-01-12 | 1 | -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 Hastings | 2017-01-03 | 1 | -1/+1 |
| | | |||||
| * | Version bump for 3.5.3rc1.v3.5.3rc1 | Larry Hastings | 2017-01-02 | 1 | -4/+4 |
| | | |||||
* | | Issue #27961: Define HAVE_LONG_LONG as 1. | Victor Stinner | 2017-01-05 | 1 | -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 from | Antoine Pitrou | 2016-12-27 | 1 | -0/+2 |
|\ \ | |/ | | | | | WeakValueDictionary when collecting from another thread. | ||||
| * | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -0/+2 |
| | | | | | | | | WeakValueDictionary when collecting from another thread. | ||||
* | | Issue #29058: All stable API extensions added after Python 3.2 are now | Serhiy Storchaka | 2016-12-27 | 18 | -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 Zhang | 2016-12-19 | 1 | -4/+0 |
|\ \ | |/ | |||||
| * | Issue #29009: Remove outdated doc of PyUnicode_RichCompare. | Xiang Zhang | 2016-12-19 | 1 | -4/+0 |
| | | |||||
* | | guard HAVE_LONG_LONG definition to prevent redefinition (#28898) | Benjamin Peterson | 2016-12-08 | 1 | -2/+3 |
| | | |||||
* | | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵ | Ned Deily | 2016-12-07 | 1 | -3/+3 |
| | | | | | | | | will be cherrypicked and merged here. | ||||
* | | Version bump for 3.6.0rc1v3.6.0rc1 | Ned Deily | 2016-12-07 | 1 | -3/+3 |
| | | |||||
* | | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Fixed misplaced comment. | Serhiy Storchaka | 2016-12-06 | 1 | -6/+6 |
| | | |||||
* | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -1/+1 |
| | | |||||
* | | Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following ↵ | Ned Deily | 2016-11-22 | 1 | -1/+1 |
| | | | | | | | | b3. It is now b4+ again.) | ||||
* | | Version bump for 3.6.0b4v3.6.0b4 | Ned Deily | 2016-11-22 | 1 | -1/+1 |
| | | |||||
* | | Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder). | Raymond Hettinger | 2016-11-21 | 1 | -4/+3 |
| | | |||||
* | | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now | Serhiy Storchaka | 2016-11-16 | 1 | -2/+2 |
| | | | | | | | | require ASCII right argument and assert this condition in debug build. | ||||
* | | Issue #21449: Removed private function _PyUnicode_CompareWithId. | Serhiy Storchaka | 2016-11-16 | 1 | -9/+0 |
| | | |||||
* | | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -0/+19 |
|\ \ | |/ | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
| * | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -0/+19 |
| | | | | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -0/+11 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -0/+11 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. | ||||
| * | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -0/+1 |
| | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. |