cpython/Python
Victor Stinner 9bee329130
bpo-32030: Add _Py_FindEnvConfigValue() (#4963)
Add a new _Py_FindEnvConfigValue() function: code shared between
Windows and Unix implementations of _PyPathConfig_Calculate() to read
the pyenv.cfg file.

_Py_FindEnvConfigValue() now uses _Py_DecodeUTF8_surrogateescape()
instead of using a Python Unicode string, the Python API must not be
used early during Python initialization. Same change in Unix
search_for_exec_prefix(): use _Py_DecodeUTF8_surrogateescape().

Cleanup also encode_current_locale(): PyMem_RawFree/PyMem_Free can be
called with NULL.

Fix also "NUL byte" => "NULL byte" typo.
2017-12-21 16:49:13 +01:00
..
clinic bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
_warnings.c bpo-32030: Fix compiler warnings (#4921) 2017-12-19 11:35:58 +01:00
asdl.c
ast.c Don't hide unexpected errors in PyErr_WarnExplicitObject(). (#4585) 2017-12-01 08:40:23 +02:00
ast_opt.c bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
bltinmodule.c bpo-29240, bpo-32030: Py_Main() re-reads config if encoding changes (#4899) 2017-12-16 04:54:22 +01:00
bootstrap_hash.c bpo-32329: Fix -R option for hash randomization (#4873) 2017-12-15 00:51:22 +01:00
ceval.c bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
ceval_gil.h
codecs.c
compile.c bpo-32365: Fix a reference leak when compile __debug__. (#4916) 2017-12-18 14:29:12 +02:00
condvar.h
dtoa.c
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
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c
fileutils.c bpo-32030: Add _Py_FindEnvConfigValue() (#4963) 2017-12-21 16:49:13 +01:00
formatter_unicode.c
frozen.c
frozenmain.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
future.c
getargs.c bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
getcompiler.c
getcopyright.c
getopt.c move pygetopt.h to internal (closes bpo-32264) (#4830) 2017-12-14 23:48:12 -08: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
import.c fix up signedness in PyImport_ExtendInittab (#4831) 2017-12-15 23:42:33 -08:00
importdl.c
importdl.h
importlib.h bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866) 2017-12-14 20:24:31 +02:00
importlib_external.h bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866) 2017-12-14 20:24:31 +02:00
makeopcodetargets.py
marshal.c bpo-32011: Revert "Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal." (#4381) 2017-11-15 17:41:05 +02:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h
pathconfig.c bpo-32030: Add _Py_FindEnvConfigValue() (#4963) 2017-12-21 16:49:13 +01:00
peephole.c bpo-29469: peephole: Remove const_stack (GH-4879) 2017-12-18 15:52:54 +09:00
pyarena.c
pyctype.c
pyfpe.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
pyhash.c byte swap the raw hash secrets (more bpo-32260) (#4773) 2017-12-09 13:11:39 -08:00
pylifecycle.c bpo-32030: Fix usage of memory allocators (#4953) 2017-12-20 23:41:38 +01:00
pymath.c
pystate.c bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
pystrcmp.c
pystrhex.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
pystrtod.c
Python-ast.c
pythonrun.c closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
pytime.c
README
strdup.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
structmember.c
symtable.c bpo-10544: Deprecate "yield" in comprehensions and generator expressions. (GH-4579) 2017-12-01 14:54:17 +10:00
sysmodule.c bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
thread.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
thread_nt.h
thread_pthread.h
traceback.c bpo-31949: Fixed several issues in printing tracebacks (PyTraceBack_Print()). (#4289) 2017-11-15 17:38:52 +02:00
wordcode_helpers.h

Miscellaneous source files for the main Python shared library