summaryrefslogtreecommitdiffstats
path: root/Lib/chunk.py
Commit message (Collapse)AuthorAgeFilesLines
* Sjoerd Mullender writes:Guido van Rossum1999-08-261-3/+12
| | | | | | | | | | | | | | | | | | | | | | """ 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. """
* Patch from Sjoerd Mullender:Fred Drake1999-06-251-12/+12
| | | | | Make argument names equal to what is used in the documentation of the file object, since chunks are supposedly file-like.
* Sjoerd Mullender:Guido van Rossum1999-06-161-8/+24
| | | | | | | Added support for unseekable files. (I use unqualified excepts since we don't know why the seek/tell might fail. In my case it was because of an AttributeError.)
* Oops, Sjoerd was in a hurry. This patch from him fixes some lengthGuido van Rossum1999-06-091-0/+1
| | | | math in the Chunk class.
* Patch/new code by Sjoerd Mullender:Guido van Rossum1999-06-091-0/+142
Separate the Chunk class out of the aifc module into a new "chunk" module.