Skip to content

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

Merged
merged 2 commits into from
Dec 14, 2018
Merged

bpo-35471: Remove the macpath module #11129

merged 2 commits into from
Dec 14, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 12, 2018

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

Python 2.4 dropped MacOS 9 support. The macpath module was deprecated
in Python 3.7. This change removes it.
</Project>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change.

Copy link
Member Author

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', ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'dospath'? Seriously? 😉

Copy link
Member Author

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 serhiy-storchaka requested a review from a team December 12, 2018 16:08
@vstinner
Copy link
Member Author

@serhiy-storchaka: I made two changes, see my second commit.

Copy link
Member

@ned-deily ned-deily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@vstinner
Copy link
Member Author

@ronaldoussoren wrote "I'm in favour of removing macpath.":
https://bugs.python.org/issue35471#msg331702

@vstinner vstinner merged commit d7538dd into python:master Dec 14, 2018
@vstinner vstinner deleted the remove_macpath branch December 14, 2018 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants