• Guido van Rossum's avatar
    Sjoerd Mullender writes: · 3601e88c
    Guido van Rossum yazdı
    """
    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.
    """
    3601e88c
wave.py 14.4 KB