]> granicus.if.org Git - python/log
python
16 years ago- Issue #2371: Add a Py3k warning when catching an exception that
Guido van Rossum [Tue, 18 Mar 2008 02:49:46 +0000 (02:49 +0000)]
- Issue #2371: Add a Py3k warning when catching an exception that
  doesn't derive from BaseException.

16 years agoMove test_extcall to doctest.
Brett Cannon [Tue, 18 Mar 2008 01:58:56 +0000 (01:58 +0000)]
Move test_extcall to doctest.

16 years agoConvert test_dummy_threading and test_dbm to unittest.
Brett Cannon [Tue, 18 Mar 2008 01:50:25 +0000 (01:50 +0000)]
Convert test_dummy_threading and test_dbm to unittest.

16 years agoFix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.
Jeffrey Yasskin [Tue, 18 Mar 2008 01:09:59 +0000 (01:09 +0000)]
Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.

16 years agoConvert test_strftime, test_getargs, and test_pep247 to use unittest.
Brett Cannon [Tue, 18 Mar 2008 01:00:07 +0000 (01:00 +0000)]
Convert test_strftime, test_getargs, and test_pep247 to use unittest.

16 years agoFix the IOError message text when opening a file with an invalid filename.
Gregory P. Smith [Tue, 18 Mar 2008 00:20:01 +0000 (00:20 +0000)]
Fix the IOError message text when opening a file with an invalid filename.
Error reported by Ilan Schnell.

16 years agoAdd David Wolever.
Martin v. Löwis [Mon, 17 Mar 2008 21:55:30 +0000 (21:55 +0000)]
Add David Wolever.

