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 terry.reedy
Recipients mgorny, serhiy.storchaka, terry.reedy
Date 2020-09-11.22:20:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599862813.56.0.128789050759.issue41725@roundup.psfhosted.org>
In-reply-to
Content
An OSError for a file the OS can read seems a bit off.  What is the accompanying message?  Would something like ValueError("bz2 compressor failed with BZ_DATA_ERROR") be better? 

Michał, are there precedents or models for this in the other file compression modules?
History
Date User Action Args
2020-09-11 22:20:13terry.reedysetrecipients: + terry.reedy, mgorny, serhiy.storchaka
2020-09-11 22:20:13terry.reedysetmessageid: <1599862813.56.0.128789050759.issue41725@roundup.psfhosted.org>
2020-09-11 22:20:13terry.reedylinkissue41725 messages
2020-09-11 22:20:13terry.reedycreate