summaryrefslogtreecommitdiffstats
path: root/Doc/library/wave.rst
Commit message (Collapse)AuthorAgeFilesLines
* #17616: Improve context manager tests, fix bugs in close method and mode docs.R David Murray2013-08-011-8/+7
| | | | | | | | | | | | | | 'mode' docs fix: the file must always be opened in binary in Python3. Bug in Wave_write.close: when the close method calls the check that the header exists and it raises an error, the _file attribute never gets set to None, so the next close tries to close the file again and we get an ignored traceback in the __del__ method. The fix is to set _file to None in a finally clause. This represents a behavior change...in theory a program could be checking for the error on close and then doing a recovery action on the still open file and closing it again. But this change will only go into 3.4, so I think that behavior change is acceptable given that it would be pretty weird and unlikely logic to begin with.
* #17616: wave.open now supports the 'with' statement.R David Murray2013-07-311-0/+5
| | | | Feature and tests by ClClaudiu.Popa, I added the doc changes.
* #17487: wave.getparams now returns a namedtuple.R David Murray2013-04-101-2/+3
| | | | Patch by Claudiu Popa.
* More source linksRaymond Hettinger2011-01-271-0/+4
|
* #10855: document close() semantics of wave objects.Georg Brandl2011-01-081-9/+15
|
* Issue #1512791: In setframerate method of Wave_write, round non-integralMark Dickinson2010-08-281-0/+4
| | | | inputs to the nearest integer. Thanks Neil Tallim for the patch.
* Last round of adapting style of documenting argument default values.Georg Brandl2009-09-161-1/+1
|
* Merged revisions 74207 via svnmerge fromGeorg Brandl2009-07-261-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. ........
* Merged revisions 59605-59624 via svnmerge fromChristian Heimes2007-12-311-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59606 | georg.brandl | 2007-12-29 11:57:00 +0100 (Sat, 29 Dec 2007) | 2 lines Some cleanup in the docs. ........ r59611 | martin.v.loewis | 2007-12-29 19:49:21 +0100 (Sat, 29 Dec 2007) | 2 lines Bug #1699: Define _BSD_SOURCE only on OpenBSD. ........ r59612 | raymond.hettinger | 2007-12-29 23:09:34 +0100 (Sat, 29 Dec 2007) | 1 line Simpler documentation for itertools.tee(). Should be backported. ........ r59613 | raymond.hettinger | 2007-12-29 23:16:24 +0100 (Sat, 29 Dec 2007) | 1 line Improve docs for itertools.groupby(). The use of xrange(0) to create a unique object is less obvious than object(). ........ r59620 | christian.heimes | 2007-12-31 15:47:07 +0100 (Mon, 31 Dec 2007) | 3 lines Added wininst-9.0.exe executable for VS 2008 Integrated bdist_wininst into PCBuild9 directory ........ r59621 | christian.heimes | 2007-12-31 15:51:18 +0100 (Mon, 31 Dec 2007) | 1 line Moved PCbuild directory to PC/VS7.1 ........ r59622 | christian.heimes | 2007-12-31 15:59:26 +0100 (Mon, 31 Dec 2007) | 1 line Fix paths for build bot ........ r59623 | christian.heimes | 2007-12-31 16:02:41 +0100 (Mon, 31 Dec 2007) | 1 line Fix paths for build bot, part 2 ........ r59624 | christian.heimes | 2007-12-31 16:18:55 +0100 (Mon, 31 Dec 2007) | 1 line Renamed PCBuild9 directory to PCBuild ........
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+201