16 years agoIssue 2321: reduce memory usage (increase the memory that is returned
Neal Norwitz [Mon, 17 Mar 2008 20:22:43 +0000 (20:22 +0000)]
Issue 2321: reduce memory usage (increase the memory that is returned
to the system) by using pymalloc for the data of unicode objects.

Will backport.

16 years agoAdded PEP 3127 support to tokenize (with tests); added PEP 3127 to NEWS.
Eric Smith [Mon, 17 Mar 2008 19:43:40 +0000 (19:43 +0000)]
Added PEP 3127 support to tokenize (with tests); added PEP 3127 to NEWS.

16 years agoDocument unicode.isnumeric() and unicode.isdecimal() (issue2326)
Steven Bethard [Mon, 17 Mar 2008 19:33:11 +0000 (19:33 +0000)]
Document unicode.isnumeric() and unicode.isdecimal() (issue2326)

16 years agoUse a buffer large enough to ensure we don't overrun, even if the value
Neal Norwitz [Mon, 17 Mar 2008 19:02:45 +0000 (19:02 +0000)]
Use a buffer large enough to ensure we don't overrun, even if the value
is outside the range we expect.

16 years agoForce zlib.crc32 and zlib.adler32 to return a signed integer on all platforms
Gregory P. Smith [Mon, 17 Mar 2008 18:48:05 +0000 (18:48 +0000)]
Force zlib.crc32 and zlib.adler32 to return a signed integer on all platforms
regardless of the native sizeof(long) used in the integer object.

This somewhat odd behavior of returning a signed is maintained in 2.x for
compatibility reasons of always returning an integer rather than a long object.

Fixes Issue1202 for Python 2.6

16 years agoAdd necessary headers to back-port new buffer protocol to Python 2.6
Travis E. Oliphant [Mon, 17 Mar 2008 17:36:12 +0000 (17:36 +0000)]
Add necessary headers to back-port new buffer protocol to Python 2.6

16 years agoFinished backporting PEP 3127, Integer Literal Support and Syntax.
Eric Smith [Mon, 17 Mar 2008 17:32:20 +0000 (17:32 +0000)]
Finished backporting PEP 3127, Integer Literal Support and Syntax.

Added 0b and 0o literals to tokenizer.
Modified PyOS_strtoul to support 0b and 0o inputs.
Modified PyLong_FromString to support guessing 0b and 0o inputs.
Renamed test_hexoct.py to test_int_literal.py and added binary tests.
Added upper and lower case 0b, 0O, and 0X tests to test_int_literal.py

16 years agoAdd Trent Nelson.
Martin v. Löwis [Mon, 17 Mar 2008 16:31:57 +0000 (16:31 +0000)]
Add Trent Nelson.

16 years agoMake isinstance(OldstyleClass, NewstyleClass) return False instead of raising
Jeffrey Yasskin [Mon, 17 Mar 2008 16:31:21 +0000 (16:31 +0000)]
Make isinstance(OldstyleClass, NewstyleClass) return False instead of raising
an exception. Issue reported by Joseph Armbruster.

16 years agoAllow Gnu gcc's to build python on OSX by removing -Wno-long-double,
Jeffrey Yasskin [Mon, 17 Mar 2008 14:40:53 +0000 (14:40 +0000)]
Allow Gnu gcc's to build python on OSX by removing -Wno-long-double,
-no-cpp-precomp, and -mno-fused-madd from configure.
 * r22183 added -no-cpp-precomp, which
   http://gcc.gnu.org/ml/gcc/2005-12/msg00368.html claims hasn't been
   needed since gcc-3.1.
 * r25607 added -Wno-long-double to avoid a warning in
   Include/objimpl.h (issue 525481). The long double is still there,
   but OSX 10.4's gcc no longer warns about it.
 * r33666 fixed issue 775892 on OSX 10.3 by adding -mno-fused-madd,
   which changed the sign of some float 0s. Tim Peters said it wasn't
   a real issue anyway, and it no longer causes test failures.
Fixes issue #1779871.

16 years agoReformated lines > 79 chars.
Eric Smith [Mon, 17 Mar 2008 12:14:29 +0000 (12:14 +0000)]
Reformated lines > 79 chars.
Deleted unused macro ISXDIGIT.

16 years agoIssue 2264: empty float presentation type needs to have at least one digit past the...
Eric Smith [Mon, 17 Mar 2008 11:01:01 +0000 (11:01 +0000)]
Issue 2264: empty float presentation type needs to have at least one digit past the decimal point.

Added "Z" format_char to PyOS_ascii_formatd to support empty float presentation type.
Renamed buf_size in PyOS_ascii_formatd to more accurately reflect it's meaning.
Modified format.__float__ to use the new "Z" format as the default.
Added test cases.

16 years agoAdded a footnote to each pointing out that for XML output if an encoding
Mark Summerfield [Mon, 17 Mar 2008 08:28:15 +0000 (08:28 +0000)]
Added a footnote to each pointing out that for XML output if an encoding
string is given it should conform to the appropriate XML standards---for
example, "UTF-8" is okay, but "UTF8" is not.

16 years agoClarified documentation on use of shutdown().
Vinay Sajip [Sun, 16 Mar 2008 21:35:58 +0000 (21:35 +0000)]
Clarified documentation on use of shutdown().

16 years ago#2299: typos in newtypes.rst.
Georg Brandl [Sun, 16 Mar 2008 08:00:19 +0000 (08:00 +0000)]
#2299: typos in newtypes.rst.

16 years agoUpdate docs to reflect removal of Exact/Inexact
Raymond Hettinger [Sun, 16 Mar 2008 05:20:42 +0000 (05:20 +0000)]
Update docs to reflect removal of Exact/Inexact

16 years agoHandle memory allocation failure. Found by Adam Olsen
Neal Norwitz [Sat, 15 Mar 2008 22:36:01 +0000 (22:36 +0000)]
Handle memory allocation failure.  Found by Adam Olsen

16 years agoAdd a warning for code like:
Neal Norwitz [Sat, 15 Mar 2008 22:03:18 +0000 (22:03 +0000)]
Add a warning for code like:
  assert (0, 'message')

An empty tuple does not create a warning.  While questionable usage:
  assert (), 'message'

should not display a warning.  Tested manually.
The warning message could be improved.  Feel free to update it.

16 years agoZap one more use of Exact/Inexact.
Raymond Hettinger [Sat, 15 Mar 2008 20:37:50 +0000 (20:37 +0000)]
Zap one more use of Exact/Inexact.

16 years agoRemoved Exact/Inexact after discussion with Yasskin.
Raymond Hettinger [Sat, 15 Mar 2008 20:02:04 +0000 (20:02 +0000)]
Removed Exact/Inexact after discussion with Yasskin.

Unlike Scheme where exactness is implemented as taints, the Python
implementation associated exactness with data types.  This created
inheritance issues (making an exact subclass of floats would result
in the subclass having both an explicit Exact registration and an
inherited Inexact registration).  This was a problem for the
decimal module which was designed to span both exact and inexact
arithmetic.  There was also a question of use cases and no examples
were found where ABCs for exactness could be used to improve code.
One other issue was having separate tags for both the affirmative
and negative cases.  This is at odds with the approach taken
elsewhere in the Python (i.e. we don't have an ABC both Hashable
and Unhashable).

17 years ago.
Skip Montanaro [Sat, 15 Mar 2008 16:07:11 +0000 (16:07 +0000)]
.

17 years agoadd %f format to datetime - issue 1158
Skip Montanaro [Sat, 15 Mar 2008 16:04:45 +0000 (16:04 +0000)]
add %f format to datetime - issue 1158

17 years agonote that fork and forkpty raise OSError on failure
Skip Montanaro [Sat, 15 Mar 2008 02:32:49 +0000 (02:32 +0000)]
note that fork and forkpty raise OSError on failure

17 years agoFix lots of broken links in the docs, found by Sphinx' external link checker.
Georg Brandl [Sat, 15 Mar 2008 00:20:19 +0000 (00:20 +0000)]
Fix lots of broken links in the docs, found by Sphinx' external link checker.

17 years agoRemove obsolete paragraph. #2288.
Georg Brandl [Fri, 14 Mar 2008 23:10:34 +0000 (23:10 +0000)]
Remove obsolete paragraph. #2288.

17 years agoRun debug version, cd to PCbuild.
Martin v. Löwis [Fri, 14 Mar 2008 21:19:28 +0000 (21:19 +0000)]
Run debug version, cd to PCbuild.

17 years agoRemove unneeded initializer.
Thomas Heller [Fri, 14 Mar 2008 21:06:21 +0000 (21:06 +0000)]
Remove unneeded initializer.

17 years agoIssue 705836: Fix struct.pack(">f", 1e40) to behave consistently
Mark Dickinson [Fri, 14 Mar 2008 14:23:37 +0000 (14:23 +0000)]
Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently
across platforms:  it should now raise OverflowError on all
platforms.  (Previously it raised OverflowError only on
non IEEE 754 platforms.)

Also fix the (already existing) test for this behaviour
so that it actually raises TestFailed instead of just
referencing it.

17 years agoRemove a bad test.
Brett Cannon [Fri, 14 Mar 2008 14:03:10 +0000 (14:03 +0000)]
Remove a bad test.

17 years agoUse -x64 flag.
Martin v. Löwis [Fri, 14 Mar 2008 13:57:59 +0000 (13:57 +0000)]
Use -x64 flag.

17 years agoPatch #2284: add -x64 option to rt.bat.
Martin v. Löwis [Fri, 14 Mar 2008 13:56:09 +0000 (13:56 +0000)]
Patch #2284: add -x64 option to rt.bat.

17 years agoLeave heapreplace() unchanged.
Raymond Hettinger [Fri, 14 Mar 2008 05:03:44 +0000 (05:03 +0000)]
Leave heapreplace() unchanged.

17 years agoConvert test_fcntl to unittest.
Brett Cannon [Thu, 13 Mar 2008 21:09:28 +0000 (21:09 +0000)]
Convert test_fcntl to unittest.

Closes issue #2055. Thanks Giampaolo Rodola.

17 years agoMove test_gdbm to use unittest.
Brett Cannon [Thu, 13 Mar 2008 21:02:16 +0000 (21:02 +0000)]
Move test_gdbm to use unittest.

Closes issue #1960. Thanks Giampaolo Rodola.

17 years agoConvert test_contains, test_crypt, and test_select to unittest.
Brett Cannon [Thu, 13 Mar 2008 20:47:41 +0000 (20:47 +0000)]
Convert test_contains, test_crypt, and test_select to unittest.

Patch from GHOP 294 by David Marek.

17 years agoMove test_tokenize to doctest.
Brett Cannon [Thu, 13 Mar 2008 20:33:10 +0000 (20:33 +0000)]
Move test_tokenize to doctest.

Done as GHOP 238 by Josip Dzolonga.

17 years agoMove test_thread over to unittest. Commits GHOP 237.
Brett Cannon [Thu, 13 Mar 2008 20:27:00 +0000 (20:27 +0000)]
Move test_thread over to unittest. Commits GHOP 237.

Thanks Benjamin Peterson for the patch.

17 years agoSimplify the nlargest() code using heappushpop().
Raymond Hettinger [Thu, 13 Mar 2008 19:33:34 +0000 (19:33 +0000)]
Simplify the nlargest() code using heappushpop().

17 years agoIssue 2274: Add heapq.heappushpop().
Raymond Hettinger [Thu, 13 Mar 2008 19:03:51 +0000 (19:03 +0000)]
Issue 2274:  Add heapq.heappushpop().

17 years agoConsistent tense.
Raymond Hettinger [Thu, 13 Mar 2008 16:43:59 +0000 (16:43 +0000)]
Consistent tense.

17 years agoAdd 2-to-3 support for the itertools moved to builtins or renamed.
Raymond Hettinger [Thu, 13 Mar 2008 16:43:17 +0000 (16:43 +0000)]
Add 2-to-3 support for the itertools moved to builtins or renamed.

17 years agoAdd class decorators
Andrew M. Kuchling [Thu, 13 Mar 2008 11:07:35 +0000 (11:07 +0000)]
Add class decorators

17 years ago#1720705: add docs about import/threading interaction, wording by Nick.
Georg Brandl [Thu, 13 Mar 2008 07:21:41 +0000 (07:21 +0000)]
#1720705: add docs about import/threading interaction, wording by Nick.

17 years ago#2270: fix typo.
Georg Brandl [Thu, 13 Mar 2008 07:17:14 +0000 (07:17 +0000)]
#2270: fix typo.

17 years ago#2265: fix example.
Georg Brandl [Thu, 13 Mar 2008 07:15:56 +0000 (07:15 +0000)]
#2265: fix example.

17 years agoImprove docs for itemgetter(). Show that it works with slices.
Raymond Hettinger [Tue, 11 Mar 2008 21:37:46 +0000 (21:37 +0000)]
Improve docs for itemgetter().  Show that it works with slices.

17 years agoFix the overflows in expandtabs(). "This time for sure!"
Guido van Rossum [Tue, 11 Mar 2008 21:18:06 +0000 (21:18 +0000)]
Fix the overflows in expandtabs().  "This time for sure!"
(Exploit at request.)

17 years agoAdd recipe to docs.
Raymond Hettinger [Tue, 11 Mar 2008 00:19:07 +0000 (00:19 +0000)]
Add recipe to docs.

17 years agoIntroduce a lock to fix a race condition which caused an exception in the test.
Neal Norwitz [Sun, 9 Mar 2008 19:03:42 +0000 (19:03 +0000)]
Introduce a lock to fix a race condition which caused an exception in the test.
Some buildbots were consistently failing (e.g., amd64).
Also remove a couple of semi-colons.

17 years agoUpdate for newest Sphinx.
Georg Brandl [Sun, 9 Mar 2008 18:18:30 +0000 (18:18 +0000)]
Update for newest Sphinx.

17 years ago#2249: document assertTrue and assertFalse.
Georg Brandl [Sun, 9 Mar 2008 15:11:39 +0000 (15:11 +0000)]
#2249: document assertTrue and assertFalse.

17 years agoWell that was dumb. platform.python_implementation returns a function, not a
Jeffrey Yasskin [Sat, 8 Mar 2008 21:35:15 +0000 (21:35 +0000)]
Well that was dumb. platform.python_implementation returns a function, not a
string.

17 years agoFix pybench for pythons < 2.6, tested back to 2.3.
Jeffrey Yasskin [Sat, 8 Mar 2008 20:08:21 +0000 (20:08 +0000)]
Fix pybench for pythons < 2.6, tested back to 2.3.

17 years agoAdd tests for with and finally performance to pybench.
Jeffrey Yasskin [Sat, 8 Mar 2008 18:26:54 +0000 (18:26 +0000)]
Add tests for with and finally performance to pybench.

17 years agoIssue 1106316. post_mortem()'s parameter, traceback, is now
Facundo Batista [Sat, 8 Mar 2008 16:50:27 +0000 (16:50 +0000)]
Issue 1106316. post_mortem()'s parameter, traceback, is now
optional: it defaults to the traceback of the exception that is currently
being handled.

17 years ago#1533486: fix types in refcount intro.
Georg Brandl [Sat, 8 Mar 2008 10:05:24 +0000 (10:05 +0000)]
#1533486: fix types in refcount intro.

17 years agoAdd new name for Mandrake: Mandriva.
Marc-André Lemburg [Sat, 8 Mar 2008 10:01:43 +0000 (10:01 +0000)]
Add new name for Mandrake: Mandriva.

17 years ago#2253: fix continue vs. finally docs.
Georg Brandl [Sat, 8 Mar 2008 09:54:06 +0000 (09:54 +0000)]
#2253: fix continue vs. finally docs.

17 years agoGrammar fix
Andrew M. Kuchling [Fri, 7 Mar 2008 21:09:23 +0000 (21:09 +0000)]
Grammar fix

17 years agoSpeed up with statements by storing the __exit__ method on the stack instead of in...
Nick Coghlan [Fri, 7 Mar 2008 14:13:28 +0000 (14:13 +0000)]
Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files)

