cpython/Python
Victor Stinner e97c8b0688
bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120) (GH-19136)
PyThreadState.frame is a borrowed reference, not a strong reference:
PyThreadState_Clear() must not call Py_CLEAR(tstate->frame).

Remove test_threading.test_warnings_at_exit(): we cannot warranty
that the Python thread state of daemon threads is cleared in a
reliable way during Python shutdown.

(cherry picked from commit 5804f878e7)
2020-03-24 17:12:19 +01:00
..
clinic bpo-38237: Shorter docstring (GH-16322) (GH-16323) 2019-09-21 13:32:07 -07:00
Python-ast.c bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688) 2019-10-10 01:00:19 -07:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
_warnings.c bpo-39831: Remove outdated comment. (GH-18764) 2020-03-03 10:01:09 -08:00
asdl.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
ast.c bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. (GH-18477) 2020-02-12 12:56:44 -08:00
ast_opt.c Fix constant folding optimization for positional only arguments (GH-17837) 2020-01-05 09:21:47 -08:00
ast_unparse.c bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) 2020-03-11 13:18:01 -07:00
bltinmodule.c Correct signature of __build_class__ (GH-16735) 2019-10-13 08:53:54 -07:00
bootstrap_hash.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
ceval.c bpo-35370: PyEval_SetTrace() logs unraisable error (GH-18977) (GH-19029) 2020-03-16 18:18:20 +01:00
ceval_gil.h Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)" (GH-13780) 2019-06-03 18:14:24 +02:00
codecs.c [3.8] closes bpo-39630: Update pointers to string literals to be const char *. (GH-18511) 2020-02-13 21:05:00 -08:00
compile.c bpo-39562: Allow executing asynchronous comprehensions in the asyncio REPL (GH-18968) 2020-03-19 04:54:16 -07:00
condvar.h [3.8] Typo fix: "throuhgh" should be "through". (GH-16713) 2019-10-10 21:02:38 -07:00
context.c bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497) 2019-12-08 04:49:07 -08:00
dtoa.c bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) 2019-03-13 17:55:01 +01:00
dup2.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
dynamic_annotations.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
dynload_aix.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
dynload_dl.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_hpux.c bpo-36900: Fix compilation on HP-UX (GH-13614) 2019-05-28 12:24:00 +02:00
dynload_shlib.c bpo-36722: Debug build loads libraries built in release mode (GH-12952) 2019-04-26 01:40:00 +02:00
dynload_stub.c
dynload_win.c bpo-28269: Replace strcasecmp with system function _stricmp. (GH-13095) 2019-08-24 03:22:14 -07:00
errors.c [3.8] closes bpo-39630: Update pointers to string literals to be const char *. (GH-18511) 2020-02-13 21:05:00 -08:00
fileutils.c bpo-37549: os.dup() fails for standard streams on Windows 7 (GH-15389) 2019-08-23 12:04:27 -07:00
formatter_unicode.c Fix typo in formatter_unicode (GH-16831) 2019-10-25 10:03:23 -07:00
frozen.c bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
frozenmain.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) 2019-10-01 03:26:04 -07:00
future.c bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338) 2018-09-24 14:12:49 -07:00
getargs.c bpo-38540: Fix possible leak in PyArg_Parse for "esGH-" and "etGH-". (GH-16869) 2019-10-21 02:12:37 -07:00
getcompiler.c closes bpo-31696: don't mention GCC in sys.version when building with clang (#3891) 2017-10-05 21:15:14 -07:00
getcopyright.c Bring Python into the next decade. (GH-17801) 2020-01-02 19:15:37 -08:00
getopt.c bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() (GH-13371) 2019-05-17 03:15:12 +02:00
getplatform.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
getversion.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
graminit.c bpo-35814: Allow unpacking in r.h.s of annotated assignment expressions (GH-13760) 2019-06-03 08:34:20 +01:00
hamt.c closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727) 2019-12-30 18:51:18 -08:00
import.c [3.8] bpo-37409: fix relative import with no parent (GH-14956) (GH-15913) 2019-09-11 12:38:22 +01:00
importdl.c bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
importdl.h PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
importlib.h [3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456) 2019-08-24 13:41:53 +03:00
importlib_external.h [3.8] bpo-38121: Sync importlib.metadata with 0.22 backport (GH-15993) (GH-16064) 2019-09-12 16:41:31 +01:00
importlib_zipimport.h [3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642) 2020-01-14 03:39:19 -08:00
initconfig.c bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19110) 2020-03-22 14:56:26 -04:00
makeopcodetargets.py makeopcodetargets.py: we need to import Lib/opcode.py 2016-03-26 01:04:37 +01:00
marshal.c closes bpo-39605: Fix some casts to not cast away const. (GH-18453) 2020-02-11 18:47:20 -08:00
modsupport.c [3.8] bpo-38913: Fix segfault in Py_BuildValue("(sGH-O)", ...) if entered with exception raised. (GH-18656). (GH-18732) 2020-03-02 09:54:43 +02:00
mysnprintf.c
mystrtoul.c bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
opcode_targets.h bpo-33041: Rework compiling an "async for" loop. (#6142) 2018-03-23 14:34:35 +02:00
pathconfig.c bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (GH-17818) 2020-01-06 09:17:36 -08:00
peephole.c Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551) 2019-08-27 10:13:52 -07:00
preconfig.c bpo-38304: Remove PyConfig.struct_size (GH-16500) 2019-10-01 08:46:42 +10:00
pyarena.c bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) 2019-03-13 22:59:55 +02:00
pyctype.c
pyfpe.c bpo-29137: Remove fpectl module (#4789) 2018-01-05 23:15:34 -08:00
pyhash.c closes bpo-39605: Fix some casts to not cast away const. (GH-18453) 2020-02-11 18:47:20 -08:00
pylifecycle.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) 2019-10-01 03:26:04 -07:00
pymath.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) 2018-11-12 22:01:22 -08:00
pystate.c bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120) (GH-19136) 2020-03-24 17:12:19 +01:00
pystrcmp.c
pystrhex.c Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551) 2019-08-27 10:13:52 -07:00
pystrtod.c bpo-27268: Fix incorrect error message on float('') (GH-2745) 2019-05-17 18:32:44 -04:00
pythonrun.c bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisablehook are invoked (GH-17392) 2019-11-28 08:46:23 -08:00
pytime.c bpo-34373: Fix time.mktime() on AIX (GH-12726) 2019-04-09 19:12:26 +02:00
strdup.c bpo-36623: Clean parser headers and include files (GH-12253) 2019-04-13 17:05:14 +01:00
structmember.c Added the const qualifier to char* variables that refer to readonly internal 2016-11-20 10:16:47 +02:00
symtable.c Fix SystemError when nested function has annotation on positional-only argument (GH-17826) 2020-01-04 18:14:58 -08:00
sysmodule.c bpo-38410: Properly handle PySys_Audit() failures (GH-18658) 2020-03-02 09:58:48 +02:00
thread.c bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) (GH-15961) 2019-09-11 19:50:29 -07:00
thread_nt.h bpo-39847: EnterNonRecursiveMutex() uses GetTickCount64() (GH-18780) 2020-03-11 16:57:16 -07:00
thread_pthread.h bpo-18049: Define THREAD_STACK_SIZE for AIX to pass default recursion limit test (GH-15081) 2019-08-28 22:35:41 -07:00
traceback.c [3.8] bpo-38070: Py_FatalError() logs runtime state (GH-16258) 2019-09-18 14:10:16 +02:00
wordcode_helpers.h bpo-31338 (#3374) 2017-09-14 18:13:16 -07:00

README

Miscellaneous source files for the main Python shared library