Message206525
imghdr_bytes.patch should use os.fsencode() to encode the filename, not filename.encode().
(You may use a valid sound file of the Python suite test instead of generating an invalid sounf file.)
imghdr_files.patch looks overkill. I don't think that it's useful to support integer file descriptor. Being able to pass an open file is enough. imghdr_bytes.patch is fine. |
|
Date |
User |
Action |
Args |
2013-12-18 15:40:05 | vstinner | set | recipients:
+ vstinner, Claudiu.Popa, vajrasky |
2013-12-18 15:40:05 | vstinner | set | messageid: <1387381205.15.0.556749838946.issue19997@psf.upfronthosting.co.za> |
2013-12-18 15:40:05 | vstinner | link | issue19997 messages |
2013-12-18 15:40:04 | vstinner | create | |
|