- 07 Feb, 2006 3 commits
-
-
Neal Norwitz authored
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, ie handle before calling internal_select() rather than inside. Plus there is at least one place outside of internal_select() that needed to be handled. Will backport.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 05 Feb, 2006 5 commits
-
-
Martin v. Löwis authored
-
Neal Norwitz authored
Not sure why/how _handlers/_handlerList is out of sync. This could indicate a deeper problem. In test_logging, the only absolutely necessary change to get working was tcpserver.abort = 1. But we don't want to wait infinitely to join the threads, so give a 2.0 second timeout. There doesn't appear to be a need for a local abort variable in serve_until_stopped, so just use the instance member. Note the problem is only on HEAD, not in 2.4.
-
Neal Norwitz authored
on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 04 Feb, 2006 4 commits
-
-
Barry Warsaw authored
-
Neal Norwitz authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
- 03 Feb, 2006 2 commits
-
-
Martin v. Löwis authored
-
Barry Warsaw authored
Port from Python 2.3/email 2.5: Add a test for the tm_yday field is 1 in the return of parsedate().
-
- 02 Feb, 2006 1 commit
-
-
Fredrik Lundh authored
fixed typo in language reference
-
- 01 Feb, 2006 1 commit
-
-
Thomas Wouters authored
to protect against actual uninitialized usage. Objects/longobject.c: In function ‘PyLong_AsDouble’: Objects/longobject.c:655: warning: ‘e’ may be used uninitialized in this function Objects/longobject.c: In function ‘long_true_divide’: Objects/longobject.c:2263: warning: ‘aexp’ may be used uninitialized in this function Objects/longobject.c:2263: warning: ‘bexp’ may be used uninitialized in this function
-
- 31 Jan, 2006 1 commit
-
-
Gustavo Niemeyer authored
touch the recursion limit. The applied patch inlines the recursive __helper method in a non-recursive way.
-
- 30 Jan, 2006 2 commits
-
-
Martin v. Löwis authored
-
Gregory P. Smith authored
is ok for a standalone pybsddb source dist for use with <= 2.3.
-
- 29 Jan, 2006 6 commits
-
-
Gregory P. Smith authored
as python builtin bsddb.
-
Tim Peters authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Gregory P. Smith authored
-
Martin v. Löwis authored
#811160 in a different way.
-
- 28 Jan, 2006 1 commit
-
-
Thomas Wouters authored
tty opened by os.openpty() isn't always a tty according to os.isatty(), when it's tested inside the process that opened it. Doesn't affect actual functionality, as using a tty this way is rarely, if ever, useful. Ignoring the failure allows the test for actual functionality to continue. Will backport to 2.4-maint.
-
- 27 Jan, 2006 3 commits
-
-
Jeremy Hylton authored
Expand set of errors caught in set_context(). Some new errors, some old error messages changed for consistency. Fixed error checking in generator expression code. The first set of tests were impossible condition given the grammar. In general, the ast code uses REQ() for those sanity checks. Fix some error handling for augmented assignments. As comments in the code explain, set_context() ought to work here, but I got unexpected crashes when I tried it. Should come back to this. Add note to Grammar that yield expression is a special case. Add doctest cases for SyntaxErrors raised by ast.c.
-
Gregory P. Smith authored
(test cases and dbobj wrapping)
-
Gregory P. Smith authored
-
- 26 Jan, 2006 1 commit
-
-
Barry Warsaw authored
by Matt Messier).
-
- 25 Jan, 2006 4 commits
-
-
Neal Norwitz authored
before the listener was ready (on gentoo x86 buildslave). This caused the listener to not exit normally since nobody connected to it (waited in accept()). The exception was raised in the other thread and the test failed. This fix doesn't completely eliminate the race, but should make it near impossible to trigger. Hopefully it's good enough.
-
Neal Norwitz authored
-
Neal Norwitz authored
this file (the source) must be fixed. Why isn't there a comment at the top saying the file is generated and why are both the source and generated file checked in? Bootstrap problem? Will backport.
-
Neal Norwitz authored
Will backport.
-
- 24 Jan, 2006 6 commits
-
-
Tim Peters authored
synchronization and termination.
-
Tim Peters authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
this fixes the bsddb db associate tests when compiled against BerkeleyDB 3.3 thru 4.1. 4.2 thru 4.4 already passed and still pass.
-
Fredrik Lundh authored
-
Martin v. Löwis authored
specifications, raises IOErrors when proxies for unsupported protocols are defined, and uses the https proxy on https redirections.
-