Neal Norwitz
8ef3475bc0
Try to improve name based on discussion on python-checkins with Jim Jewett
2006-02-13 00:37:09 +00:00
Neal Norwitz
3273cb5eee
Backport r42314 which fixed Windows breakage when checking that socket
...
descriptors fit in fd_set.
Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.
Proposed by Tim Peters implemented by Martin von Loewis.
2006-02-12 21:07:17 +00:00
Neal Norwitz
90f1db3d5d
Backport:
...
Bug #876637 , prevent stack corruption when socket descriptor
is larger than FD_SETSIZE.
This can only be acheived with ulimit -n SOME_NUMBER_BIGGER_THAN_FD_SETSIZE
which is typically only available to root. Since this wouldn't normally
be run in a test (ie, run as root), it doesn't seem too worthwhile to
add a normal test. The bug report has one version of a test. I've
written another. Not sure what the best thing to do is.
Do the check before calling internal_select() because we can't set
an error in between Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS.
This seemed the clearest solution.
2006-02-07 07:17:37 +00:00
Neal Norwitz
b5abd16153
Backport:
...
Patch #1407135 , bug #1424041 : mmap.mmap(-1, size, ...) can return
anonymous memory again on Unix.
2006-02-05 06:00:54 +00:00
Neal Norwitz
cd8a8c3586
Backport 42173: get bsddb test_associate to pass with BSDDB 4.1
2006-01-26 05:19:56 +00:00
Neal Norwitz
ebf1dcaeaf
Backport:
...
Fix bug #1413192 , fix seg fault in bsddb if a txn was deleted before the env.
2006-01-25 05:29:17 +00:00
Gregory P. Smith
88f669a757
backport of commit 42169
...
adds support for compiling against BerkeleyDB 4.4.x
2006-01-24 10:02:02 +00:00
Neal Norwitz
83087499a3
SF Bug #1407069 , Remove extra semi-colon if there is no long long
2006-01-17 05:28:07 +00:00
Neal Norwitz
63fd4f4448
Backport:
...
Fix SF bug #1402308 , segfault when using mmap(-1, ...)
This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.
2006-01-14 07:02:53 +00:00
Neal Norwitz
44d52e2393
Backport:
...
SF bug #1400822 , Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()).
2006-01-10 07:08:06 +00:00
Neal Norwitz
964ab82b1c
Backport:
...
Bug #1400115 , Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.
2006-01-09 06:29:16 +00:00
Skip Montanaro
805aaf1621
backport: squash compiler warning on Mac OSX 10.3
2006-01-05 10:51:18 +00:00
Neal Norwitz
7cd31a520b
Backport 38951:
...
fixes pybsddb SF bug id 1215432. DB.associate() would crash when a
DBError was supposed to be raised.
2006-01-05 08:00:55 +00:00
Neal Norwitz
4e90d912e5
Backport: Fix errors on 64-bit platforms. (There are still some test problems
2006-01-05 05:45:12 +00:00
Georg Brandl
27a2fab81c
[ 959576 ] Can't build Python on POSIX w/o $HOME (backport)
2005-12-27 17:37:16 +00:00
Hye-Shik Chang
e708f900af
Bug #1290333 : Added a workaround for cjkcodecs' _codecs_cn module
...
build problem on AIX.
2005-12-12 11:48:32 +00:00
Georg Brandl
d98dbf9e70
Bug #869197 : setgroups rejects long integer argument
2005-11-22 19:31:08 +00:00
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