summaryrefslogtreecommitdiff
path: root/Include
AgeCommit message (Collapse)AuthorLines
2020-04-19Bump version to 2.7.18.Benjamin Peterson-3/+3
2020-04-04Bump version to 2.7.18rc1.v2.7.18rc1Benjamin Peterson-4/+4
2019-10-192.2.17+Benjamin Peterson-1/+1
2019-10-19Bump version to 2.7.17 final.Benjamin Peterson-3/+3
2019-10-07Bump version to 2.7.17rc1.Benjamin Peterson-4/+4
2019-09-23closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)Miss Islington (bot)-1/+1
(cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f) Co-authored-by: Hai Shi <shihai1992@gmail.com>
2019-04-09bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)Inada Naoki-1/+1
2019-03-02Post-2.7.16 version bump.Benjamin Peterson-1/+1
2019-03-02Set version to 2.7.16 final.v2.7.16Benjamin Peterson-3/+3
2019-02-17Set version to 2.7.16rc1+.Benjamin Peterson-1/+1
2019-02-16Set version to 2.7.16rc1.v2.7.16rc1Benjamin Peterson-4/+4
2018-11-29closes bpo-35340: Add freegrammar to pgenheaders.h. (GH-10788)Benjamin Peterson-0/+1
2018-10-13[2.7] bpo-22851: Fix a segfault when accessing ↵Zackery Spytz-1/+1
generator.gi_frame.f_restricted. (GH-9348) Frame's field f_tstate is NULL when the generator is exhausted.
2018-09-18[2.7] bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) (GH-9394)Christian Heimes-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
2018-09-10bpo-25083: Python can sometimes create incorrect .pyc files (GH-8449)tzickel-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.
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-0/+3
2018-06-22[2.7] properly free memory in pgen. (GH-7869) (closes bpo-27780Benjamin Peterson-0/+1
(cherry picked from commit 9ac11a752a19c3b8607582a3d5ccb615c467124b) Co-authored-by: Benjamin Peterson <benjamin@python.org>
2018-04-292.7.15+Benjamin Peterson-1/+1
2018-04-29bump to 2.7.15v2.7.15Benjamin Peterson-3/+3
2018-04-29Indicate that _PyGC_Head is only 8-byte aligned. (closes bpo-33374)Florian Weimer-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.
2018-04-142.7.15rc1 version bumpv2.7.15rc1Benjamin Peterson-4/+4
2018-02-12Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568) (GH-5571)Miss Islington (bot)-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>
2018-01-24bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵Miss Islington (bot)-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)
2017-11-01bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) ↵Miss Islington (bot)-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)
2017-10-31[2.7] bpo-31891: Fix building the curses module on NetBSD. (GH-4165). (#4194)Serhiy Storchaka-9/+5
(cherry picked from commit baac01e629d90f63dfde6b5cc433f4bc65c5feeb)
2017-09-16a post 2.7.14 worldBenjamin Peterson-1/+1
2017-09-16merge 2.7.14 release branchBenjamin Peterson-3/+3
2017-09-162.7.14 final version bumpsv2.7.14Benjamin Peterson-3/+3
2017-09-15bpo-31474: Fix -Wint-in-bool-context warnings (#3581)Christian Heimes-2/+2
Signed-off-by: Christian Heimes <christian@python.org>
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-3/+3
This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.
2017-08-26version bumps for 2.7.14rc1v2.7.14rc1Benjamin Peterson-4/+4
2017-05-02bpo-27593: Get SCM build info from git instead of hg (#1327)Victor Stinner-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.
2017-04-16bpo-29943: Remove the PySlice_GetIndicesEx() macro. (#1050)Serhiy Storchaka-5/+0
2017-03-30bpo-29935: Fixed error messages in the index() method of tuple and list ↵Serhiy Storchaka-0/+1
(#887) (#907) (#910) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4) (cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c)
2017-02-04Issue #27867: Fixed merging error.Serhiy Storchaka-1/+1
2017-02-04Issue #27867: Silenced may-be-used-uninitialized warnings afterSerhiy Storchaka-2/+3
using PySlice_GetIndicesEx() in debug builds.
2017-01-25Issue #27867: Replaced function PySlice_GetIndicesEx() with a macro.Serhiy Storchaka-0/+10
2016-12-27Issue #28427: old keys should not remove new values fromAntoine Pitrou-0/+3
WeakValueDictionary when collecting from another thread.
2016-12-03prepare for 2.7.14 devBenjamin Peterson-3/+3
2016-12-03python 2.7.13rc1v2.7.13rc1Benjamin Peterson-4/+4
2016-11-30Issue #25701: Document that some C APIs can both set and delete itemsMartin Panter-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.
2016-09-19remove trailing whitespaceBenjamin Peterson-18/+18
2016-09-17Issue #28139: Fix messed up indentationMartin Panter-1/+1
Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
2016-09-16Issue #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal ofsashk-24/+39
deprecated QuickTime/QuickTime.h header file. Patch by sashk.
2016-09-07Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter-1/+1
2016-08-20Fix some spelling errorsMartin Panter-2/+2
2016-08-15Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.Ned Deily-1/+3
The original problem has been fixed in newer versions of FreeBSD. Patch by Dimitry Andric of the FreeBSD project.
2016-08-15Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.Ned Deily-0/+7
Patch by Ronald Oussoren.
2016-07-28Spelling and grammar fixes in code comments and documentationMartin Panter-2/+2
2016-07-28Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter-1/+1
Based on patch by Ville Skyttä.