Message219557
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. |
|
Date |
User |
Action |
Args |
2014-06-02 09:00:37 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, pitrou, vstinner, serhiy.storchaka, vajrasky |
2014-06-02 09:00:37 | Claudiu.Popa | set | messageid: <1401699637.36.0.573896771136.issue19997@psf.upfronthosting.co.za> |
2014-06-02 09:00:37 | Claudiu.Popa | link | issue19997 messages |
2014-06-02 09:00:36 | Claudiu.Popa | create | |
|