Skip to content
Branch: master
Find file History
vstinner bpo-38858: Small integer per interpreter (GH-17315)
Each Python subinterpreter now has its own "small integer
singletons": numbers in [-5; 257] range.

It is no longer possible to change the number of small integers at
build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros:
macros should now be modified manually in pycore_pystate.h header
file.

For now, continue to share _PyLong_Zero and _PyLong_One singletons
between all subinterpreters.
Latest commit 630c8df Dec 17, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
clinic Shorter docstring (GH-16322) Sep 21, 2019
Python-ast.c closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002) Oct 31, 2019
README Issue #18093: Factor out the programs that embed the runtime Jul 25, 2014
_warnings.c bpo-38644: Add _PyObject_Call() (GH-17089) Nov 14, 2019
asdl.c replace PY_SIZE_MAX with SIZE_MAX Sep 7, 2016
ast.c The comment in ast_for_namedexpr shouldn't include if_stmt (GH-17586) Dec 15, 2019
ast_opt.c bpo-33416: Add end positions to Python AST (GH-11605) Jan 22, 2019
ast_unparse.c bpo-37050: Remove expr_text from FormattedValue ast node, use Constan… May 27, 2019
bltinmodule.c bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231 Nov 20, 2019
bootstrap_hash.c Fix typos in comments, docs and test names (#15018) Jul 30, 2019
ceval.c Produce cleaner bytecode for 'with' and 'async with' by generating se… Nov 21, 2019
ceval_gil.h Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendi… Jun 3, 2019
codecs.c bpo-37751: Fix codecs.lookup() normalization (GH-15092) Aug 21, 2019
compile.c bpo-38328: Speed up the creation time of constant list and set displa… Nov 26, 2019
condvar.h Typo fix: "throuhgh" should be "through". (GH-16704) Oct 11, 2019
context.c bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497) Dec 8, 2019
dtoa.c bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) Mar 13, 2019
dup2.c bpo-32150: Expand tabs to spaces in C files. (#4583) Nov 28, 2017
dynamic_annotations.c bpo-32241: Add the const qualifire to declarations of umodifiable str… Dec 12, 2017
dynload_aix.c bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095) Sep 10, 2019
dynload_dl.c Issue #24268: Fix import naming when loading extension modules. Patch… May 23, 2015
dynload_hpux.c bpo-36900: Fix compilation on HP-UX (GH-13614) May 28, 2019
dynload_shlib.c bpo-36722: Debug build loads libraries built in release mode (GH-12952) Apr 25, 2019
dynload_stub.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. May 4, 2012
dynload_win.c bpo-36266: Add module name in ImportError when DLL not found on Windo… Aug 17, 2019
errors.c bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable… Nov 28, 2019
fileutils.c bpo-38353: Add subfunctions to getpath.c (GH-16572) Oct 4, 2019
formatter_unicode.c Fix typo in formatter_unicode (GH-16831) Oct 25, 2019
frozen.c bpo-36540: PEP 570 -- Implementation (GH-12701) Apr 29, 2019
frozenmain.c bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) Oct 1, 2019
future.c bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh… Sep 24, 2018
getargs.c bpo-38540: Fix possible leak in PyArg_Parse for "es#" and "et#". (GH-… Oct 21, 2019
getcompiler.c closes bpo-31696: don't mention GCC in sys.version when building with… Oct 6, 2017
getcopyright.c Bump copyright years to 2019. (GH-11404) Jan 2, 2019
getopt.c Delete stale comment in Python/getopt.c. (GH-14719) Aug 20, 2019
getplatform.c bpo-32150: Expand tabs to spaces in C files. (#4583) Nov 28, 2017
getversion.c bpo-32150: Expand tabs to spaces in C files. (#4583) Nov 28, 2017
graminit.c bpo-11410: Standardize and use symbol visibility attributes across PO… Oct 15, 2019
hamt.c Typo fix - implemention should be implementation (GH-16806) Oct 15, 2019
import.c bpo-38858: new_interpreter() reuses pycore_init_builtins() (GH-17351) Nov 22, 2019
importdl.c bpo-36842: Implement PEP 578 (GH-12613) May 23, 2019
importdl.h PEP 489: Multi-phase extension module initialization May 23, 2015
importlib.h Produce cleaner bytecode for 'with' and 'async with' by generating se… Nov 21, 2019
importlib_external.h Produce cleaner bytecode for 'with' and 'async with' by generating se… Nov 21, 2019
importlib_zipimport.h bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) Dec 15, 2019
initconfig.c Add PYTHONUTF8 to commandline usage. (GH-17587) Dec 14, 2019
makeopcodetargets.py makeopcodetargets.py: we need to import Lib/opcode.py Mar 26, 2016
marshal.c bpo-38823: Fix refleak in marshal init error path (GH-17260) Nov 20, 2019
modsupport.c bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473) Mar 23, 2019
mysnprintf.c Recorded merge of revisions 81032 via svnmerge from May 9, 2010
mystrtoul.c bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095) Sep 10, 2019
opcode_targets.h Produce cleaner bytecode for 'with' and 'async with' by generating se… Nov 21, 2019
pathconfig.c bpo-38353: getpath.c: allocates strings on the heap (GH-16585) Oct 4, 2019
peephole.c Produce cleaner bytecode for 'with' and 'async with' by generating se… Nov 21, 2019
preconfig.c bpo-38304: Remove PyConfig.struct_size (GH-16500) (GH-16508) Oct 1, 2019
pyarena.c bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) Mar 13, 2019
pyctype.c Include files missed in r72044. Apr 27, 2009
pyfpe.c bpo-29137: Remove fpectl module (#4789) Jan 6, 2018
pyhash.c bpo-31849: Fix warning in pyhash.c (GH-6799) Jun 4, 2018
pylifecycle.c bpo-38858: Small integer per interpreter (GH-17315) Dec 17, 2019
pymath.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) Nov 13, 2018
pystate.c bpo-38858: _PyImport_FixupExtensionObject() handles subinterpreters (G… Nov 22, 2019
pystrcmp.c Recorded merge of revisions 81032 via svnmerge from May 9, 2010
pystrhex.c Fix unused variable and signed/unsigned warnings (GH-15537) Aug 27, 2019
pystrtod.c bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231 Nov 20, 2019
pythonrun.c bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable… Nov 28, 2019
pytime.c bpo-38068: Clean up gettimeofday configure logic. (GH-15775) Sep 10, 2019
strdup.c bpo-36623: Clean parser headers and include files (GH-12253) Apr 13, 2019
structmember.c Added the const qualifier to char* variables that refer to readonly i… Nov 20, 2016
symtable.c bpo-38469: Handle named expression scope with global/nonlocal keywords ( Oct 14, 2019
sysmodule.c bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than rai… Dec 9, 2019
thread.c bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895 Sep 11, 2019
thread_nt.h bpo-36084: Add native thread ID (TID) to threading.Thread (GH-13463) May 22, 2019
thread_pthread.h bpo-38852: Set thread stack size to 8 Mb for debug builds on android … Dec 8, 2019
traceback.c bpo-38070: _Py_DumpTraceback() writes <no Python frame> (GH-16244) Sep 17, 2019
wordcode_helpers.h bpo-31338 (#3374) Sep 15, 2017

README

Miscellaneous source files for the main Python shared library
You can’t perform that action at this time.