cpython/Modules
Wanderxjtu 0ee2d77331
gh-112070: make functools.lru_cache threadsafe in --disable-gil build (gh-112111)
* gh-112070: make `functools.lrucacle` threadsafe in --disable-gil build

* gh-112070: update generate `functoolsmodule` files

* gh-112070: add NEWS file

* Delete Misc/NEWS.d/next/Library/2023-11-15-20-19-45.gh-issue-112070.q6OhcU.rst

* gh-112070: reformat functoolsmodule.c

---------

Co-authored-by: Sam Gross <colesbury@gmail.com>
2023-11-17 14:03:02 +09:00
..
_blake2 gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
_ctypes gh-111789: Use PyDict_GetItemRef() in _ctypes (GH-111828) 2023-11-14 11:28:34 +02:00
_decimal
_hacl
_io gh-111942: Fix SystemError in the TextIOWrapper constructor (#112061) 2023-11-14 20:02:28 +00:00
_multiprocessing gh-111089: Revert PyUnicode_AsUTF8() changes (#111833) 2023-11-07 22:36:13 +00:00
_sqlite gh-111789: Simplify the sqlite code (GH-111829) 2023-11-10 20:49:24 +00:00
_sre Output more details in the re tracing (GH-111357) 2023-10-26 16:42:42 +03:00
_ssl gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
_testcapi gh-111545: Test PyHash_GetFuncDef() function (#112098) 2023-11-15 03:41:29 +01:00
_testinternalcapi gh-111956: Add thread-safe one-time initialization. (gh-111960) 2023-11-16 12:19:54 -07:00
_xxtestfuzz Add a fuzz target for _elementtree.XMLParser._parse_whole (#111477) 2023-11-03 14:01:56 -07:00
cjkcodecs gh-111089: Revert PyUnicode_AsUTF8() changes (#111833) 2023-11-07 22:36:13 +00:00
clinic gh-112070: make functools.lru_cache threadsafe in --disable-gil build (gh-112111) 2023-11-17 14:03:02 +09:00
expat
_abc.c
_asynciomodule.c gh-111789: Use PyDict_GetItemRef() in Modules/_asynciomodule.c (GH-112072) 2023-11-15 04:28:30 +00:00
_bisectmodule.c
_bz2module.c
_codecsmodule.c
_collectionsmodule.c
_contextvarsmodule.c
_csv.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
_curses_panel.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
_cursesmodule.c gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094) 2023-10-20 18:08:41 +03:00
_datetimemodule.c Fix undefined behaviour in datetime.time.fromisoformat() (#111982) 2023-11-12 00:56:27 +01:00
_dbmmodule.c Remove redundant check in dbm.open() (GH-111844) 2023-11-08 19:42:41 +02:00
_elementtree.c
_functoolsmodule.c gh-112070: make functools.lru_cache threadsafe in --disable-gil build (gh-112111) 2023-11-17 14:03:02 +09:00
_gdbmmodule.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
_hashopenssl.c gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
_heapqmodule.c
_json.c gh-111928: make "memo" dict local to scan_once call (gh-112005) 2023-11-13 04:58:34 +00:00
_localemodule.c
_lsprof.c gh-108082: Use PyErr_FormatUnraisable() (GH-111580) 2023-11-02 09:16:34 +00:00
_lzmamodule.c
_math.h
_opcode.c gh-107149: make new opcode util functions private rather than public and unstable (#112042) 2023-11-14 00:31:02 +00:00
_operator.c
_pickle.c
_posixsubprocess.c
_queuemodule.c gh-84570: Add Timeouts to SendChannel.send() and RecvChannel.recv() (gh-110567) 2023-10-17 23:05:49 +00:00
_randommodule.c gh-106320: Re-add some PyLong/PyDict C-API functions (GH-#111162) 2023-10-25 11:33:48 +02:00
_scproxy.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
_ssl.c gh-111230: Fix errors checking in _ssl module init (#111232) 2023-10-25 15:42:18 +02:00
_ssl.h
_ssl_data.h
_ssl_data_31.h
_ssl_data_111.h
_ssl_data_300.h
_stat.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
_statisticsmodule.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
_struct.c gh-112062: Make _struct module thread-safe in --disable-gil builds (#112094) 2023-11-15 09:30:34 +05:30
_sysconfig.c
_testbuffer.c
_testcapi_feature_macros.inc
_testcapimodule.c gh-111545: Test PyHash_GetFuncDef() function (#112098) 2023-11-15 03:41:29 +01:00
_testclinic.c
_testclinic_limited.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
_testimportmultiple.c gh-110481: Implement biased reference counting (gh-110764) 2023-10-30 16:06:09 +00:00
_testinternalcapi.c gh-111798: Use lower Py_C_RECURSION_LIMIT in debug mode (#112124) 2023-11-16 13:52:33 +00:00
_testmultiphase.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
_testsinglephase.c
_threadmodule.c gh-111262: Add PyDict_Pop() function (#112028) 2023-11-14 12:51:00 +00:00
_tkinter.c
_tracemalloc.c
_typingmodule.c
_uuidmodule.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
_weakref.c
_winapi.c gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094) 2023-10-20 18:08:41 +03:00
_xxinterpchannelsmodule.c gh-76785: Move the Cross-Interpreter Code to Its Own File (gh-111502) 2023-10-30 16:53:10 -06:00
_xxsubinterpretersmodule.c gh-76785: Crossinterp utils additions (gh-111530) 2023-11-01 17:36:40 -06:00
_zoneinfo.c Simplify trivial calls of PyUnicode_FromFormat() (GH-111605) 2023-11-01 19:54:32 +02:00
addrinfo.h
arraymodule.c gh-106320: Re-add some PyLong/PyDict C-API functions (GH-#111162) 2023-10-25 11:33:48 +02:00
atexitmodule.c gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643) 2023-11-03 09:45:53 +02:00
binascii.c gh-67565: Remove redundant C-contiguity checks (GH-105521) 2023-10-23 12:54:46 +03:00
cmathmodule.c
config.c.in
errnomodule.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
faulthandler.c
fcntlmodule.c
gc_weakref.txt
gcmodule.c gh-111777: Fix assertion errors on incorrectly still-tracked GC object destruction (#111778) 2023-11-12 01:03:34 +01:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c gh-108082: Use PyErr_FormatUnraisable() (GH-111580) 2023-11-02 09:16:34 +00:00
getpath.py gh-106718: Treat PyConfig.stdlib_dir as highest-priority setting for stdlib_dir when calculating paths (GH-108730) 2023-11-01 21:11:18 +00:00
getpath_noop.c
grpmodule.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
hashlib.h gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
itertoolsmodule.c
ld_so_aix.in
main.c gh-67224: Show source lines in tracebacks when using the -c option when running Python (#111200) 2023-10-26 15:17:28 +09:00
makesetup
makexp_aix
mathmodule.c gh-111342: fix typo in math.sumprod (GH-111416) 2023-10-27 23:52:04 -05:00
md5module.c gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
mmapmodule.c gh-111835: Add seekable method to mmap.mmap (gh-111852) 2023-11-09 20:13:35 +09:00
overlapped.c gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094) 2023-10-20 18:08:41 +03:00
posixmodule.c gh-111841: Fix os.putenv() and os.unsetenv() with embedded NUL on Windows (GH-111842) 2023-11-10 18:42:14 +02:00
posixmodule.h
pwdmodule.c
pyexpat.c gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094) 2023-10-20 18:08:41 +03:00
readline.c
README
resource.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
rotatingtree.c
rotatingtree.h
selectmodule.c gh-110395: invalidate open kqueues after fork (#110517) 2023-11-04 21:45:24 +00:00
Setup
Setup.bootstrap.in
Setup.stdlib.in gh-111545: Test PyHash_GetFuncDef() function (#112098) 2023-11-15 03:41:29 +01:00
sha1module.c gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
sha2module.c gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
sha3module.c gh-111916: Make hashlib related modules thread-safe without the GIL (#111981) 2023-11-15 23:53:38 +00:00
signalmodule.c gh-108082: Use PyErr_FormatUnraisable() (GH-111580) 2023-11-02 09:16:34 +00:00
socketmodule.c gh-111995: Add getnameinfo extension flag (#111994) 2023-11-15 01:00:24 +00:00
socketmodule.h
symtablemodule.c
syslogmodule.c gh-110964: Remove private _PyArg functions (#110966) 2023-10-17 14:30:31 +02:00
termios.c
timemodule.c gh-111482: Fix time_clockid_converter() on AIX (#112170) 2023-11-17 00:00:16 +01:00
tkappinit.c
tkinter.h
unicodedata.c gh-96954: use a directed acyclic word graph for storing the unicodedata codepoint names (#97906) 2023-11-04 15:56:58 +01:00
unicodedata_db.h gh-96954: Fix make regen-unicodedata in out-of-tree builds (#112118) 2023-11-15 16:42:17 +00:00
unicodename_db.h gh-96954: Fix make regen-unicodedata in out-of-tree builds (#112118) 2023-11-15 16:42:17 +00:00
winreparse.h
xxlimited.c gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) 2023-11-01 04:24:33 +01:00
xxlimited_35.c gh-110481: Implement biased reference counting (gh-110764) 2023-10-30 16:06:09 +00:00
xxmodule.c
xxsubtype.c
zlibmodule.c

Source files for standard library extension modules,
and former extension modules that are now builtin modules.