summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Source file f.flush() after writing; trying to avoid lossage if userKurt B. Kaiser2006-03-192-0/+10
| | | | kills GUI. Report from Bruce Sherwood.
* Merge rev 43091 from the trunk.Tim Peters2006-03-181-1/+1
| | | | | | | | | | | """ Try to find a host that responds slower from python.org so this test does not fail on macteagle (G4 OSX.4 in buildbot) """ Since testConnectTimeout() frequently fails in the same way in 2.4 branch, and this patch seems to have fixed it on the trunk, it should fix it on the 2.4 branch too.
* Merge rev 43081 from trunk.Tim Peters2006-03-161-13/+13
| | | | Set eol-style to native.
* Merge rev 43079 from the trunk. This should allow test_winsound to passTim Peters2006-03-162-34/+128
| | | | | | | | on a box without a sound card. Update test_winsound to check for a configured sound card (using a VBScript helper written by Roger Upole and Mark Hammond) and adjust the expected PlaySoundTest case results accordingly.
* Backport 42932:Neal Norwitz2006-03-141-8/+2
| | | | | | | | | Try to be a bit more consistent on all platforms: python . python < . both print a message, return non-zero and do not core dump. This hopefully fixes the failure on Solaris.
* Backport from trunk r42989:Hye-Shik Chang2006-03-131-0/+7
| | | | | Bug #1448490: Fixed a bug that ISO-2022 codecs could not handle SS2 (single-shift 2) escape sequences correctly.
* Merge rev 42963 from the trunk.Tim Peters2006-03-131-0/+2
| | | | | | | When the new -w option (yay! great idea) reruns a failed test, first display the name of the test (else it's not always clear from the output which test is getting run).
* Merge rev 41859 from the trunk.Tim Peters2006-03-131-0/+9
| | | | | | | | | | | 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).
* Merge rev 42904 from the trunk.Tim Peters2006-03-111-1/+4
| | | | | | | | | | | | | | | | | _hotshot hotshot_profiler(): If write_header() returned an error code, this let `self` leak. This is a disaster on Windows, since `self` already points to a newly-opened file object, and it was impossible for Python code to close the thing since the only reference to it was in a blob of leaked C memory. test_hotshot test_bad_sys_path(): This new test provoked the C bug above. This test passed, but left an open "@test" file behind, which caused a massive cascade of bogus test failures in later, unrelated tests on Windows. Changed the test code to remove the @test file it leaves behind, which relies on the change above to close that file first.
* Backport of 42960, to support the options buildbot uses.Martin v. Löwis2006-03-101-3/+20
|
* Fix pydoc.synopsis() so that it doesn't error out with an unreadableGeorg Brandl2006-03-081-1/+5
| | | | | module. (backport from rev. 42912)
* Typo fixAndrew M. Kuchling2006-03-071-1/+1
|
* Backport trunk's r42878 (neal.norwitz):Thomas Wouters2006-03-071-0/+13
| | | | | | | | Thanks to Coverity, these were all reported by their Prevent tool. and r42881 (thomas.wouters): Don't DECREF a borrowed reference.
* Backport revision 42872:Walter Dörwald2006-03-062-6/+13
| | | | | If size is specified, try to read at least size characters. This is a alternative version of patch #1379332.
* Skip codecs tests on Python 2.3.Barry Warsaw2006-03-061-0/+7
|
* Bug #1210377: close bsddb cursor correctly after NotFoundError.Georg Brandl2006-02-201-2/+8
|
* Bug #1101233: fix test_fcntl on netbsd2 platform.Georg Brandl2006-02-201-1/+1
|
* Backported from r41842.Armin Rigo2006-02-202-0/+112
|
* Patch #1337756: fileinput now accepts Unicode filenames.Georg Brandl2006-02-192-1/+11
|
* Backport: This should get test_timeout to pass when running on any ↵Neal Norwitz2006-02-181-0/+5
| | | | python.org host.
* Patch #1373643: The chunk module can now read chunks larger thanGeorg Brandl2006-02-181-1/+1
| | | | two gigabytes.
* Bug #1430298: It is now possible to send a mail with an emptyGeorg Brandl2006-02-171-1/+4
| | | | return address using smtplib.
* Bug #1432260: better handle lambda functions' names in pydocGeorg Brandl2006-02-171-1/+1
|
* Port of r42279 to email 3.0, but without the Python 2.1 backward compatibleBarry Warsaw2006-02-092-1/+14
| | | | | | nonsense. Resolve SF bug 1409403: email.Message should supress warning from uu.decode.
* Port of r42271 from the trunk -- relevant patches for SF 1409455 for emailBarry Warsaw2006-02-085-8/+20
| | | | 3.0/Python 2.4.
* Resolves SF bug #1423972.Barry Warsaw2006-02-041-2/+4
|
* Fix typoNeal Norwitz2006-02-041-1/+1
|
* Port r42228 from the trunk.Barry Warsaw2006-02-032-3/+11
|
* 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.
* Remove file even if non-existantNeal Norwitz2006-01-251-2/+6
|
* Remove generated test db filesNeal Norwitz2006-01-251-2/+3
|
* Backport:Neal Norwitz2006-01-253-0/+28
| | | | Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.
* Bug #1378679: backport bugfix of #974757.Georg Brandl2006-01-201-1/+1
|
* Revert feature checkin.Georg Brandl2006-01-201-11/+11
|
* Reverse checkin. This is definitely a new feature.Georg Brandl2006-01-201-13/+13
|
* 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
|
* 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. Backported from the trunk.
* Ported 42076 from the trunk.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. 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.
* 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
|
* Backport:Neal Norwitz2006-01-142-0/+9
| | | | | | | 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.
* 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.
* Test curses.setupterm() before initscr().Georg Brandl2006-01-121-2/+3
|
* Backport:Neal Norwitz2006-01-101-1/+7
| | | | | | SF bug #1400822, Extended version of _curses over{lay,write} does not work Fix signatures to conform to doc (also fixed ungetmouse()).