Commit graph

10435 commits

Author SHA1 Message Date
Neal Norwitz
0e17f8cd38 Convenience function to remove a possibly non-existant file 2006-01-23 07:51:27 +00:00
Neal Norwitz
9730bcb4a6 Test getsignal() and some error conditions 2006-01-23 07:50:06 +00:00
Neal Norwitz
cd3e219cda Use unittest and make sure a few other cases don't crash 2006-01-23 07:49:36 +00:00
Georg Brandl
531cebad4c Bug #902075: urllib2 now handles "host:port" proxy specifications
Can/should this be backported?
2006-01-21 07:20:56 +00:00
Tim Peters
887c080a80 Whitespace normalization. 2006-01-20 23:40:56 +00:00
Georg Brandl
bde4ad4f92 Patch #1410998: remove "DOS" from os.py docstring 2006-01-20 21:36:02 +00:00
Georg Brandl
23929f2828 Try to resolve the remaining webbrowser issues (backgrounding, local urls) 2006-01-20 21:03:35 +00:00
Tim Peters
777f1083ef Whitespace normalization. 2006-01-20 20:03:24 +00:00
Vinay Sajip
568482a266 Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:29:36 +00:00
Vinay Sajip
80d2df86dc Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:28:59 +00:00
Vinay Sajip
7a7160bd0c Added the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:28:03 +00:00
Georg Brandl
81cdb4ebe1 Patch #1388073: Make unittest.TestCase easier to subclass 2006-01-20 17:55:00 +00:00
Georg Brandl
da6b107745 Checkin the test of patch #1400181. 2006-01-20 17:48:54 +00:00
Georg Brandl
89f35ac180 Bug #1407902: Added support for sftp:// URIs to urlparse. 2006-01-20 17:24:23 +00:00
Georg Brandl
5035c1c557 Readd bug report note. 2006-01-20 13:38:26 +00:00
Georg Brandl
b709c2caba Bug #1371247: Update Windows LCIDs in locale.py. 2006-01-20 09:07:35 +00:00
Brett Cannon
2dbf2a98f4 Add a more informative error message for test_float_parsing so the failing
locale can be known.
2006-01-19 07:09:09 +00:00
Barry Warsaw
6153201274 SF bug #1347874; FeedParser does not comply with RFC2822.
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.
2006-01-17 05:58:08 +00:00
Barry Warsaw
a0f28efcd1 Ported 42075 from release23-maint branch.
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.
2006-01-17 04:49:07 +00:00
Vinay Sajip
989b69a519 Refactoring for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:28:37 +00:00
Vinay Sajip
fe03bee62f Changes due to added test for fileConfig contributed by Shane Hathaway. 2006-01-16 21:25:28 +00:00
Vinay Sajip
22b25aa9e2 Added test for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:24:38 +00:00
Vinay Sajip
814fa0fe11 Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:27:58 +00:00
Vinay Sajip
e928977b80 Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:27:10 +00:00
Vinay Sajip
d952041dc7 TimedRotatingFileHandler now calculates next rollover from previous rollover rather than current time. 2006-01-16 09:13:58 +00:00
Vinay Sajip
74a83e9ffb Fixed bug in time-to-midnight calculation. 2006-01-16 09:08:06 +00:00
Armin Rigo
b4b5a7601b collected my segfaulting Python examples from the SF trackers
(is the purpose of the crashers directory to scare people? :-)
2006-01-14 10:58:30 +00:00
Georg Brandl
45ab233935 Bug #1394565: SimpleHTTPServer now doesn't choke on query paramters
any more.
2006-01-13 17:05:56 +00:00
Georg Brandl
4edd989eaf Bug #1403410: The warnings module now doesn't get confused
when it can't find out the module name it generates a warning for.
2006-01-13 16:59:46 +00:00
Tim Peters
a28ad77844 Whitespace normalization. 2006-01-13 03:05:25 +00:00
Georg Brandl
05f5ba9636 Test curses.setupterm() before initscr(). 2006-01-12 15:41:05 +00:00
Neal Norwitz
3b4fff8079 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.

Will backport.
2006-01-11 08:54:45 +00:00
Neal Norwitz
ae1df41127 add another crash reported by Thomas Wouters 2006-01-11 07:21:19 +00:00
Georg Brandl
05af43d6a0 Remove outstanding_crashes again. 2006-01-10 20:07:13 +00:00
Georg Brandl
7e8bfa4163 Add outstanding_crashes.py with tests for crashes. 2006-01-10 19:29:24 +00:00
Neal Norwitz
8cc4ef561c As I threatened on python-dev, add a directory which contains all known
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).
2006-01-10 07:49:41 +00:00
Neal Norwitz
88bbd73d07 SF bug #1400822, Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()).

Will backport.
2006-01-10 07:05:44 +00:00
Georg Brandl
ed1e497fb2 Correct test_builtin locale handling. 2006-01-09 22:36:58 +00:00
Neal Norwitz
5e3d862392 Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.

Will backport.
2006-01-09 06:24:35 +00:00
Georg Brandl
c4e2a9b70a Add a test file (which isn't run by regrtest) for bugs which
aren't fixed yet.

Includes a first test (for compiler).
2006-01-08 14:32:19 +00:00
Martin v. Löwis
6d0c85a71c Patch #1299675: Pass metadata in upload. 2006-01-08 10:48:54 +00:00
Martin v. Löwis
412ed3b8a7 Patch #1177307: UTF-8-Sig codec. 2006-01-08 10:45:39 +00:00
Tim Peters
2841af4cec Revert revision 41940: the test causes -uall to
fail everywhere.
2006-01-07 23:20:46 +00:00
Georg Brandl
39cdfff691 Add compiler test regarding optional arguments. 2006-01-06 19:28:15 +00:00
Neal Norwitz
9f39f68533 initscr() will exit if there's an error. Try to catch the obvious failure
cases if TERM isn't set or is unknown (perhaps we should only check if
unset or empty?)

Skip the test if TERM isn't set.  This seems to occur when running under
buildbot and presumably cron.

For some more info check here:
http://mail.python.org/pipermail/python-checkins/2006-January/048704.html

Will backport if it works.
2006-01-06 04:18:21 +00:00
Martin v. Löwis
1df5c3961c Generalize buildno to be a sequence of non-comma
characters.
2006-01-06 00:44:11 +00:00
Neal Norwitz
c6d1f9100f If the audio file does not exist, the test should be skipped. Will backport. 2006-01-05 07:16:13 +00:00
Neal Norwitz
eeab7da591 Skip test_curses if stdin is not a tty (like when run from cron or buildbot). Will backport. 2006-01-05 06:09:13 +00:00
Tim Peters
0cdc3d884e test_main(): Restore the original root logger level after running
the tests.  This stops the confusing/annoying:

    No handlers could be found for logger "cookielib"

message we got whenever some test running after test_logging
happened to use cookielib.py (when not using regrtest's -r,
this happened during test_urllib2; when using -r, it varied).
2005-12-30 20:46:23 +00:00
Tim Peters
1b27f86411 Whitespace normalization. 2005-12-30 18:42:42 +00:00