17 years agoProgress on issue #1193577 by adding a polling .shutdown() method to
Jeffrey Yasskin [Fri, 7 Mar 2008 06:22:15 +0000 (06:22 +0000)]
Progress on issue #1193577 by adding a polling .shutdown() method to
SocketServers. The core of the patch was written by Pedro Werneck, but any bugs
are mine. I've also rearranged the code for timeouts in order to avoid
interfering with the shutdown poll.

17 years agoTweak recipes and tests
Raymond Hettinger [Fri, 7 Mar 2008 01:33:20 +0000 (01:33 +0000)]
Tweak recipes and tests

17 years agoIssue 2246: itertools grouper object did not participate in GC (should be backported).
Raymond Hettinger [Thu, 6 Mar 2008 22:51:36 +0000 (22:51 +0000)]
Issue 2246:  itertools grouper object did not participate in GC (should be backported).

17 years agoMore tests.
Raymond Hettinger [Thu, 6 Mar 2008 20:52:01 +0000 (20:52 +0000)]
More tests.

17 years agoUpdate db-4.4.20 build procedure.
Martin v. Löwis [Thu, 6 Mar 2008 13:50:28 +0000 (13:50 +0000)]
Update db-4.4.20 build procedure.

17 years agoRely on x64 platform configuration when building _bsddb on AMD64.
Martin v. Löwis [Thu, 6 Mar 2008 13:49:47 +0000 (13:49 +0000)]
Rely on x64 platform configuration when building _bsddb on AMD64.

