cpython/Python
Victor Stinner a82f63f5af
bpo-32381: Add _PyRun_AnyFileObject() (GH-23723)
pymain_run_file() no longer encodes the filename: pass the filename
as an object to the new _PyRun_AnyFileObject() function.

Add new private functions:

* _PyRun_AnyFileObject()
* _PyRun_InteractiveLoopObject()
* _Py_FdIsInteractive()
2020-12-09 22:37:27 +01:00
..
clinic
_warnings.c bpo-1635741: Port _warnings to the multi-phase init (GH-23379) 2020-11-19 00:19:06 +01:00
asdl.c
ast.c
ast_opt.c bpo-42282: Fold constants inside named expressions (GH-23190) 2020-11-07 22:35:17 +10:00
ast_unparse.c
bltinmodule.c bpo-42536: GC track recycled tuples (GH-23623) 2020-12-04 19:45:57 -08:00
bootstrap_hash.c bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) 2020-11-08 10:05:27 +01:00
ceval.c bpo-42500: Fix recursion in or after except (GH-23568) 2020-12-02 13:30:55 +00:00
ceval_gil.h
codecs.c
compile.c bpo-42246: Don't forget the entry block when ensuring that all exits have a line number (GH-23636) 2020-12-04 15:22:12 +00:00
condvar.h
context.c bpo-1635741: _contextvars uses PyModule_AddType() (GH-23147) 2020-11-04 16:33:55 +01:00
dtoa.c
dup2.c
dynamic_annotations.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c bpo-32381: Rewrite PyErr_ProgramText() (GH-23700) 2020-12-08 23:51:26 +01:00
fileutils.c bpo-32381: Remove unused _Py_fopen() function (GH-23711) 2020-12-09 20:54:31 +01:00
formatter_unicode.c
frozen.c
frozenmain.c
future.c
getargs.c bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 2020-12-01 09:56:42 +01:00
getcompiler.c
getcopyright.c
getopt.c
getplatform.c
getversion.c
hamt.c
hashtable.c
import.c bpo-1635741: Convert _imp to multi-phase init (GH-23378) 2020-11-18 23:18:29 +01:00
importdl.c bpo-1635741: Fix ref leak in _PyWarnings_Init() error path (GH-23151) 2020-11-04 17:33:06 +01:00
importdl.h
importlib.h bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
importlib_external.h bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
importlib_zipimport.h bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
initconfig.c bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607) 2020-12-02 17:56:17 +00:00
makeopcodetargets.py
marshal.c bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 2020-12-01 09:56:42 +01:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h
pathconfig.c bpo-42260: Fix _PyConfig_Read() if compute_path_config=0 (GH-23220) 2020-11-10 21:10:22 +01:00
preconfig.c
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c bpo-32381: Add _PyRun_AnyFileObject() (GH-23723) 2020-12-09 22:37:27 +01:00
pymath.c
pystate.c bpo-42500: Fix recursion in or after except (GH-23568) 2020-12-02 13:30:55 +00:00
pystrcmp.c
pystrhex.c
pystrtod.c bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 2020-12-01 09:56:42 +01:00
Python-ast.c bpo-1635741: _ast uses PyModule_AddObjectRef() (GH-23146) 2020-11-04 16:37:07 +01:00
pythonrun.c bpo-32381: Add _PyRun_AnyFileObject() (GH-23723) 2020-12-09 22:37:27 +01:00
pytime.c bpo-37205: time.time() cannot fail with fatal error (GH-23314) 2020-11-16 16:08:05 +01:00
README
structmember.c
symtable.c bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
sysmodule.c bpo-42500: Fix recursion in or after except (GH-23568) 2020-12-02 13:30:55 +00:00
thread.c
thread_nt.h
thread_pthread.h
traceback.c bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 2020-12-01 09:56:42 +01:00
wordcode_helpers.h

Miscellaneous source files for the main Python shared library