Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-31848: Fix broken error handling in Aifc_read.initfp() when the ↵ | Miss Islington (bot) | 2018-02-21 | 1 | -0/+1 |
| | | | | | | | | | | | SSND chunk is not found (GH-5240) (GH-5781) Initialize self._ssnd_chunk so that aifc.Error is raised as intended, not AttributeError. (cherry picked from commit 80d20b918bd8a882043c493a7f958333ecb41727) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | ||||
* | bpo-29110: Fix file object leak in aifc.open (GH-356) | INADA Naoki | 2017-02-28 | 1 | -4/+14 |
| | |||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -4/+7 |
| | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | Issue #19623: Fixed writing to unseekable files in the aifc module. | Serhiy Storchaka | 2013-12-14 | 1 | -5/+10 |
| | | | | Fixed writing 'ulaw' (lower case) compressed AIFC files. | ||||
* | Issue #18919: If the close() method of a writer in the sunau or wave module | Serhiy Storchaka | 2013-10-12 | 1 | -9/+9 |
| | | | | | | | failed, second invocation of close() and destructor no more raise an exception. Second invocation of close() on sunau writer now has no effects. The aifc module now accepts lower case of names of the 'ulaw' and 'alaw' codecs. | ||||
* | Issue #19131: The aifc module now correctly reads and writes sampwidth of | Serhiy Storchaka | 2013-10-12 | 1 | -5/+7 |
| | | | | compressed streams. | ||||
* | Issue #18817: Fix a resource warning in Lib/aifc.py demo. | Serhiy Storchaka | 2013-08-25 | 1 | -19/+23 |
| | |||||
* | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | Issue #16485: Fix file descriptor not being closed if file header patching ↵ | Serhiy Storchaka | 2012-12-29 | 1 | -16/+22 |
| | | | | fails on closing of aifc file. | ||||
* | Issue #13589: Fix some serialization primitives in the aifc module. | Antoine Pitrou | 2012-01-17 | 1 | -18/+30 |
| | | | | Patch by Oleg Plakhotnyuk. | ||||
* | Fix py3k warnings in the aifc module | Antoine Pitrou | 2009-10-14 | 1 | -11/+11 |
| | |||||
* | Issue5955: aifc's close method did not close the file it wrapped, | R. David Murray | 2009-05-07 | 1 | -3/+4 |
| | | | | now it does. This also means getfp method now returns the real fp. | ||||
* | actually close files instead of leaving it to the gc #5955 | Benjamin Peterson | 2009-05-07 | 1 | -3/+2 |
| | |||||
* | prevent ref cycles by removing bound method on close() | Benjamin Peterson | 2009-04-30 | 1 | -0/+2 |
| | |||||
* | Fix issue 2245. aifc now skips any chunk type it doesn't actually | R. David Murray | 2009-04-29 | 1 | -7/+0 |
| | | | | | | | process instead of throwing errors for anything not in an explicit skip list. This is per this spec: http://www.cnpbagwell.com/aiff-c.txt. Spec reference and test sound file provided by Santiago Peresón, fix based on patch by Hiroaki Kawai. | ||||
* | Remove tuple parameter unpacking in aifc to silence warnings under -3. | Brett Cannon | 2008-08-04 | 1 | -1/+2 |
| | |||||
* | Add a length check to aifc to ensure it doesn't write a bogus file | Bob Ippolito | 2006-05-30 | 1 | -0/+2 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -2/+2 |
| | | | | From SF patch #852334. | ||||
* | Fix wanrings about unsigned hex constants. | Guido van Rossum | 2002-08-12 | 1 | -2/+2 |
| | |||||
* | SF #515004 cleanup | Neal Norwitz | 2002-02-11 | 1 | -4/+2 |
| | | | | | - remove unnecessary imports - rename dum -> dummy | ||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 1 | -0/+2 |
| | | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation. | ||||
* | Whitespace standardization. | Tim Peters | 2001-01-14 | 1 | -1/+1 |
| | |||||
* | Convert some old-style string exceptions to class exceptions. | Fred Drake | 2000-08-17 | 1 | -1/+2 |
| | |||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -1/+1 |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) | ||||
* | Sjoerd Mullender: | Guido van Rossum | 2000-03-07 | 1 | -1/+1 |
| | | | | | The (relatively) new chunk module uses seek, not setpos. One instance of the call still needed to be fixed. | ||||
* | Mass patch by Ka-Ping Yee: | Guido van Rossum | 2000-02-02 | 1 | -917/+918 |
| | | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old). | ||||
* | Sjoerd Mullender writes: | Guido van Rossum | 1999-08-26 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | | """ Extended chunk so that it can also handle formats that are almost according to EA IFF 85. In particular, added options to handle little-endian and to handle formats that include the header size in the chunk size value. Fixed a bug where the header size was included in the chunk size, which it isn't according to EA IFF 85. Added a new method getsize() to get the size of the chunk (excluding header). Fixed chunk documentation (TIFF doesn't look like it uses chunks). Converted wave to use chunk. Wave uses EA IFF 85 chunks except that it uses little-endian encoding of integer data. Removed __del__ methods from aifc and wave since I got an AttributeError there upon exit. """ | ||||
* | Make the mode parameter to open() default in the same way as for wave.open(). | Fred Drake | 1999-06-22 | 1 | -4/+9 |
| | |||||
* | Patch/new code by Sjoerd Mullender: | Guido van Rossum | 1999-06-09 | 1 | -74/+13 |
| | | | | Separate the Chunk class out of the aifc module into a new "chunk" module. | ||||
* | The _comp_data() function never worked, it contained a reference to | Guido van Rossum | 1999-05-03 | 1 | -1/+1 |
| | | | | undefined 'nframes'. Should be self._nframes. (Andrew Dalke & kjpylint) | ||||
* | [Sjoerd Mullender] | Guido van Rossum | 1998-08-07 | 1 | -25/+24 |
| | | | | Don't use CL module since all constants are now in cl. | ||||
* | Small corrections to comments that were cloned from aifc; moreover | Guido van Rossum | 1998-04-23 | 1 | -1/+1 |
| | | | | | | the description of setparams() was wrong. wave.py: Include the tag of an unknown format in the exception. | ||||
* | Use newer struct, which handles unsigned long right | Guido van Rossum | 1997-01-11 | 1 | -3/+1 |
| | |||||
* | Rewrote _{read,write}_{short,long} to use the newly revamped struct | Guido van Rossum | 1996-12-31 | 1 | -37/+44 |
| | | | | | | module. (Small problem: struct.pack() won't deal with the Python long ints returned by struct.unpack() for the 'L' format. Worked around that for now.) | ||||
* | Get rid of access statement | Guido van Rossum | 1996-08-20 | 1 | -9/+9 |
| | |||||
* | temporarily disabled the access statements | Guido van Rossum | 1995-08-10 | 1 | -4/+4 |
| | |||||
* | Ignore empty markers. | Sjoerd Mullender | 1994-10-03 | 1 | -1/+5 |
| | |||||
* | audiodev.py: Mac port. | Guido van Rossum | 1994-09-16 | 1 | -2/+2 |
| | | | | | Audio_mac.py: Mac specific class for audiodev.py. aifc.py: open files for reading/writing in binary mode ('rb', 'wb'). | ||||
* | Added support for ADPCM compression. | Sjoerd Mullender | 1994-09-06 | 1 | -6/+47 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -1/+4 |
| | |||||
* | Use __builtin__ instead of builtin | Guido van Rossum | 1994-01-28 | 1 | -3/+3 |
| | |||||
* | aifc.py: framerate should be an int. | Sjoerd Mullender | 1994-01-28 | 1 | -1/+1 |
| | | | | | sunau.py: should convert number of frames correctly to number of bytes when reading. | ||||
* | Removed now useless convert functions. | Sjoerd Mullender | 1994-01-06 | 1 | -12/+0 |
| | |||||
* | Removed silly dependence on AL module. | Sjoerd Mullender | 1994-01-06 | 1 | -54/+31 |
| | |||||
* | aifc.py, sunau.py: Adapted comments; added access statements. | Sjoerd Mullender | 1993-12-20 | 1 | -8/+18 |
| | | | | SUNAUDIODEV.py: Added some constants for Solaris. | ||||
* | * aifc.py (Aifc_write): fix bogus reference to filename | Guido van Rossum | 1993-12-17 | 1 | -0/+3 |
| | |||||
* | * Mass change: get rid of all init() methods, in favor of __init__() | Guido van Rossum | 1993-12-17 | 1 | -22/+18 |
| | | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments) | ||||
* | Don't close the file. | Sjoerd Mullender | 1993-12-16 | 1 | -8/+7 |
| | |||||
* | aifc.py: added missing tell() method in AIFC write class; | Sjoerd Mullender | 1993-12-13 | 1 | -47/+98 |
| | | | | | | | use audioop module as backup for cl module when reading or writing u-law compressed files. sunau.py: interface with the same methods as aifc for Sun and NeXT audio files | ||||
* | Fixed dealing with faulty COMM chunks. | Sjoerd Mullender | 1993-08-26 | 1 | -3/+3 |
| |