17 years agoBug #2220: handle rlcompleter attribute match failure more gracefully.
Georg Brandl [Thu, 6 Mar 2008 07:45:52 +0000 (07:45 +0000)]
Bug #2220: handle rlcompleter attribute match failure more gracefully.

17 years ago#2220: handle matching failure more gracefully.
Georg Brandl [Thu, 6 Mar 2008 07:43:02 +0000 (07:43 +0000)]
#2220: handle matching failure more gracefully.

17 years ago#2225: return nonzero status code from py_compile if not all files could be compiled.
Georg Brandl [Thu, 6 Mar 2008 07:41:16 +0000 (07:41 +0000)]
#2225: return nonzero status code from py_compile if not all files could be compiled.

17 years agoAdd missing NEWS entry for r61263.
Georg Brandl [Thu, 6 Mar 2008 07:34:52 +0000 (07:34 +0000)]
Add missing NEWS entry for r61263.

17 years agoAdd isinstance/issubclass to tutorial.
Georg Brandl [Thu, 6 Mar 2008 07:31:34 +0000 (07:31 +0000)]
Add isinstance/issubclass to tutorial.

17 years agoLittle clarification of assignments.
Georg Brandl [Thu, 6 Mar 2008 07:22:09 +0000 (07:22 +0000)]
Little clarification of assignments.

