1272 Commits

Author SHA1 Message Date
Martin v. Löwis
3d9eecb0bb Prepare for 2.5.3. 2008-12-19 15:08:45 +00:00
Martin v. Löwis
073ff240e7 Prepare for 2.5.3c1. 2008-12-13 15:42:40 +00:00
Martin v. Löwis
8a64048a22 Backport of r64212
Issue #1683: prevent forking from interfering in threading storage.
2008-12-13 14:59:04 +00:00
Neal Norwitz
83ac0144fa Backport code from r65182:
Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-28 05:06:20 +00:00
Martin v. Löwis
31679397af Bump version for 2.5.3a0. 2008-02-23 17:35:47 +00:00
Martin v. Löwis
bcffd10596 Prepare for 2.5.2. 2008-02-21 10:04:55 +00:00
Martin v. Löwis
a859e25acb Preparing for 2.5.2c1. 2008-02-14 12:33:15 +00:00
Martin v. Löwis
73c01d4101 Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
2008-02-14 11:26:18 +00:00
Fred Drake
c2e0e077fb when talking about an imminent 2.5.2c1, the build should identify itself
as being some form of 2.5.2 (this is admittedly a bit conservative);
we can make this 2.5.2c1 when making the release
2007-11-09 16:53:20 +00:00
Georg Brandl
ad4b263ba7 Fix #1752132: wrong comment in opcode description.
(backport from rev. 56280)
2007-07-11 19:41:53 +00:00
Martin v. Löwis
7d18356db7 Provide PY_LLONG_MAX on all systems having long long. 2007-06-13 03:42:55 +00:00
Martin v. Löwis
390240d0b1 Backport r55845: Provide LLONG_MAX for S390. 2007-06-09 12:57:46 +00:00
Martin v. Löwis
2276885acd Patch #1733960: Allow T_LONGLONG to accept ints. 2007-06-09 08:01:33 +00:00
Kristján Valur Jónsson
a1392d5ace Merge change 54982 from the trunk. This fixes the test_subprocess test in the testsuite for VisualStudio2005 builds, by "sanitizing" the "mode" that is used in the posixmodule's fdopen(). In particular the non-standard "U" mode character is removed. 2007-05-07 19:25:38 +00:00
Anthony Baxter
ef57abdb60 2.5.1 final 2007-04-18 03:35:45 +00:00
Anthony Baxter
9515c96cb0 preparing for 2.5.1c1 2007-04-05 04:52:06 +00:00
Raymond Hettinger
f94e89c578 Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability. 2007-03-20 21:45:04 +00:00
Collin Winter
e19d7a3c0a Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167.
Backported from r54291.
2007-03-12 16:49:23 +00:00
Raymond Hettinger
1bff796983 Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash(). 2007-02-19 03:04:45 +00:00
Martin v. Löwis
9d179ce4f9 Prefix AST symbols with _Py_. Fixes #1637022. 2007-01-19 06:42:33 +00:00
Martin v. Löwis
e67b3497c9 Patch #1580872: Remove duplicate declaration of PyCallable_Check. 2006-10-22 10:47:28 +00:00
Martin v. Löwis
33bb6102ec Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h.
2006-10-02 15:24:01 +00:00
Georg Brandl
934c90de0d Backport rev. 51971:
Fix %zd string formatting on Mac OS X so it prints negative numbers.

In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t.  This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time.  Need to verify the buildbot results.
2006-09-25 06:58:00 +00:00
Anthony Baxter
2d8697f32c Preparing for 2.5 final.
(damn, it's nice to see the line
  #define PY_VERSION              "2.5"
in patchlevel.h)
2006-09-18 06:51:50 +00:00
Anthony Baxter
2d4183c5f6 preparing for 2.5c2 2006-09-11 15:30:13 +00:00