summaryrefslogtreecommitdiffstats
path: root/Lib/chunk.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up bare except: when determining whether a file is seekable.Fred Drake2001-05-111-2/+2
|
* Fix typo in attribute name (chunk_size should be chunksize) found byGuido van Rossum2001-04-151-1/+1
| | | | Neil Norwitz's PyChecker.
* removed __all__ from several modulesSkip Montanaro2001-02-181-2/+0
|
* Whitespace normalization.Tim Peters2001-01-211-1/+1
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-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 normalization.Tim Peters2001-01-141-8/+7
|
* 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.