STINNER Victor <vstin...@redhat.com> added the comment:

I agree that sndhdr.what() should return None and not raise an exception if the 
file format is not supported or the file is invalid.

----------
keywords: +easy
nosy: +vstinner
title: sndhdr.what() throws exceptions on unknown files -> [EASY] sndhdr.what() 
throws exceptions on unknown files

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34088>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to