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 Claudiu.Popa
Recipients Claudiu.Popa, pitrou, serhiy.storchaka, vajrasky, vstinner
Date 2014-06-02.09:00:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401699637.36.0.573896771136.issue19997@psf.upfronthosting.co.za>
In-reply-to
Content
There are other modules with support for bytes filenames in their API:

bz2                          
codecs                       
gzip                         
lzma                         
pipes.Template               
tarfile
tokenize
fileinput
filecmp
sndhdr
configparser

Also, given the fact that sndhdr supports them and its purpose is similar with imghdr, it would be a surprise
for a beginner to find out that imghdr.what(b"img") is not working, while sndhdr.what(b"snd") works.
History
Date User Action Args
2014-06-02 09:00:37Claudiu.Popasetrecipients: + Claudiu.Popa, pitrou, vstinner, serhiy.storchaka, vajrasky
2014-06-02 09:00:37Claudiu.Popasetmessageid: <1401699637.36.0.573896771136.issue19997@psf.upfronthosting.co.za>
2014-06-02 09:00:37Claudiu.Popalinkissue19997 messages
2014-06-02 09:00:36Claudiu.Popacreate