This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients BT123, serhiy.storchaka
Date 2018-03-01.16:00:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519920055.57.0.467229070634.issue32056@psf.upfronthosting.co.za>
In-reply-to
Content
PR 5951 adds explicit checks for the number of channels and sample width when read audio files in aifc, sunau and wave and converts some struct.error to EOFError when the file is truncated in wave.

This change can break an existing code that currently successfully opens corrupted audio files and read only headers, but not audio samples. Therefore it is safer to not backport it, even if classify this issue as a bug.
History
Date User Action Args
2018-03-01 16:00:55serhiy.storchakasetrecipients: + serhiy.storchaka, BT123
2018-03-01 16:00:55serhiy.storchakasetmessageid: <1519920055.57.0.467229070634.issue32056@psf.upfronthosting.co.za>
2018-03-01 16:00:55serhiy.storchakalinkissue32056 messages
2018-03-01 16:00:55serhiy.storchakacreate