summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Post-release version bump for 3.5.4 final.Larry Hastings2017-08-081-1/+1
|
* Version bump for 3.5.4 final.v3.5.4Larry Hastings2017-08-071-3/+3
|
* Post-release version bump for 3.5.4rc1.Larry Hastings2017-07-251-1/+1
|
* Version bump & copyright year fixes for 3.5.4rc1.v3.5.4rc1Larry Hastings2017-07-241-4/+4
|
* [3.5] bpo-13617: Reject embedded null characters in wchar* strings. ↵Serhiy Storchaka2017-06-281-3/+7
| | | | | | | | | | (GH-2302) (#2463) 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.5] bpo-30708: Add private C API function _PyUnicode_AsWideCharString(). ↵Serhiy Storchaka2017-06-271-0/+6
| | | | | | | | | | (GH-2285) (GH-2443) (#2448) And use it instead of PyUnicode_AsWideCharString() if appropriate. _PyUnicode_AsWideCharString(unicode) is like PyUnicode_AsWideCharString(unicode, NULL), but raises a ValueError if the wchar_t* string contains null characters. (cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a). (cherry picked from commit 0edffa3073b551ffeca34952529e7b292f1bd350)
* [3.5] bpo-29943: Do not replace the function PySlice_GetIndicesEx() with a ↵Serhiy Storchaka2017-04-161-0/+2
| | | | | macro (#1049) if Py_LIMITED_API is not defined.
* bpo-29941: Assert fixes (#886) (#956)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) (#909) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4) (cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c)
* bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#715)Serhiy Storchaka2017-03-191-27/+18
| | | | Added the documentation for PyUnicode_Translate(). (cherry picked from commit c85a26628ceb9624c96c3064e8b99033c026d8a3)
* [3.5] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) (#455)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) (cherry picked from commit 95c50e5aed9e5683676e18349dd94b11901a66b3)
* 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 #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
|\
| * 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 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
|/
* 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 #28427: old keys should not remove new values fromAntoine Pitrou2016-12-271-0/+2
| | | | WeakValueDictionary when collecting from another thread.
* Issue #29009: Remove outdated doc of PyUnicode_RichCompare.Xiang Zhang2016-12-191-4/+0
|
* Fixed misplaced comment.Serhiy Storchaka2016-12-061-6/+6
|
* Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-051-1/+1
|
* 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 #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 #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-1/+1
| | | | Original patch by Xiang Zhang.
* Issues #25909, #28211: Restored correct documentation of PyMapping_Items,Serhiy Storchaka2016-09-261-7/+7
| | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
* remove trailing whitespaceBenjamin Peterson2016-09-202-19/+19
|
* Issue #28139: Fix messed up indentationMartin Panter2016-09-171-1/+1
| | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-072-2/+2
|
* Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-1/+1
| | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
* Minor spelling fixesMartin Panter2016-08-201-2/+2
|
* Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.Ned Deily2016-08-151-1/+3
| | | | | The original problem has been fixed in newer versions of FreeBSD. Patch by Dimitry Andric of the FreeBSD project.
* Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.Ned Deily2016-08-151-0/+7
| | | | Patch by Ronald Oussoren.
* Fix spelling and grammar in documentation and code commentsMartin Panter2016-08-041-1/+1
|
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | Based on patch by Ville Skyttä.
* Post-release fixups for Python 3.5.2.Larry Hastings2016-06-271-1/+1
|
* Version number bump for 3.5.2 final.v3.5.2Larry Hastings2016-06-251-3/+3
|
* Post-release fixups for Python 3.5.2rc1.Larry Hastings2016-06-131-1/+1
|
* Release bump for 3.5.2rc1.Larry Hastings2016-06-121-4/+4
|
* Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-0/+3
|
* fix indentation of commentBenjamin Peterson2016-06-041-7/+7
|
* Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
|
* Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
|
* Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().Serhiy Storchaka2016-05-011-2/+2
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-2/+2
|
* Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docsMartin Panter2016-04-151-16/+8
|