| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
"""
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
SF bug #1400822, Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()).
|
|
|
|
|
| |
Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.
|
|
|
|
| |
an expected skip in regrtest.py. Make it so.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
buildbot).
|
| |
|
| |
|
| |
|
|
|
|
| |
just like string codecs.
|
|
|
|
| |
(already fixed in Python trunk)
|
| |
|
|
|
|
|
|
| |
SF patch #1364545: test_cmd_line.py relied on english error messages when
invoking the Python interpreter (which didn't work on non-english Windows
versions). Check return codes instead.
|
|
|
|
| |
fix from Felix Rabe and a test case
|
|
|
|
| |
bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo.
|
|
|
|
|
| |
Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()
|
|
|
|
|
|
| |
Fix SF #1345263, colorsys tests, bug in frange
Fix a typo that caused step to be ignored.
|
|
|
|
|
| |
- Patch #1338314, Bug #1336623: fix tarfile so it can extract
REGTYPE directories from tarfiles written by old programs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer)
Problem: if two files are assigned the same inode
number by the filesystem, the second one will be added
as a hardlink to the first, which means that the
content will be lost.
The patched code checks if the file's st_nlink is
greater 1. So only for files that actually have several
links pointing to them hardlinks will be created, which
is what GNU tar does.
|
| |
|
|
|
|
| |
but verify_valid_flag() wasn't expecting that. (Backport.)
|
| |
|
|
|
|
|
|
| |
SF bug #887946, segfault if redirecting directory
Also provide a warning if a directory is passed on the command line.
Add minimal command line test.
|
|
|
|
| |
01:03:46 +0000
|
|
|
|
| |
'release24-maint'.
|
|
|
|
| |
but Python incorrectly assumes it is in UTF-8 format
|