Commit Graph

1664 Commits

Author SHA1 Message Date
Benjamin Peterson
6f3a8431cf off to 2.7.13 2016-06-11 15:12:35 -07:00
Benjamin Peterson
1563f164e5 2.7.12 release candidate 1 2016-06-11 14:46:26 -07:00
Martin Panter
8d496add74 Issue #27171: Fix typos in documentation, code comments, and tests 2016-06-02 10:35:44 +00:00
Martin Panter
4f23cabc16 Corrections for a/an in code comments and documentation 2016-05-08 13:45:55 +00:00
Serhiy Storchaka
9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Martin Panter
6a8163a928 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
763a61ca95 Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
2016-04-10 18:05:12 +03:00
Serhiy Storchaka
bc62af1bbe Issue #22570: Renamed Py_SETREF to Py_XSETREF. 2016-04-06 09:51:18 +03:00
Martin Panter
3c38dccf22 Fix typos in documentation and comments 2016-04-05 06:19:42 +00:00
Serhiy Storchaka
79f657c6e7 Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.
2016-03-03 18:16:27 +02:00
Serhiy Storchaka
1c496178d2 Issue #25698: Importing module if the stack is too deep no longer replaces
imported module with the empty one.
2016-02-10 10:28:06 +02:00
Victor Stinner
7791165fb3 code_richcompare() now uses the constants types
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.
2016-01-22 12:33:12 +01:00
Serhiy Storchaka
5951f2300f Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
2015-12-24 10:35:35 +02:00
Benjamin Peterson
4f1aeaef3d off to 2.7.12 we go 2015-12-05 11:46:21 -08:00
Benjamin Peterson
11fc030b6f 2.7.11 final 2015-12-05 11:45:17 -08:00
Benjamin Peterson
85592c9c80 post rc1 updates 2015-11-21 18:38:18 -08:00
Benjamin Peterson
c6f13db94a bump to 2.7.11rc1 2015-11-21 13:38:35 -08:00
Serhiy Storchaka
c72e66a048 Issue #25523: Backported a-to-an corrections. 2015-11-02 15:06:09 +02:00
R David Murray
9168d069bf #21167: Fix definition of NAN when ICC used without -fp-model strict.
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:48:35 -04:00
Serhiy Storchaka
1670af6c33 Added the const qualifier for char* argument of Py_EnterRecursiveCall(). 2015-06-21 16:26:28 +03:00
Serhiy Storchaka
c7797dc748 Issue #19543: Emit deprecation warning for known non-text encodings.
Backported issues #19619: encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.

Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
2015-05-31 20:21:00 +03:00
Benjamin Peterson
2c992a0788 backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
Benjamin Peterson
60ab9ccf56 2.7.10+ 2015-05-23 11:03:53 -05:00
Benjamin Peterson
5a29c5cc45 python 2.7.10 final 2015-05-23 11:02:14 -05:00
Benjamin Peterson
a40ea98fc1 bump version to 2.7.10rc1 2015-05-10 13:14:16 -04:00