summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get test_logging to not hang when running under regrtest.py -R ::Neal Norwitz2006-02-052-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 sameNeal Norwitz2006-02-055-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 normalizationNeal Norwitz2006-02-051-2/+2
|
* Use C-style commentNeal Norwitz2006-02-051-1/+1
|
* Resolves SF bug #1423972.Barry Warsaw2006-02-041-2/+4
|
* SF bug 1415455, fix typo in module nameNeal Norwitz2006-02-041-1/+1
|
* Patch #1422385: Changes to nis module to support multiple NIS domainsMartin v. Löwis2006-02-044-26/+101
|
* Fix typoNeal Norwitz2006-02-041-1/+1
|
* Drop C library for stat/fstat on Windows.Martin v. Löwis2006-02-032-117/+250
|
* parsedate_tz(): Minor cleanup.Barry Warsaw2006-02-032-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 #1421726Fredrik Lundh2006-02-021-1/+1
| | | | fixed typo in language reference
* As discussed on python-dev, silence three gcc-4.0.x warnings, using assert()Thomas Wouters2006-02-011-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 difflibGustavo Niemeyer2006-01-313-17/+34
| | | | | touch the recursion limit. The applied patch inlines the recursive __helper method in a non-recursive way.
* Fix typo.Martin v. Löwis2006-01-301-1/+1
|
* maintain support for older python versions in this module so that itGregory P. Smith2006-01-301-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 wellGregory P. Smith2006-01-291-1/+6
| | | | as python builtin bsddb.
* Whitespace normalization.Tim Peters2006-01-291-1/+1
|
* Try a number of ports, in case 9020 is already in use.Martin v. Löwis2006-01-291-3/+14
|
* Explicitly close the server socket.Martin v. Löwis2006-01-291-0/+2
|
* add bsddb.db.DBEnv.set_tx_timestamp mentionGregory P. Smith2006-01-291-0/+2
|
* Delete aclocal.m4, and require autoconf 2.59, fixingMartin v. Löwis2006-01-293-123/+162
| | | | #811160 in a different way.
* Work around a Solaris peculiarity that caused test_pty to sometimes fail: aThomas Wouters2006-01-281-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 Hylton2006-01-274-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_RECOVERGregory P. Smith2006-01-272-0/+5
| | | | (test cases and dbobj wrapping)
* Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVERGregory P. Smith2006-01-271-3/+18
|
* Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix givenBarry Warsaw2006-01-261-1/+1
| | | | by Matt Messier).
* There was a race condition where the connector would try to connectNeal Norwitz2006-01-251-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 filesNeal Norwitz2006-01-251-2/+3
|
* mwh pointed out _Filemodule.c is generated. So to fix the memory leakNeal Norwitz2006-01-251-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 Norwitz2006-01-255-3/+37
| | | | Will backport.
* test_rude_shutdown(): Rewrote to use proper threadTim Peters2006-01-241-11/+19
| | | | synchronization and termination.
* Whitespace normalization.Tim Peters2006-01-241-4/+4
|
* note the bsddb extension module changes.Gregory P. Smith2006-01-241-1/+6
|
* commits sourceforge patch #1407992 by neil.norwitz.Gregory P. Smith2006-01-241-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 utilityFredrik Lundh2006-01-241-0/+126
|
* Patch #1349118: urllib2 now supports user:pass@ style proxyMartin v. Löwis2006-01-243-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 theGregory P. Smith2006-01-242-5/+21
| | | | | way back thru 3.2). This should be backported to the release24-maint branch.
* Fix SF #1412837, compile failed with Watcom compilerNeal Norwitz2006-01-241-5/+5
|
* Repaired new test failures on Windows:Tim Peters2006-01-231-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 Brandl2006-01-234-4/+4
|
* Add markup to new section in codecs docsGeorg Brandl2006-01-231-41/+42
|
* Correct typos and markup errors (Raymond, thanks for texcheck)Georg Brandl2006-01-234-5/+5
|
* Add two missing markup tags.Georg Brandl2006-01-231-1/+1
|
* Whitespace normalization.Tim Peters2006-01-231-1/+1
|
* Add \versionadded for sftp schemeGeorg Brandl2006-01-231-0/+1
|
* Disable this test until I can test on big-endian machines and get passingNeal Norwitz2006-01-231-1/+2
|
* Test zipimporter a bit more. Also get working with -R :: option for finding ↵Neal Norwitz2006-01-231-4/+122
| | | | ref leaks
* Convenience function to remove a possibly non-existant fileNeal Norwitz2006-01-231-14/+10
|
* Test getsignal() and some error conditionsNeal Norwitz2006-01-231-1/+23
|
* Use unittest and make sure a few other cases don't crashNeal Norwitz2006-01-231-2/+23
|