Commit Graph

3582 Commits

Author SHA1 Message Date
Andrew M. Kuchling
4e2a4ff607 [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. 2005-11-22 15:39:05 +00:00
Fred Drake
d8f285680a update busted comment 2005-11-11 19:35:02 +00:00
Neal Norwitz
6e4524f633 Backport (with output/test_poll):
Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()
2005-11-03 05:11:17 +00:00
Neal Norwitz
03f34d1158 Backport (with cleanup): Bug #1344508, Fix UNIX mmap leaking file descriptors. 2005-11-02 05:43:19 +00:00
Raymond Hettinger
656b762ee8 SF #1313496: bisect C replacement doesn't accept named args 2005-10-05 11:48:36 +00:00
Neal Norwitz
c2b7c59267 Backport:
SF bug #887946, segfault if redirecting directory
Also provide a warning if a directory is passed on the command line.
Add minimal command line test.
2005-10-03 01:03:46 +00:00
Neal Norwitz
bc3710f83d - Patch #1309009, Fix segfault in pyexpat when the XML document is in latin_1,
but Python incorrectly assumes it is in UTF-8 format
2005-09-30 04:58:23 +00:00
Georg Brandl
e3a1c63c89 backport: fix parse errors in readline 2005-09-29 13:42:45 +00:00
Michael W. Hudson
ea2ef08e83 Backport (with Anthony's blessing (in fact he reminded me to do it :)):
Patches #1298449 and #1298499: Add some missing checks for error
returns in cStringIO.c.  Thanks to Andrew Bennetts.

This must be a backport candidate.
2005-09-26 13:15:34 +00:00
Georg Brandl
e32757cf4f Commit memory leaking fix. 2005-09-25 06:16:28 +00:00
Michael W. Hudson
b21d81e771 Backport bugfix:
Fix bug:

[ 1163563 ] Sub threads execute in restricted mode

basically by fixing bug 1010677 in a non-broken way.

Backport candidate.
2005-09-23 08:14:40 +00:00
Neal Norwitz
ef6fb3dc52 Backport fix for patch #1297028, cjkcodecs does not initialize type pointer 2005-09-23 03:23:46 +00:00
Armin Rigo
5e6a594ab1 C89 compliance. 2005-09-20 19:04:42 +00:00
Neal Norwitz
c36179bf81 Fix problems reported by valgrind:
* Fix memory leak in posix.access()
 * Fix use of uninitialized value in forkpty()
   - from the manpage it isn't clear if there are conditions where master_fd
     are uninitialized, but it's safer to initialize
2005-09-19 06:42:30 +00:00
Martin v. Löwis
410a432579 Patch #1213831: Fix typo in unicodedata._getcode. 2005-09-18 08:18:51 +00:00
Georg Brandl
a38d85fbc2 bug [ 1007046 ] os.startfile() doesn't accept Unicode filenames 2005-09-14 20:51:40 +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
Georg Brandl
ede0c6680e bug [ 1274069 ] bz2module.c compiler warning 2005-09-03 07:49:48 +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
b0499974cd Important typo 2005-08-26 12:50:37 +00:00
Raymond Hettinger
0acd7e0581 SF bug #1072182: bad arg type to isspace in struct module 2005-08-26 08:42:13 +00:00
Georg Brandl
32c2ed59f3 backport patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows 2005-08-26 08:33:28 +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
0b5fb781db Backport fixes for bugs #1191043 and #1215928. 2005-08-25 13:10:58 +00:00
Georg Brandl
a6161e476d backport bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix 2005-08-24 07:17:35 +00:00