Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get test_logging to not hang when running under regrtest.py -R :: | Neal Norwitz | 2006-02-05 | 2 | -5/+6 |
| | | | | | | | | | | | | | | 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. | ||||
* | Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the same | Neal Norwitz | 2006-02-05 | 5 | -13/+68 |
| | | | | | | | | | | | 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. | ||||
* | Whitespace normalization | Neal Norwitz | 2006-02-05 | 1 | -2/+2 |
| | |||||
* | Use C-style comment | Neal Norwitz | 2006-02-05 | 1 | -1/+1 |
| | |||||
* | Resolves SF bug #1423972. | Barry Warsaw | 2006-02-04 | 1 | -2/+4 |
| | |||||
* | SF bug 1415455, fix typo in module name | Neal Norwitz | 2006-02-04 | 1 | -1/+1 |
| | |||||
* | Patch #1422385: Changes to nis module to support multiple NIS domains | Martin v. Löwis | 2006-02-04 | 4 | -26/+101 |
| | |||||
* | Fix typo | Neal Norwitz | 2006-02-04 | 1 | -1/+1 |
| | |||||
* | Drop C library for stat/fstat on Windows. | Martin v. Löwis | 2006-02-03 | 2 | -117/+250 |
| | |||||
* | parsedate_tz(): Minor cleanup. | Barry Warsaw | 2006-02-03 | 2 | -3/+11 |
| | | | | | Port from Python 2.3/email 2.5: Add a test for the tm_yday field is 1 in the return of parsedate(). | ||||
* | SF patch #1421726 | Fredrik Lundh | 2006-02-02 | 1 | -1/+1 |
| | | | | fixed typo in language reference | ||||
* | As discussed on python-dev, silence three gcc-4.0.x warnings, using assert() | Thomas Wouters | 2006-02-01 | 1 | -2/+9 |
| | | | | | | | | | | | 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 | ||||
* | Patch #1413711: Certain patterns of differences were making difflib | Gustavo Niemeyer | 2006-01-31 | 3 | -17/+34 |
| | | | | | touch the recursion limit. The applied patch inlines the recursive __helper method in a non-recursive way. | ||||
* | Fix typo. | Martin v. Löwis | 2006-01-30 | 1 | -1/+1 |
| | |||||
* | maintain support for older python versions in this module so that it | Gregory P. Smith | 2006-01-30 | 1 | -0/+16 |
| | | | | is ok for a standalone pybsddb source dist for use with <= 2.3. | ||||
* | fix test import for use in standalone pybsddb project bsddb3 module as well | Gregory P. Smith | 2006-01-29 | 1 | -1/+6 |
| | | | | as python builtin bsddb. | ||||
* | Whitespace normalization. | Tim Peters | 2006-01-29 | 1 | -1/+1 |
| | |||||
* | Try a number of ports, in case 9020 is already in use. | Martin v. Löwis | 2006-01-29 | 1 | -3/+14 |
| | |||||
* | Explicitly close the server socket. | Martin v. Löwis | 2006-01-29 | 1 | -0/+2 |
| | |||||
* | add bsddb.db.DBEnv.set_tx_timestamp mention | Gregory P. Smith | 2006-01-29 | 1 | -0/+2 |
| | |||||
* | Delete aclocal.m4, and require autoconf 2.59, fixing | Martin v. Löwis | 2006-01-29 | 3 | -123/+162 |
| | | | | #811160 in a different way. | ||||
* | Work around a Solaris peculiarity that caused test_pty to sometimes fail: a | Thomas Wouters | 2006-01-28 | 1 | -1/+8 |
| | | | | | | | | | 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. | ||||
* | Improved handling of syntax errors. | Jeremy Hylton | 2006-01-27 | 4 | -36/+314 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER | Gregory P. Smith | 2006-01-27 | 2 | -0/+5 |
| | | | | (test cases and dbobj wrapping) | ||||
* | Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER | Gregory P. Smith | 2006-01-27 | 1 | -3/+18 |
| | |||||
* | Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given | Barry Warsaw | 2006-01-26 | 1 | -1/+1 |
| | | | | by Matt Messier). | ||||
* | There was a race condition where the connector would try to connect | Neal Norwitz | 2006-01-25 | 1 | -0/+3 |
| | | | | | | | | | | 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. | ||||
* | Remove generated test db files | Neal Norwitz | 2006-01-25 | 1 | -2/+3 |
| | |||||
* | mwh pointed out _Filemodule.c is generated. So to fix the memory leak | Neal Norwitz | 2006-01-25 | 1 | -4/+3 |
| | | | | | | | | | 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. | ||||
* | Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env. | Neal Norwitz | 2006-01-25 | 5 | -3/+37 |
| | | | | Will backport. | ||||
* | test_rude_shutdown(): Rewrote to use proper thread | Tim Peters | 2006-01-24 | 1 | -11/+19 |
| | | | | synchronization and termination. | ||||
* | Whitespace normalization. | Tim Peters | 2006-01-24 | 1 | -4/+4 |
| | |||||
* | note the bsddb extension module changes. | Gregory P. Smith | 2006-01-24 | 1 | -1/+6 |
| | |||||
* | commits sourceforge patch #1407992 by neil.norwitz. | Gregory P. Smith | 2006-01-24 | 1 | -7/+7 |
| | | | | | | 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. | ||||
* | module list utility | Fredrik Lundh | 2006-01-24 | 1 | -0/+126 |
| | |||||
* | Patch #1349118: urllib2 now supports user:pass@ style proxy | Martin v. Löwis | 2006-01-24 | 3 | -6/+98 |
| | | | | | specifications, raises IOErrors when proxies for unsupported protocols are defined, and uses the https proxy on https redirections. | ||||
* | Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all the | Gregory P. Smith | 2006-01-24 | 2 | -5/+21 |
| | | | | | way back thru 3.2). This should be backported to the release24-maint branch. | ||||
* | Fix SF #1412837, compile failed with Watcom compiler | Neal Norwitz | 2006-01-24 | 1 | -5/+5 |
| | |||||
* | Repaired new test failures on Windows: | Tim Peters | 2006-01-23 | 1 | -3/+12 |
| | | | | | | | - The path separator isn't "/" on Windows. - Leaving behind a read-only file causes cascades of bogus failures on Windows. | ||||
* | Correct misspellings. | Georg Brandl | 2006-01-23 | 4 | -4/+4 |
| | |||||
* | Add markup to new section in codecs docs | Georg Brandl | 2006-01-23 | 1 | -41/+42 |
| | |||||
* | Correct typos and markup errors (Raymond, thanks for texcheck) | Georg Brandl | 2006-01-23 | 4 | -5/+5 |
| | |||||
* | Add two missing markup tags. | Georg Brandl | 2006-01-23 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-01-23 | 1 | -1/+1 |
| | |||||
* | Add \versionadded for sftp scheme | Georg Brandl | 2006-01-23 | 1 | -0/+1 |
| | |||||
* | Disable this test until I can test on big-endian machines and get passing | Neal Norwitz | 2006-01-23 | 1 | -1/+2 |
| | |||||
* | Test zipimporter a bit more. Also get working with -R :: option for finding ↵ | Neal Norwitz | 2006-01-23 | 1 | -4/+122 |
| | | | | ref leaks | ||||
* | Convenience function to remove a possibly non-existant file | Neal Norwitz | 2006-01-23 | 1 | -14/+10 |
| | |||||
* | Test getsignal() and some error conditions | Neal Norwitz | 2006-01-23 | 1 | -1/+23 |
| | |||||
* | Use unittest and make sure a few other cases don't crash | Neal Norwitz | 2006-01-23 | 1 | -2/+23 |
| |