summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* 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.
* | Version bump for 3.6.0rc1v3.6.0rc1Ned Deily2016-12-071-3/+3
| |
* | Fixed misplaced comment.Serhiy Storchaka2016-12-061-6/+6
|\ \ | |/
| * Fixed misplaced comment.Serhiy Storchaka2016-12-061-6/+6
| |
* | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-051-1/+1
|\ \ | |/
| * Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-051-1/+1
| |
* | Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following ↵Ned Deily2016-11-221-1/+1
| | | | | | | | b3. It is now b4+ again.)
* | Version bump for 3.6.0b4v3.6.0b4Ned Deily2016-11-221-1/+1
| |
* | Issue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).Raymond Hettinger2016-11-211-4/+3
| |
* | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString nowSerhiy Storchaka2016-11-161-2/+2
| | | | | | | | require ASCII right argument and assert this condition in debug build.
* | Issue #21449: Removed private function _PyUnicode_CompareWithId.Serhiy Storchaka2016-11-161-9/+0
| |
* | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.Serhiy Storchaka2016-11-161-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 Storchaka2016-11-161-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 Storchaka2016-11-161-0/+11
|\ \ | |/ | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
| * Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-161-0/+11
| | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* | Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-0/+1
|\ \ | |/ | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
| * Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-0/+1
| | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
* | Start 3.6.0b4Ned Deily2016-11-011-2/+2
| |
* | Version bump for 3.6.0b3v3.6.0b3Ned Deily2016-11-011-2/+2
| |
* | Issue 28128: Print out better error/warning messages for invalid string ↵Eric V. Smith2016-10-312-0/+16
| | | | | | | | escapes. Backport to 3.6.
* | Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`Yury Selivanov2016-10-281-1/+1
| |
* | Issue #28544: Fix compilation of _asynciomodule.c on WindowsYury Selivanov2016-10-282-2/+2
| |
* | Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),Serhiy Storchaka2016-10-271-8/+25
| | | | | | | | | | PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode().
* | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raisingSerhiy Storchaka2016-10-211-0/+11
| | | | | | | | | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1]
* | mark dtrace stubs as static inline; remove stubsBenjamin Peterson2016-10-211-19/+19
| | | | | | | | | | C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092) We don't want these to have external visibility anyway.