17 years agoExpand on re.split behavior with captured expressions.
Georg Brandl [Thu, 6 Mar 2008 07:19:15 +0000 (07:19 +0000)]
Expand on re.split behavior with captured expressions.

17 years agoPatch #2232: os.tmpfile might fail on Windows if the user has no
Martin v. Löwis [Thu, 6 Mar 2008 06:55:22 +0000 (06:55 +0000)]
Patch #2232: os.tmpfile might fail on Windows if the user has no
permission to create files in the root directory.
Will backport to 2.5.

17 years ago#1725737: ignore other VC directories other than CVS and SVN's too.
Georg Brandl [Thu, 6 Mar 2008 06:47:18 +0000 (06:47 +0000)]
#1725737: ignore other VC directories other than CVS and SVN's too.

17 years agoAdd two items
Andrew M. Kuchling [Thu, 6 Mar 2008 01:36:27 +0000 (01:36 +0000)]
Add two items

17 years agoAdd examples.
Raymond Hettinger [Thu, 6 Mar 2008 01:15:52 +0000 (01:15 +0000)]
Add examples.

17 years agocd PCbuild only after deleting all pyc files.
Martin v. Löwis [Wed, 5 Mar 2008 22:24:31 +0000 (22:24 +0000)]
cd PCbuild only after deleting all pyc files.

