-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For Python 3.13: A drop-in replacement for sndhdr.what()
and sndhdr.whathdr()
#85
Comments
I feel a PR coming on 😁
Notes:
This is going to be a trickier PR, realistically we can at least try to ensure PureMagic can understand the files to a basic level, but the advanced tests will be reliant on how V2.0 testing logic pans out. |
Awesome! I did not see that PR. I agree that when I looked into
|
Like #72 but for
sndhdr
instead ofimghdr
. Given thatpuremagic.what()
is now mentioned in What's new in Python 3.13 should we do something for the sound file formats in https://docs.python.org/3/library/sndhdr.html that will also be removed in Python 3.13? Doespuremagic
have support for the twelve sound file formats thatsndhdr
supports?It might be quite helpful to have a drop-in replacement for
sndhdr.what()
. It would provide a smooth transition to Py3.13 if developers could confidently replace all instances ofsndhdr.what()
withpuremagic.what()
-- same args, same results.imghdr.what()
#72imghdr.what()
#76imghdr_strict
option to.what()
to deliver the same false positives #81@NebularNerd
The text was updated successfully, but these errors were encountered: