-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Remove macpath module #79652
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
Comments
The module 'macpath' has been deprecated in Python 3.7 by bpo-9850 and scheduled for removal in Python 3.8. Attached PR removes the module. |
According to the PEP-11, MacOS 9 support has been dropped in Python 2.4 (released in 2004: 14 years ago!). So I think that it's now ok to remove the macpath module, especially because it's deprecated since Python 3.7. |
I'm in favour of removing macpath. I was against removing the module in the past because parts of the macOS API still used (on probably still use) classic MacOS style paths. Most if not all APIs are by this time deprecated, which makes it less and less like that anyone will use macpath going forward. |
bpo-9850 has a scary title: "obsolete macpath module dangerously broken and should be removed". Extract: "Even if one did have a need to use the obsolete old-style paths, the macpath module is currently practically unusable for anything other than simple character manipulations of the path. Nearly all of the functions that actually call OS routines are broken in one or more ways." |
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: