Issue 28325: Remove MacOS 9-specific module macurl2path.py (original) (raw)

Issue28325

Created on 2016-10-01 10:15 by yan12125, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 552 closed dstufft,2017-03-31 16:36
Messages (4)
msg277805 - (view) Author: (yan12125) * Date: 2016-10-01 10:15
As per PEP 11, MacOS 9 support is removed in Python 2.4. There are some leftovers in CPython code base, among which the macurl2path module is an example. I propose to remove it for cleaner codes. In f6785bce54b5 (), reference to macurl2path was removed from Lib/urllib.py, and macurl2path.py says: Do not import directly; use urllib instead. So, unlike the concern in , I bet there are no third party codes importing this module. It can be removed from CPython safely. Added some Mac experts.
msg277842 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-10-02 02:06
New changeset 07c593845994 by Ned Deily in branch 'default': Issue #28325: Remove vestigal MacOS 9 macurl2path module and its tests. https://hg.python.org/cpython/rev/07c593845994
msg277843 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2016-10-02 02:09
Thanks for the suggestion; I didn't even know that was still around. Because it is a bit late in the game for 3.6 and to be extra cautious, I decided to remove it starting with 3.7.
msg277850 - (view) Author: (yan12125) * Date: 2016-10-02 05:04
Thanks for landing all the changes :) It's definitely surprising to see those old CPython codes.
History
Date User Action Args
2022-04-11 14:58:37 admin set github: 72512
2017-03-31 16:36:22 dstufft set pull_requests: + <pull%5Frequest963>
2016-10-02 05:04:48 yan12125 set messages: +
2016-10-02 02:09:53 ned.deily set status: open -> closedversions: - Python 3.6type: enhancement -> messages: + resolution: fixedstage: resolved
2016-10-02 02:06:09 python-dev set nosy: + python-devmessages: +
2016-10-01 10:15:54 yan12125 create