1118 Commits

Author SHA1 Message Date
Martin v. Löwis
4556e7e002 Prepare for 2.4.6. 2008-12-19 15:02:52 +00:00
Martin v. Löwis
cc4e066902 Prepare for 2.4.6c1. 2008-12-13 13:34:10 +00:00
Neal Norwitz
46b3a79459 Backport r65182. This change modified from using the unsigned max value
to the signed max value similar to 2.5 and trunk.

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:22:45 +00:00
Martin v. Löwis
50d55ff8c7 Prepare for 2.4.5 2008-03-11 17:59:53 +00:00
Martin v. Löwis
ae1c290a05 Prepare for 2.4.5c1 2008-03-02 19:33:40 +00:00
Martin v. Löwis
c8ed4ff565 Backport of r60793:
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-03-02 19:20:32 +00:00
Anthony Baxter
1fad0cdb36 preparing for 2.4.4 final 2006-10-17 16:07:57 +00:00
Anthony Baxter
126ba449b6 preparing for 2.4.4c1 2006-10-10 16:44:16 +00:00
Martin v. Löwis
ed0681ffab Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h.
2006-10-02 15:24:15 +00:00
Thomas Wouters
eba52802cd Backport trunk's r45715:
Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses
MAXPATHLEN-sized buffers for various output-buffers (like to realpath()),
and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and
does not define MAXPATHLEN.) Cursory googling suggests Linux is following a
newer standard than BSD, but in cases like this, who knows. Using the
greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the
most portable solution.
2006-04-25 15:33:48 +00:00
Armin Rigo
337c143b4a Ignore the references to the dummy objects used as deleted keys
in dicts and sets when computing the total number of references.
2006-04-12 17:06:58 +00:00
Anthony Baxter
732fae185b post 2.4.3. 2006-04-03 17:54:50 +00:00
Anthony Baxter
e77ff2a9ef preparing for 2.4.3 final 2006-03-28 06:32:00 +00:00
Anthony Baxter
e311fdce97 aarrrrghhh 2006-03-23 02:49:17 +00:00
Anthony Baxter
88fd50038b 2.4.3c1 preparations 2006-03-22 04:00:19 +00:00
Barry Warsaw
f5eccd0ac4 Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
2006-01-26 18:49:57 +00:00
Anthony Baxter
f9fde1e931 2.4.2 release stuff 2005-09-28 02:15:15 +00:00
Anthony Baxter
4ab7786fdd pre-release machinations 2005-09-20 13:12:48 +00:00
Guido van Rossum
e2f5adbc78 - Changes donated by Elemental Security to make it work on AIX 5.3
with IBM's 64-bit compiler (SF patch #1284289).  This also closes SF
  bug #105470: test_pwd fails on 64bit system (Opteron).
2005-09-14 18:15:03 +00:00
Guido van Rossum
e42f446482 (backport from HEAD)
- Changes donated by Elemental Security to make it work on HP-UX 11 on
  Itanium2 with HP's 64-bit compiler (SF patch #1225212).
2005-09-14 17:54:39 +00:00
Anthony Baxter
8f3b5d8f94 Make testing a bit easier 2005-08-30 12:26:43 +00:00
Walter Dörwald
fd8e0170e2 Backport checkin:
SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the patch by Nik Haldimann that detects truncated data)
2005-08-30 10:46:06 +00:00
Georg Brandl
66e75ac6e0 Disallow keyword arguments for type constructors that don't use them
(fixes #1119418).
2005-08-26 06:43:16 +00:00
Georg Brandl
95d632d472 [ 1243081 ] repair typos 2005-07-22 18:40:02 +00:00
Anthony Baxter
92da66aad5 2.4.1 preparations. 2005-03-29 12:33:34 +00:00