Commit Graph

3390 Commits

Author SHA1 Message Date
Neal Norwitz
ebf1dcaeaf Backport:
Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.
2006-01-25 05:29:17 +00:00
Georg Brandl
6c0a2fd1e2 Checkin the test of patch #1400181. 2006-01-20 17:48:57 +00:00
Neal Norwitz
63fd4f4448 Backport:
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.
2006-01-14 07:02:53 +00:00
Georg Brandl
c046e80f1e Test curses.setupterm() before initscr(). 2006-01-12 15:41:15 +00:00
Neal Norwitz
44d52e2393 Backport:
SF bug #1400822, Extended version of _curses over{lay,write} does not work

Fix signatures to conform to doc (also fixed ungetmouse()).
2006-01-10 07:08:06 +00:00
Neal Norwitz
964ab82b1c Backport:
Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.
2006-01-09 06:29:16 +00:00
Skip Montanaro
52f3d18bfe Skip this test on Darwin. It's skipped on the trunk and is listed as
an expected skip in regrtest.py.  Make it so.
2006-01-07 19:08:55 +00:00
Neal Norwitz
b81832c8b3 Backport:
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
2006-01-06 04:40:20 +00:00
Neal Norwitz
bd2bd893ea Backport: If the audio file does not exist, the test should be skipped. 2006-01-05 07:17:35 +00:00
Neal Norwitz
586ad55841 Backport: Skip test_curses if stdin is not a tty (like when run from cron or buildbot). 2006-01-05 06:10:16 +00:00
Martin v. Löwis
98421677c7 Work around test_locale failing on Solaris 10. 2005-12-30 12:52:13 +00:00
Skip Montanaro
cac7b9d79a backport Sniffer class fix (rev 41838) 2005-12-28 15:43:50 +00:00
Neal Norwitz
b8a9b8ce43 Backport: Patch #1117398: fix cookielib LoadError 2005-12-23 21:32:06 +00:00
Hye-Shik Chang
cb92b45e41 Bug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'
just like string codecs.
2005-12-17 04:38:31 +00:00
Fred Drake
f77d7ab2a6 fix recurring typo: occured --> occurred
(already fixed in Python trunk)
2005-11-30 07:36:01 +00:00
Fred Drake
e39983bf20 fix indentation; this could not have passed 2005-11-30 07:34:04 +00:00
Walter Dörwald
f5e141f560 Backport checkin:
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.
2005-11-25 17:02:02 +00:00
Andrew M. Kuchling
4af716958a [Patch #1094164] replaceChild(x,x) ends up removing x from the tree. Add fix from Felix Rabe and a test case 2005-11-22 19:04:36 +00:00
Andrew M. Kuchling
4e2a4ff607 [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. 2005-11-22 15:39:05 +00:00
Neal Norwitz
6e4524f633 Backport (with output/test_poll):
Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()
2005-11-03 05:11:17 +00:00
Neal Norwitz
64597d00ae Backport:
Fix SF #1345263, colorsys tests, bug in frange

Fix a typo that caused step to be ignored.
2005-11-02 06:02:24 +00:00
Neal Norwitz
4360e73e1a Backport:
- Patch #1338314, Bug #1336623: fix tarfile so it can extract
  REGTYPE directories from tarfiles written by old programs.
2005-10-28 06:00:51 +00:00
Neal Norwitz
ecea121754 Backport: SF bug #1167751: fix incorrect code being for generator expressions. 2005-10-23 00:44:03 +00:00
Neal Norwitz
1bd3b13fb8 Backport:
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.
2005-10-20 04:56:09 +00:00
Raymond Hettinger
ad2fa76ffa Teach unquote() to handle unicode inputs 2005-10-15 16:44:57 +00:00