Commit Graph

1655 Commits

Author SHA1 Message Date
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
Benjamin Peterson
023de869ec use rc rather than beta 2015-04-02 21:36:42 -04:00
doko@ubuntu.com
320bec1922 - Set PY_VERSION to "2.7.10b0", PY_MICRO_VERSION to 10 and
PY_RELEASE_LEVEL to PY_RELEASE_LEVEL_BETA.
2015-04-02 15:59:13 +02:00
Serhiy Storchaka
aa64c46ac9 Issue #23781: Add private helper function _PyErr_ReplaceException() that
corresponds _PyErr_ChainExceptions() in Python 3 to help porting patches
from Python 3.
2015-03-30 09:48:42 +03:00
Benjamin Peterson
083f6fba5a move 2.7 branch to 2.7.9+ 2014-12-10 11:57:12 -05:00
Benjamin Peterson
a5f49f5bb4 bump to 2.7.9 final 2014-12-10 10:57:00 -05:00
Benjamin Peterson
af358ef399 2.7.9rc1 2014-11-25 18:27:24 -06:00
Antoine Pitrou
b9a4501179 Issue #21963: backout issue #1856 patch (avoid crashes and lockups when
daemon threads run while the interpreter is shutting down; instead,
these threads are now killed when they try to take the GIL), as it seems
to break some existing code.
2014-11-21 02:04:21 +01:00
Serhiy Storchaka
a86c091a73 Issue #22453: Fexed reference leaks when format error messages in ceval.c.
Warn against the use of leaking macro PyObject_REPR().
2014-11-19 00:11:05 +02:00
Serhiy Storchaka
ead2f5a027 Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
2014-11-18 17:29:47 +02:00