summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 2.7.17 final.Benjamin Peterson2019-10-191-3/+3
|
* Bump version to 2.7.17rc1.Benjamin Peterson2019-10-081-4/+4
|
* closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)Miss Islington (bot)2019-09-241-1/+1
| | | | | (cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f) Co-authored-by: Hai Shi <shihai1992@gmail.com>
* bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)Inada Naoki2019-04-091-1/+1
|
* Post-2.7.16 version bump.Benjamin Peterson2019-03-021-1/+1
|
* Set version to 2.7.16 final.v2.7.16Benjamin Peterson2019-03-021-3/+3
|
* Set version to 2.7.16rc1+.Benjamin Peterson2019-02-171-1/+1
|
* Set version to 2.7.16rc1.v2.7.16rc1Benjamin Peterson2019-02-161-4/+4
|
* closes bpo-35340: Add freegrammar to pgenheaders.h. (GH-10788)Benjamin Peterson2018-11-291-0/+1
|
* [2.7] bpo-22851: Fix a segfault when accessing ↵Zackery Spytz2018-10-131-1/+1
| | | | | generator.gi_frame.f_restricted. (GH-9348) Frame's field f_tstate is NULL when the generator is exhausted.
* [2.7] bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) (GH-9394)Christian Heimes2018-09-181-1/+3
| | | | | | | | | | | | | | | The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623. (cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623
* bpo-25083: Python can sometimes create incorrect .pyc files (GH-8449)tzickel2018-09-101-0/+1
| | | | | | Python 2 never checked for I/O error when reading .py files and thus could mistake an I/O error for EOF and create incorrect .pyc files. This adds an check for this and aborts on an error.
* [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka2018-07-311-0/+3
|
* [2.7] properly free memory in pgen. (GH-7869) (closes bpo-27780Benjamin Peterson2018-06-231-0/+1
| | | | | (cherry picked from commit 9ac11a752a19c3b8607582a3d5ccb615c467124b) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* 2.7.15+Benjamin Peterson2018-04-291-1/+1
|
* 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
|