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 vstinner
Recipients Claudiu.Popa, vajrasky, vstinner
Date 2013-12-18.15:40:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387381205.15.0.556749838946.issue19997@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-12-18 15:40:05vstinnersetrecipients: + vstinner, Claudiu.Popa, vajrasky
2013-12-18 15:40:05vstinnersetmessageid: <1387381205.15.0.556749838946.issue19997@psf.upfronthosting.co.za>
2013-12-18 15:40:05vstinnerlinkissue19997 messages
2013-12-18 15:40:04vstinnercreate