summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-14 12:37:26 (GMT)
committerGitHub <noreply@github.com>2018-12-14 12:37:26 (GMT)
commitd7538dd5e3e04a8db22e1470cb2ed696bf3be160 (patch)
tree2e430306e9128222301df75c352863c23a63d79f /Doc
parent4aa917c5feaec07a6f6db87b34185ab6180e20ee (diff)
downloadcpython-d7538dd5e3e04a8db22e1470cb2ed696bf3be160.zip
cpython-d7538dd5e3e04a8db22e1470cb2ed696bf3be160.tar.gz
cpython-d7538dd5e3e04a8db22e1470cb2ed696bf3be160.tar.bz2
bpo-35471: Remove the macpath module (GH-11129)
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/filesys.rst1
-rw-r--r--Doc/library/macpath.rst21
-rw-r--r--Doc/library/os.path.rst6
-rw-r--r--Doc/whatsnew/3.8.rst3
4 files changed, 5 insertions, 26 deletions
diff --git a/Doc/library/filesys.rst b/Doc/library/filesys.rst
index 03e085b..0ccf2b7 100644
--- a/Doc/library/filesys.rst
+++ b/Doc/library/filesys.rst
@@ -22,7 +22,6 @@ in this chapter is:
fnmatch.rst
linecache.rst
shutil.rst
- macpath.rst
.. seealso::
diff --git a/Doc/library/macpath.rst b/Doc/library/macpath.rst
deleted file mode 100644
index 2af51c6..0000000
--- a/Doc/library/macpath.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-:mod:`macpath` --- Mac OS 9 path manipulation functions
-=======================================================
-
-.. module:: macpath
- :synopsis: Mac OS 9 path manipulation functions.
-
-**Source code:** :source:`Lib/macpath.py`
-
-.. deprecated-removed:: 3.7 3.8
-
---------------
-
-This module is the Mac OS 9 (and earlier) implementation of the :mod:`os.path`
-module. It can be used to manipulate old-style Macintosh pathnames on Mac OS X
-(or any other platform).
-
-The following functions are available in this module: :func:`normcase`,
-:func:`normpath`, :func:`isabs`, :func:`join`, :func:`split`, :func:`isdir`,
-:func:`isfile`, :func:`walk`, :func:`exists`. For other functions available in
-:mod:`os.path` dummy counterparts are available.
-
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 469b262..23194ae 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -4,9 +4,8 @@
.. module:: os.path
:synopsis: Operations on pathnames.
-**Source code:** :source:`Lib/posixpath.py` (for POSIX),
-:source:`Lib/ntpath.py` (for Windows NT),
-and :source:`Lib/macpath.py` (for Macintosh)
+**Source code:** :source:`Lib/posixpath.py` (for POSIX) and
+:source:`Lib/ntpath.py` (for Windows NT).
.. index:: single: path; operations
@@ -52,7 +51,6 @@ the :mod:`glob` module.)
* :mod:`posixpath` for UNIX-style paths
* :mod:`ntpath` for Windows paths
- * :mod:`macpath` for old-style MacOS paths
.. versionchanged:: 3.8
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index b38a1a7..f4e6f64 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -378,6 +378,9 @@ API and Feature Removals
The following features and APIs have been removed from Python 3.8:
+* The :mod:`macpath` module, deprecated in Python 3.7, has been removed.
+ (Contributed by Victor Stinner in :issue:`35471`.)
+
* The function :func:`platform.popen` has been removed, it was deprecated since
Python 3.3: use :func:`os.popen` instead.