cpython/Python
Itamar Oren 04862280a2
gh-157384: Set package context in PyImport_CreateModuleFromInitfunc() (GH-157387)
A single-phase init function that creates its module using only the
last component of a dotted name (as pybind11 does for submodules) got
a module whose __name__ was the short name.  Set the package context
while calling the init function, as the dynamic loader does, so the
module gets the full name from the spec.
2026-10-13 13:35:19 +00:00
..
clinic gh-157407: Use _PyUnicode_AsUTF8NoNUL for AC 's' and 'z' converters (#158210) 2026-10-05 17:03:27 +00:00
frozen_modules
_contextvars.c
_warnings.c gh-155952: Fix <unrepresentable> Argument Clinic defaults in several signatures (#155954) 2026-08-21 10:03:51 +01:00
asdl.c
asm_trampoline_aarch64.S
asm_trampoline_riscv64.S
asm_trampoline_x86_64.S
assemble.c gh-158585: Simplify PyBytesWriter_Finish() (#158822) 2026-10-05 04:47:04 +02:00
ast.c gh-152708: Fix AST generation asymmetry for unary positive in match statements (#152712) 2026-09-23 19:56:53 -07:00
ast_preprocess.c gh-152708: Fix AST generation asymmetry for unary positive in match statements (#152712) 2026-09-23 19:56:53 -07:00
ast_unparse.c
bltinmodule.c gh-155496: Use Argument Clinic for more functions and methods (GH-158134) 2026-09-27 19:00:22 +03:00
bootstrap_hash.c gh-153400: Support os.getrandom() on old glibc versions (#155762) 2026-09-10 22:58:27 +02:00
brc.c gh-157838: Merge biased refcounts on behalf of detached threads (#157839) 2026-09-23 22:08:56 +05:30
bytecodes.c gh-142349: Simplify lazy import resolution (#158282) 2026-10-01 16:20:45 +00:00
ceval.c gh-152315: Add a suggestion for missing self parameters (GH-152326) 2026-10-12 11:23:35 -04:00
ceval.h
ceval_gil.c gh-154757: Remove deprecated PyEval_InitThreads() function (#158037) 2026-09-24 10:47:59 +02:00
ceval_macros.h gh-129752: Don't update adaptive counters when TLBC=0 in free-threading. (gh-155497) 2026-08-13 00:12:39 +00:00
codecs.c gh-155742: Use PyBytesWriter in codecs (#155750) 2026-09-01 15:29:26 +02:00
codegen.c gh-153354: Fix bool conversion in generated __annotate__ (#153360) 2026-10-06 19:34:54 -07:00
compile.c gh-129724: Intern string constants in the compiler, not per code object (GH-159193) 2026-10-12 21:37:55 -07:00
condvar.h
config_common.h
context.c gh-155519: fix data-race for Context.ctx_vars (#155522) 2026-08-15 11:00:03 +05:30
critical_section.c
crossinterp.c
crossinterp_data_lookup.h
crossinterp_exceptions.h
dtoa.c gh-158446: Reject float format precision near INT_MAX (GH-158474) 2026-09-30 05:22:37 +00:00
dup2.c
dynamic_annotations.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c gh-152433: Windows: make `dynload_win.c` UWP compatible (#152797) 2026-09-11 15:35:34 +02:00
emscripten_signal.c
emscripten_syscalls.c gh-156780: Emscripten: add missing EM_JS_DEPS (#156798) 2026-09-08 15:26:48 +08:00
errors.c gh-158893: Add internal _Py_strerror() function (#158982) 2026-10-07 20:31:27 +00:00
executor_cases.c.h gh-142349: Simplify lazy import resolution (#158282) 2026-10-01 16:20:45 +00:00
fileutils.c gh-158893: Add internal _Py_strerror() function (#158982) 2026-10-07 20:31:27 +00:00
flowgraph.c gh-148817: Fold long lists/sets of constant elements into constant tuples/frozensets (#149016) 2026-08-16 15:38:53 +03:00
frame.c gh-144446: Fix thread safety of gi_frame, cr_frame and ag_frame in free-threading (#156037) 2026-09-02 23:26:04 +05:30
frozen.c gh-157361: Implement anext() in Python instead of C (#157362) 2026-09-16 18:58:59 +05:30
frozenmain.c
future.c gh-145868: Suggest names on typos in __future__ imports (#154347) 2026-09-24 16:29:48 +00:00
gc.c gh-159137: Untrack tuples and count survivors in move_unreachable() (#159154) 2026-10-11 16:01:50 +00:00
gc_free_threading.c gh-159137: Skip redundant GC resurrection analysis (#159138) 2026-10-10 22:46:49 +00:00
gc_gil.c
generated_cases.c.h gh-142349: Simplify lazy import resolution (#158282) 2026-10-01 16:20:45 +00:00
getargs.c gh-144175: Remove internal _PyArg_ParseStack() function (#159150) 2026-10-12 19:56:53 +02:00
getcompiler.c gh-158445: Allocate memory in the heap in Py_GetVersion() (#158608) 2026-10-03 15:15:08 +02:00
getcopyright.c
getopt.c Fix _PyOS_GetOpt() error message for non-ASCII characters (#158626) 2026-10-03 15:37:58 +02:00
getplatform.c
getversion.c gh-158445: Allocate memory in the heap in Py_GetVersion() (#158608) 2026-10-03 15:15:08 +02:00
hamt.c gh-155496: Use Argument Clinic for more functions and methods (GH-158134) 2026-09-27 19:00:22 +03:00
hashtable.c
import.c gh-157384: Set package context in PyImport_CreateModuleFromInitfunc() (GH-157387) 2026-10-13 13:35:19 +00:00
importdl.c
index_pool.c
initconfig.c Rework locale encoding C functions (#158680) 2026-10-04 23:22:18 +02:00
instruction_sequence.c
instrumentation.c Run a job that the test suite with MSan to the CI (#158625) 2026-10-05 02:11:42 +01:00
interpconfig.c
intrinsics.c gh-138912: Add fast path for match class patterns without sub-patterns (#144820) 2026-09-26 13:00:10 -07:00
jit.c
jit_publish.c
jit_unwind.c
legacy_tracing.c
lock.c gh-157914: Revert "gh-135871: Reload lock internal state while spinning in PyMutex_LockTimed (gh-146064)" (gh-158082) 2026-09-27 17:29:07 +00:00
marshal.c gh-129724: gh-156504: Make marshal output independent of reference counts (GH-159192) 2026-10-13 04:22:29 +00:00
modsupport.c
mysnprintf.c
mystrtoul.c
object_stack.c
opcode_targets.h
optimizer.c
optimizer_analysis.c gh-157833: Fix specialized C calls with additional method flags (GH-157834) 2026-09-30 14:37:24 +01:00
optimizer_bytecodes.c gh-157468: Validate correct builtins used under JIT (GH-157766) 2026-10-01 12:15:51 +01:00
optimizer_cases.c.h gh-142349: Simplify lazy import resolution (#158282) 2026-10-01 16:20:45 +00:00
optimizer_symbols.c gh-157468: Validate correct builtins used under JIT (GH-157766) 2026-10-01 12:15:51 +01:00
parking_lot.c
pathconfig.c gh-158001: Remove Py_SetProgramName() function (#158024) 2026-09-24 12:52:54 +02:00
perf_jit_trampoline.c gh-156114: Fix crash in perf trampoline with unencodable code names (#156300) 2026-09-18 17:04:21 -04:00
perf_trampoline.c gh-156114: Fix crash in perf trampoline with unencodable code names (#156300) 2026-09-18 17:04:21 -04:00
preconfig.c Cleanup Python/getopt.c: add _PyOS_GetOpt structure (#158362) 2026-10-01 14:58:55 +00:00
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c gh-158445: Allocate memory in the heap in Py_GetVersion() (#158608) 2026-10-03 15:15:08 +02:00
pymath.c
pystate.c gh-142349: Simplify lazy import resolution (#158282) 2026-10-01 16:20:45 +00:00
pystats.c
pystrcmp.c
pystrhex.c gh-155742: Use PyBytesWriter in _Py_strhex_impl() (#157734) 2026-09-18 14:09:09 +02:00
pystrtod.c gh-158446: Reject float format precision near INT_MAX (GH-158474) 2026-09-30 05:22:37 +00:00
Python-ast.c gh-157407: Fix a compilation error on Windows. (#158048) 2026-09-24 15:06:56 +09:00
Python-tokenize.c gh-153569: Simplify tokenizer source views and reader ownership (#158849) 2026-10-13 13:01:17 +00:00
pythonrun.c
pytime.c
qsbr.c
README
record_functions.c.h
remote_debug.h gh-156545, gh-158539: Fix deep flamegraph export on small C stacks and macOS runtime lookup (#158874) 2026-10-05 20:56:24 +01:00
remote_debugging.c
slots.c
slots.toml
slots_generated.c
specialize.c gh-157833: Fix specialized C calls with additional method flags (GH-157834) 2026-09-30 14:37:24 +01:00
stackrefs.c
stdlib_module_names.h gh-157361: Implement anext() in Python instead of C (#157362) 2026-09-16 18:58:59 +05:30
structmember.c
suggestions.c
symtable.c gh-124697: Represent inlined comprehensions as subscopes in the symbol table (#156819) 2026-09-23 20:31:57 +01:00
sysmodule.c gh-155496: Use Argument Clinic for more functions and methods (GH-158134) 2026-09-27 19:00:22 +03:00
thread.c
thread_nt.h
thread_pthread.h gh-157415: Fix data race in pthread wrapper (#157430) 2026-09-17 16:34:50 +02:00
thread_pthread_stubs.h
tier2_engine.md
traceback.c gh-151157: Speed up PyObject_CallMethod via _PyObject_GetMethod (#151158) 2026-10-05 18:44:28 +00:00
tracemalloc.c gh-155725: Remove PyGILState_Ensure usage from tracemalloc (#156409) 2026-08-30 13:04:55 +05:30
typecache.c
uniqueid.c
vm-state.md
wasm_trampoline.c gh-129040: Use wasm-gc to handle pointer casts in wasi (GH-158617) 2026-10-09 22:25:44 +00:00

Miscellaneous source files for the main Python shared library