| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
kills GUI. Report from Bruce Sherwood.
|
|
|
|
|
|
|
|
|
|
|
| |
"""
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.
|
|
|
|
| |
Set eol-style to native.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Bug #1448490: Fixed a bug that ISO-2022 codecs could not handle
SS2 (single-shift 2) escape sequences correctly.
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_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.
|
| |
|
|
|
|
|
| |
module.
(backport from rev. 42912)
|
| |
|
|
|
|
|
|
|
|
| |
Thanks to Coverity, these were all reported by their Prevent tool.
and r42881 (thomas.wouters):
Don't DECREF a borrowed reference.
|
|
|
|
|
| |
If size is specified, try to read at least size characters.
This is a alternative version of patch #1379332.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
python.org host.
|
|
|
|
| |
two gigabytes.
|
|
|
|
| |
return address using smtplib.
|
| |
|
|
|
|
|
|
| |
nonsense.
Resolve SF bug 1409403: email.Message should supress warning from uu.decode.
|
|
|
|
| |
3.0/Python 2.4.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Change headerRE as suggested in the bug report, so that single character
headers are accepted. Test case added too. Backported from the trunk.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
|
|
|
|
| |
rather than current time.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
any more.
|
|
|
|
| |
when it can't find out the module name it generates a warning for.
|
| |
|
|
|
|
|
|
| |
SF bug #1400822, Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()).
|