summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-272-1/+239
| | | | | | | | | | | | | | | | | 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)
* 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
|
* Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.Neal Norwitz2006-01-253-0/+28
| | | | 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
|
* Patch #1349118: urllib2 now supports user:pass@ style proxyMartin v. Löwis2006-01-241-6/+93
| | | | | specifications, raises IOErrors when proxies for unsupported protocols are defined, and uses the https proxy on https redirections.
* 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.
* Whitespace normalization.Tim Peters2006-01-231-1/+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
|
* Bug #902075: urllib2 now handles "host:port" proxy specificationsGeorg Brandl2006-01-211-8/+13
| | | | Can/should this be backported?
* Whitespace normalization.Tim Peters2006-01-201-11/+11
|
* Patch #1410998: remove "DOS" from os.py docstringGeorg Brandl2006-01-201-1/+1
|
* Try to resolve the remaining webbrowser issues (backgrounding, local urls)Georg Brandl2006-01-201-103/+196
|
* Whitespace normalization.Tim Peters2006-01-201-1/+1
|
* Added a test for the ability to specify a class attribute in Formatter ↵Vinay Sajip2006-01-201-16/+64
| | | | configuration. Contributed by Shane Hathaway.
* Added a test for the ability to specify a class attribute in Formatter ↵Vinay Sajip2006-01-201-0/+4
| | | | configuration. Contributed by Shane Hathaway.
* Added the ability to specify a class attribute in Formatter configuration. ↵Vinay Sajip2006-01-201-1/+21
| | | | Contributed by Shane Hathaway.
* Patch #1388073: Make unittest.TestCase easier to subclassGeorg Brandl2006-01-201-13/+13
|
* Checkin the test of patch #1400181.Georg Brandl2006-01-201-0/+14
|
* Bug #1407902: Added support for sftp:// URIs to urlparse.Georg Brandl2006-01-201-11/+11
|
* Readd bug report note.Georg Brandl2006-01-201-0/+6
|
* Bug #1371247: Update Windows LCIDs in locale.py.Georg Brandl2006-01-201-32/+179
|
* Add a more informative error message for test_float_parsing so the failingBrett Cannon2006-01-191-2/+4
| | | | locale can be known.
* SF bug #1347874; FeedParser does not comply with RFC2822.Barry Warsaw2006-01-172-2/+11
| | | | | Change headerRE as suggested in the bug report, so that single character headers are accepted. Test case added too. Will backport to Python 2.4.
* Ported 42075 from release23-maint branch.Barry Warsaw2006-01-174-5/+51
| | | | | | | | | | | SF bug #1403349 solution for email 3.0; some MUAs use the 'file' parameter name in the Content-Distribution header, so Message.get_filename() should fall back to using that. Will port to the Python 2.5 trunk. Also, bump the email package version to 3.0.1 for eventual release. Of course, add a test case too. XXX Need to update the documentation.
* Refactoring for fileConfig. Contributed by Shane Hathaway.Vinay Sajip2006-01-161-125/+142
|
* Changes due to added test for fileConfig contributed by Shane Hathaway.Vinay Sajip2006-01-161-0/+6
|
* Added test for fileConfig. Contributed by Shane Hathaway.Vinay Sajip2006-01-161-1/+101
|
* Exceptions raised during renaming in rotating file handlers are now passed ↵Vinay Sajip2006-01-161-2/+2
| | | | to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
* Exceptions raised during renaming in rotating file handlers are now passed ↵Vinay Sajip2006-01-161-2/+12
| | | | to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
* TimedRotatingFileHandler now calculates next rollover from previous rollover ↵Vinay Sajip2006-01-161-1/+1
| | | | rather than current time.
* Fixed bug in time-to-midnight calculation.Vinay Sajip2006-01-161-3/+6
|
* collected my segfaulting Python examples from the SF trackersArmin Rigo2006-01-148-0/+99
| | | | (is the purpose of the crashers directory to scare people? :-)
* Bug #1394565: SimpleHTTPServer now doesn't choke on query paramtersGeorg Brandl2006-01-131-0/+3
| | | | any more.
* Bug #1403410: The warnings module now doesn't get confusedGeorg Brandl2006-01-131-1/+1
| | | | when it can't find out the module name it generates a warning for.
* Whitespace normalization.Tim Peters2006-01-133-100/+99
|
* Test curses.setupterm() before initscr().Georg Brandl2006-01-121-2/+3
|
* Fix SF bug #1402308, segfault when using mmap(-1, ...)Neal Norwitz2006-01-112-0/+9
| | | | | | | This didn't crash on Linux, but valgrind complained. I'm not sure if this test is valid on Windows. Will backport.
* add another crash reported by Thomas WoutersNeal Norwitz2006-01-111-0/+10
|
* Remove outstanding_crashes again.Georg Brandl2006-01-101-38/+0
|
* Add outstanding_crashes.py with tests for crashes.Georg Brandl2006-01-102-0/+41
|
* As I threatened on python-dev, add a directory which contains all knownNeal Norwitz2006-01-104-0/+97
| | | | | | bugs which cause the interpreter to crash. I'm sure we can find a few more. Many missing bugs deal with variations on unchecked infinite recursion (like coerce.py).
* SF bug #1400822, Extended version of _curses over{lay,write} does not workNeal Norwitz2006-01-101-1/+7
| | | | | | Fix signatures to conform to doc (also fixed ungetmouse()). Will backport.