Skip to content

Commit 95ea7cf

Browse files
committed
Clarify the state of some modules in light of PEP594
1 parent cb40d57 commit 95ea7cf

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ incorporated into an XCode project.
1515
It exposed *almost* all the modules in the Python standard library except for:
1616
* dbm.gnu
1717
* tkinter
18-
* nis
19-
* ossaudiodev
20-
* spwd
18+
* readline
19+
* nis (Deprecated by PEP594)
20+
* ossaudiodev (Deprecated by PEP594)
21+
* spwd (Deprecated by PEP594)
2122

2223
The following standard library modules are available on macOS, but not the other
2324
Apple platforms:
2425
* curses
2526
* posixshmem
2627
* posixsubprocess
27-
* readline
2828

2929
The binaries support x86_64 and arm64 for macOS; arm64 for iOS and appleTV
3030
devices; and arm64_32 for watchOS. It also supports device simulators on both

patch/Python/Setup.embedded

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ _codecs_kr cjkcodecs/_codecs_kr.c
1616
_codecs_tw cjkcodecs/_codecs_tw.c
1717
_collections _collectionsmodule.c
1818
_contextvars _contextvarsmodule.c
19-
_crypt _cryptmodule.c
2019
_csv _csv.c
2120
_dbm _dbmmodule.c -DHAVE_NDBM_H
2221
_datetime _datetimemodule.c
@@ -68,7 +67,6 @@ _uuid _uuidmodule.c
6867
_zoneinfo _zoneinfo.c -DPy_BUILD_CORE_MODULE
6968
array arraymodule.c
7069
atexit atexitmodule.c
71-
audioop audioop.c
7270
binascii binascii.c
7371
cmath cmathmodule.c _math.c
7472
errno errnomodule.c
@@ -111,7 +109,14 @@ zlib zlibmodule.c -I$(prefix)/include -lz
111109
#_curses_panel _curses_panel.c -lpanel -lncurses
112110
#_gdbm _gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
113111
#_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -I... -L...
112+
#readline readline.c -lreadline -ltermcap
113+
114+
#####################################################################
115+
# Modules that exist, but are deprecated by PEP594 and will be
116+
# removed in Python 3.13
117+
#####################################################################
118+
_crypt _cryptmodule.c
119+
audioop audioop.c
114120
#nis nismodule.c -lnsl
115121
#ossaudiodev
116-
#readline readline.c -lreadline -ltermcap
117122
#spwd spwdmodule.c

0 commit comments

Comments
 (0)