-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Deprecate openfp() in aifc, sunau and wave #76166
Comments
Since 1993, aifc.openfp has simply pointed to aifc.open as a matter of backwards compatibility. See 7bc817d for the exact change. aifc.openfp is both undocumented and untested, and in looking at doc coverage I decided it's better to deprecate it since it's silently been there for 25 years. |
Don't forget about wave and sunau. You can use a common test for all three modules. |
i was going to do them as separate bugs and PRs per module, but if one is fine then i can do that. Updating the title as well since nothing is beings removed (was originally going to suggest skipping to removal but won’t do that). |
Serhiy, where should a common test that covers all three of these go? I'm not seeing an obvious place for it. |
audiotests.py. Create class AudioMiscTests and inherit classes AifcMiscTest, SunauMiscTest, WaveMiscTest from it instead of AudioTests. There is more work because there was no base for misc tests, but this will make adding other common misc test easier. |
I think #4344 covers what you're looking for. |
I created bpo-37320: "aifc, sunau, wave: remove deprecated openfp() function". |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: