-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-35471: Remove the macpath module #11129
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
Conversation
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
</Project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like my text editor (vim) likes to add newline. Well, this change shouldn't hurt :-)
@@ -124,7 +124,7 @@ def main(): | |||
|
|||
# default the exclude list for each platform | |||
if win: exclude = exclude + [ | |||
'dos', 'dospath', 'mac', 'macpath', 'macfs', 'MACFS', 'posix', ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'dospath'? Seriously? 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know any of these modules (except of "posix"), so I chose to not touch this old code...
@serhiy-storchaka: I made two changes, see my second commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
@ronaldoussoren wrote "I'm in favour of removing macpath.": |
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated
in Python 3.7. This change removes it.
https://bugs.python.org/issue35471