summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* bump to 2.7.15v2.7.15Benjamin Peterson2018-04-291-3/+3
|
* Indicate that _PyGC_Head is only 8-byte aligned. (closes bpo-33374)Florian Weimer2018-04-291-1/+16
| | | | | | | | | By spec, the "long double" in _PyGC_Head requires the union to always be 16-byte aligned. However, obmalloc only yields 8-byte alignment. Compilers including GCC 8 are starting to use alignment information to do store-merging. So, the "long double" needs to be changed to a simple "double" as was long ago done in Python 3 by e348c8d154cf6342c79d627ebfe89dfe9de23817. For 2.7, we need to add some dummy padding to make sure _PyGC_Head stays the same size.
* 2.7.15rc1 version bumpv2.7.15rc1Benjamin Peterson2018-04-141-4/+4
|
* Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568) (GH-5571)Miss Islington (bot)2018-02-121-1/+1
| | | | | | It now reads: ...be aware that Python has no control over... (cherry picked from commit 517da1e58f4c489d4b31579852cde5f7113da08e) Co-authored-by: Alexey <forestbiiird@gmail.com>
* bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵Miss Islington (bot)2018-01-241-0/+3
| | | | | | | | (GH-5284) (#5295) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system. (cherry picked from commit e768c86ef442ef89004089a8a34ce5909ffb90f2)
* bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) ↵Miss Islington (bot)2017-11-011-7/+12
| | | | | | | | | | | (#4213) Modify the code to use ncurses is_pad() instead of checking WINDOW _flags field. If your platform does not provide the is_pad(), the existing way that checks the field will be enabled. Note: This change does not drop support for platforms where do not have both WINDOW _flags field and is_pad(). (cherry picked from commit 8bc7d63560024681dce9f40445f2877b2987e92c)
* [2.7] bpo-31891: Fix building the curses module on NetBSD. (GH-4165). (#4194)Serhiy Storchaka2017-10-311-9/+5
| | | (cherry picked from commit baac01e629d90f63dfde6b5cc433f4bc65c5feeb)
* a post 2.7.14 worldBenjamin Peterson2017-09-161-1/+1
|
* merge 2.7.14 release branchBenjamin Peterson2017-09-161-3/+3
|\
| * 2.7.14 final version bumpsv2.7.14Benjamin Peterson2017-09-161-3/+3
| |
* | bpo-31474: Fix -Wint-in-bool-context warnings (#3581)Christian Heimes2017-09-151-2/+2
| | | | | | Signed-off-by: Christian Heimes <christian@python.org>
* | consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson2017-09-142-3/+3
|/ | | This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.
* version bumps for 2.7.14rc1v2.7.14rc1Benjamin Peterson2017-08-261-4/+4
|
* bpo-27593: Get SCM build info from git instead of hg (#1327)Victor Stinner2017-05-021-3/+2
| | | | | | | | | | | Based on commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178 by Ned Deily, which is based on original patches by Brett Cannon and Steve Dower. Remove also the private _Py_svnversion() function and SVNVERSION variable. Note: Py_SubversionRevision() and Py_SubversionShortBranch() are unchanged, they are part of the public API.
* bpo-29943: Remove the PySlice_GetIndicesEx() macro. (#1050)Serhiy Storchaka2017-04-161-5/+0
|
* bpo-29935: Fixed error messages in the index() method of tuple and list ↵Serhiy Storchaka2017-03-301-0/+1
| | | | | | | (#887) (#907) (#910) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4) (cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c)
* Issue #27867: Fixed merging error.Serhiy Storchaka2017-02-041-1/+1
|
* Issue #27867: Silenced may-be-used-uninitialized warnings afterSerhiy Storchaka2017-02-041-2/+3
| | | | using PySlice_GetIndicesEx() in debug builds.
* Issue #27867: Replaced function PySlice_GetIndicesEx() with a macro.Serhiy Storchaka2017-01-251-0/+10
|
* Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-271-0/+3
| | | | WeakValueDictionary when collecting from another thread.
* prepare for 2.7.14 devBenjamin Peterson2016-12-031-3/+3
|
* python 2.7.13rc1v2.7.13rc1Benjamin Peterson2016-12-031-4/+4
|
* Issue #25701: Document that some C APIs can both set and delete itemsMartin Panter2016-11-301-12/+12
| | | | | | Also document that using the dedicated functions to delete items is preferred. Using PyObject_SetAttr/String() and PySequence_SetItem/Slice() for deletion is deprecated.
* remove trailing whitespaceBenjamin Peterson2016-09-201-18/+18
|
* 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 #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal ofsashk2016-09-161-24/+39
| | | | deprecated QuickTime/QuickTime.h header file. Patch by sashk.
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
|
* Fix some spelling errorsMartin 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.
* Spelling and grammar fixes in code comments and documentationMartin Panter2016-07-281-2/+2
|
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | Based on patch by Ville Skyttä.
* Issue #23943: Fix typos. Patch by Piotr Kasprzyk.Martin Panter2016-07-282-2/+2
|
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-022-3/+3
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
* post 2.7.12 versionBenjamin Peterson2016-06-251-1/+1
|
* 2.7.12 finalv2.7.12Benjamin Peterson2016-06-251-3/+3
|
* 2.7.12 release candidate 1v2.7.12rc1Benjamin Peterson2016-06-111-4/+4
|
* Issue #27171: Fix typos in documentation, code comments, and testsMartin Panter2016-06-021-1/+1
|
* Corrections for a/an in code comments and documentationMartin Panter2016-05-082-2/+2
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-152-5/+5
| | | | This affects documentation and code comments.
* Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-2/+12
| | | | in places where Py_DECREF was used.
* Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-2/+2
|
* Fix typos in documentation and commentsMartin Panter2016-04-051-1/+1
|
* Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.Serhiy Storchaka2016-03-031-1/+1
| | | | Patch by Jeroen Demeyer.
* Issue #25698: Importing module if the stack is too deep no longer replacesSerhiy Storchaka2016-02-101-0/+1
| | | | imported module with the empty one.
* code_richcompare() now uses the constants typesVictor Stinner2016-01-221-1/+10
| | | | | | | | | Issue #25843: When compiling code, don't merge constants if they are equal but have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal. Add a new _PyCode_ConstantKey() private function.
* Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-0/+23
| | | | macro Py_SETREF.
* off to 2.7.12 we goBenjamin Peterson2015-12-051-1/+1
|
* 2.7.11 finalv2.7.11Benjamin Peterson2015-12-051-3/+3
|