diff options
author | Victor Stinner <vstinner@python.org> | 2020-10-27 16:12:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 16:12:53 (GMT) |
commit | 37834136d0afe51d274bfc79d8705514cbe73727 (patch) | |
tree | 0e4c6b1f42813363f690e7ad179874d727d2cd79 /Modules/Setup | |
parent | a6879d9445f98833c4e300e187956e2a218a2315 (diff) | |
download | cpython-37834136d0afe51d274bfc79d8705514cbe73727.zip cpython-37834136d0afe51d274bfc79d8705514cbe73727.tar.gz cpython-37834136d0afe51d274bfc79d8705514cbe73727.tar.bz2 |
bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998)
Use _PyLong_GetZero() and _PyLong_GetOne() in Modules/ directory.
_cursesmodule.c and zoneinfo.c are now built with
Py_BUILD_CORE_MODULE macro defined.
Diffstat (limited to 'Modules/Setup')
-rw-r--r-- | Modules/Setup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Setup b/Modules/Setup index 6f9bb81..a5fbaf6 100644 --- a/Modules/Setup +++ b/Modules/Setup @@ -178,7 +178,7 @@ _symtable symtablemodule.c #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator #_pickle _pickle.c # pickle accelerator #_datetime _datetimemodule.c # datetime accelerator -#_zoneinfo _zoneinfo.c # zoneinfo accelerator +#_zoneinfo _zoneinfo.c -DPy_BUILD_CORE_MODULE # zoneinfo accelerator #_bisect _bisectmodule.c # Bisection algorithms #_heapq _heapqmodule.c -DPy_BUILD_CORE_MODULE # Heap queue algorithm #_asyncio _asynciomodule.c # Fast asyncio Future @@ -306,7 +306,7 @@ _symtable symtablemodule.c # provided by the ncurses library. e.g. on Linux, link with -lncurses # instead of -lcurses). -#_curses _cursesmodule.c -lcurses -ltermcap +#_curses _cursesmodule.c -lcurses -ltermcap -DPy_BUILD_CORE_MODULE # Wrapper for the panel library that's part of ncurses and SYSV curses. #_curses_panel _curses_panel.c -lpanel -lncurses |