17 years agoSmall code cleanup.
Raymond Hettinger [Wed, 5 Mar 2008 21:04:32 +0000 (21:04 +0000)]
Small code cleanup.

17 years agoC implementation of itertools.permutations().
Raymond Hettinger [Wed, 5 Mar 2008 20:59:58 +0000 (20:59 +0000)]
C implementation of itertools.permutations().

17 years ago#2239: PYTHONPATH delimiter is os.pathsep.
Georg Brandl [Wed, 5 Mar 2008 19:31:44 +0000 (19:31 +0000)]
#2239: PYTHONPATH delimiter is os.pathsep.

17 years agoElaborate on the role of the altinstall target when installing multiple
Skip Montanaro [Wed, 5 Mar 2008 16:41:09 +0000 (16:41 +0000)]
Elaborate on the role of the altinstall target when installing multiple
versions.

17 years agoIssue 1872: Changed the struct module typecode from 't' to '?', for
Thomas Heller [Wed, 5 Mar 2008 15:34:29 +0000 (15:34 +0000)]
Issue 1872: Changed the struct module typecode from 't' to '?', for
compatibility with PEP3118.

17 years agoNews entry for yesterdays commit.
Thomas Heller [Wed, 5 Mar 2008 14:53:39 +0000 (14:53 +0000)]
News entry for yesterdays commit.

17 years agoFix some rst.
Georg Brandl [Wed, 5 Mar 2008 07:10:35 +0000 (07:10 +0000)]
Fix some rst.

17 years agoFix test_socketserver on Windows after r61099 added several signal.alarm()
Jeffrey Yasskin [Wed, 5 Mar 2008 06:19:56 +0000 (06:19 +0000)]
Fix test_socketserver on Windows after r61099 added several signal.alarm()
calls (which don't exist on non-Unix platforms).

Thanks to Trent Nelson for the report and patch.

17 years agotest_smtplib sometimes reports leaks too, suppress it
Neal Norwitz [Wed, 5 Mar 2008 05:51:20 +0000 (05:51 +0000)]
test_smtplib sometimes reports leaks too, suppress it

17 years agoUse -u urlfetch to run more tests
Neal Norwitz [Wed, 5 Mar 2008 05:50:20 +0000 (05:50 +0000)]
Use -u urlfetch to run more tests

17 years agoTabs -> spaces
Neal Norwitz [Wed, 5 Mar 2008 05:49:03 +0000 (05:49 +0000)]
Tabs -> spaces

17 years agoMake the timeout longer to give slow machines a chance to pass the test
Neal Norwitz [Wed, 5 Mar 2008 05:38:06 +0000 (05:38 +0000)]
Make the timeout longer to give slow machines a chance to pass the test
before timing out.  This doesn't change the duration of the test under
normal circumstances.  This is targetted at fixing the spurious failures
on the FreeBSD buildbot primarily.

17 years agoCatch OSError when trying to remove a file in case removal fails. This
Neal Norwitz [Wed, 5 Mar 2008 05:20:44 +0000 (05:20 +0000)]
Catch OSError when trying to remove a file in case removal fails. This
should prevent a failure in tearDown masking any real test failure.

17 years agoGet this test to pass even when there is no sound card in the system.
Neal Norwitz [Wed, 5 Mar 2008 05:14:18 +0000 (05:14 +0000)]
Get this test to pass even when there is no sound card in the system.
Patch from Trent Nelson.  (I can't test this.)

17 years agoRemove the files/dirs after closing the DB so the tests work on Windows.
Neal Norwitz [Wed, 5 Mar 2008 05:10:48 +0000 (05:10 +0000)]
Remove the files/dirs after closing the DB so the tests work on Windows.
Patch from Trent Nelson.  Also simplified removing a file by using test_support.