cpython/Python
Bénédikt Tran 718886f6c6
[3.13] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908) (#141283)
gh-140530: fix a reference leak in an error path for `raise exc from cause` (#140908)

Fix a reference leak in `raise E from T` when `T` is an exception
subtype for which `T.__new__` does not return an exception instance.

(cherry picked from commit 0c77e7c23b)
2025-11-09 15:57:26 +01:00
..
clinic [3.13] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139792) 2025-10-08 22:21:49 +05:30
frozen_modules
_warnings.c [3.13] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140119) 2025-10-14 15:46:11 +00:00
adaptive.md
asdl.c
asm_trampoline.S
assemble.c
ast.c
ast_opt.c
ast_unparse.c
bltinmodule.c [3.13] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139792) 2025-10-08 22:21:49 +05:30
bootstrap_hash.c
brc.c
bytecodes.c [3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733) 2025-10-09 11:42:47 -04:00
ceval.c [3.13] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908) (#141283) 2025-11-09 15:57:26 +01:00
ceval_gil.c
ceval_macros.h
codecs.c
compile.c [3.13] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140119) 2025-10-14 15:46:11 +00:00
condvar.h
config_common.h
context.c
critical_section.c
crossinterp.c [3.13] gh-140306: Fix memory leaks in cross-interpreter data handling (GH-140307) (GH-140357) 2025-10-20 10:13:15 +00:00
crossinterp_data_lookup.h
crossinterp_exceptions.h
dtoa.c
dup2.c
dynamic_annotations.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
emscripten_signal.c
emscripten_trampoline.c
errors.c
executor_cases.c.h [3.13] gh-132744: Check recursion limit in _PY_FRAME_GENERAL (GH-132746) (GH-138032) 2025-08-22 20:25:24 +08:00
fileutils.c
flowgraph.c
formatter_unicode.c
frame.c
frozen.c
frozenmain.c
future.c
gc.c
gc_free_threading.c
gc_gil.c
generated_cases.c.h [3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733) 2025-10-09 11:42:47 -04:00
getargs.c
getcompiler.c
getcopyright.c
getopt.c
getplatform.c
getversion.c
hamt.c
hashtable.c
import.c
importdl.c
initconfig.c
instruction_sequence.c
instrumentation.c [3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733) 2025-10-09 11:42:47 -04:00
interpconfig.c
intrinsics.c
jit.c
legacy_tracing.c [3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733) 2025-10-09 11:42:47 -04:00
lock.c
marshal.c
modsupport.c
mysnprintf.c
mystrtoul.c
object_stack.c
opcode_targets.h
optimizer.c
optimizer_analysis.c
optimizer_bytecodes.c
optimizer_cases.c.h [3.13] gh-132744: Check recursion limit in _PY_FRAME_GENERAL (GH-132746) (GH-138032) 2025-08-22 20:25:24 +08:00
optimizer_symbols.c
parking_lot.c
pathconfig.c
perf_jit_trampoline.c
perf_trampoline.c
preconfig.c
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c [3.13] gh-112729: Correctly fail when the process is out of memory during interpreter creation (GH-139164) (GH-139169) 2025-09-19 15:09:44 +00:00
pymath.c
pystate.c [3.13] gh-140301: Fix memory leak in subinterpreter PyConfig cleanup (GH-140303) (#140684) 2025-10-27 19:42:13 +00:00
pystrcmp.c
pystrhex.c
pystrtod.c
Python-ast.c [3.13] gh-140471: Fix buffer overflow in AST node initialization with malformed _fields (GH-140506) (#140510) 2025-10-24 00:38:02 +01:00
Python-tokenize.c
pythonrun.c
pytime.c
qsbr.c
README
specialize.c
stdlib_module_names.h
structmember.c
suggestions.c
symtable.c
sysmodule.c [3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733) 2025-10-09 11:42:47 -04:00
thread.c
thread_nt.h
thread_pthread.h
thread_pthread_stubs.h
tier2_engine.md
traceback.c [3.13] gh-140815: Fix faulthandler for invalid/freed frame (#140921) (#140985) 2025-11-05 18:39:28 +01:00
tracemalloc.c
vm-state.md

Miscellaneous source files for the main Python shared library