cpython/Include
Victor Stinner 46972b7bc3
bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() (#4542)
Py_GetPath() and Py_Main() now call
_PyMainInterpreterConfig_ReadEnv() to share the same code to get
environment variables.

Changes:

* Add _PyMainInterpreterConfig_ReadEnv()
* Add _PyMainInterpreterConfig_Clear()
* Add _PyMem_RawWcsdup()
* _PyMainInterpreterConfig: rename pythonhome to home
* Rename _Py_ReadMainInterpreterConfig() to
  _PyMainInterpreterConfig_Read()
* Use _Py_INIT_USER_ERR(), instead of _Py_INIT_ERR(), for decoding
  errors: the user is able to fix the issue, it's not a bug in
  Python. Same change was made in _Py_INIT_NO_MEMORY().
* Remove _Py_GetPythonHomeWithConfig()
2017-11-24 22:55:40 +01:00
..
internal bpo-32096: Remove obj and mem from _PyRuntime (#4532) 2017-11-24 12:09:24 +01:00
abstract.h Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
accu.h
asdl.h
ast.h
bitset.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytes_methods.h
bytesobject.h
cellobject.h
ceval.h bpo-31857: Make the behavior of USE_STACKCHECK deterministic (#4098) 2017-10-25 23:03:01 -07:00
classobject.h
code.h
codecs.h
compile.h bpo-22257: Small changes for PEP 432. (#1728) 2017-05-22 21:36:03 -07:00
complexobject.h
datetime.h
descrobject.h
dictobject.h
dtoa.h
dynamic_annotations.h
enumobject.h
errcode.h
eval.h
fileobject.h bpo-30946: Remove obsolete fallback code in readline module (#2738) 2017-07-18 17:05:03 +02:00
fileutils.h
floatobject.h
frameobject.h Move exc state to generator. Fixes bpo-25612 (#1773) 2017-10-22 23:41:51 +02:00
funcobject.h
genobject.h Move exc state to generator. Fixes bpo-25612 (#1773) 2017-10-22 23:41:51 +02:00
graminit.h bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00
grammar.h
import.h bpo-32030: Split Py_Main() into subfunctions (#4399) 2017-11-15 15:48:08 -08:00
intrcheck.h bpo-16500: Allow registering at-fork handlers (#1715) 2017-05-27 17:50:54 +02:00
iterobject.h
listobject.h
longintrepr.h
longobject.h
marshal.h
memoryobject.h
metagrammar.h
methodobject.h bpo-31890: define METH_STACKLESS (#4159) 2017-11-02 15:54:57 -07:00
modsupport.h bpo-28411: Isolate PyInterpreterState.modules (#3575) 2017-09-14 12:18:12 -06:00
moduleobject.h
namespaceobject.h
node.h
object.h bpo-32030: Add more options to _PyCoreConfig (#4485) 2017-11-20 18:12:22 -08:00
objimpl.h
odictobject.h
opcode.h
osdefs.h
osmodule.h
parsetok.h
patchlevel.h post 3.7.0a2 development 2017-10-17 02:10:44 -04:00
pgen.h
pgenheaders.h
py_curses.h bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164) 2017-11-01 14:05:26 +02:00
pyarena.h
pyatomic.h bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
pycapsule.h
pyctype.h
pydebug.h bpo-32125: Remove Py_UseClassExceptionsFlag flag (#4544) 2017-11-24 22:06:38 +01:00
pydtrace.d bpo-31574: importlib dtrace (#3749) 2017-09-29 15:53:19 -07:00
pydtrace.h bpo-31574: importlib dtrace (#3749) 2017-09-29 15:53:19 -07:00
pyerrors.h bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) 2017-10-26 15:09:06 +02:00
pyexpat.h
pyfpe.h
pygetopt.h
pyhash.h Correct the location of a function mentioned in a comment (GH-4327) 2017-11-09 19:55:34 +03:00
pylifecycle.h bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() (#4542) 2017-11-24 22:55:40 +01:00
pymacconfig.h
pymacro.h bpo-31338 (#3374) 2017-09-14 18:13:16 -07:00
pymath.h bpo-31373: fix undefined floating-point demotions (#3396) 2017-09-07 11:13:59 -07:00
pymem.h bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() (#4542) 2017-11-24 22:55:40 +01:00
pyport.h bpo-29040: Support building Android with Unified Headers (GH-4492) 2017-11-23 11:44:38 +01:00
pystate.h bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() (#4542) 2017-11-24 22:55:40 +01:00
pystrcmp.h
pystrhex.h
pystrtod.h
Python-ast.h bpo-31464: asdl_c.py no longer emits trailing spaces in Python-ast.h. (#3568) 2017-09-14 20:28:22 -07:00
Python.h bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
pythonrun.h bpo-22257: Small changes for PEP 432. (#1728) 2017-05-22 21:36:03 -07:00
pythread.h bpo-30768: Recompute timeout on interrupted lock (GH-4103) 2017-10-24 16:53:32 -07:00
pytime.h bpo-31784: Implement PEP 564: add time.time_ns() (#3989) 2017-11-02 07:28:27 -07:00
rangeobject.h
setobject.h
sliceobject.h
structmember.h
structseq.h
symtable.h
sysmodule.h bpo-32030: Split Py_Main() into subfunctions (#4399) 2017-11-15 15:48:08 -08:00
token.h bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00
traceback.h
tupleobject.h
typeslots.h
ucnhash.h
unicodeobject.h bpo-31979: Simplify transforming decimals to ASCII (#4336) 2017-11-13 21:23:48 +02:00
warnings.h bpo-32030: Add _PyMainInterpreterConfig.pythonhome (#4513) 2017-11-23 10:43:14 +01:00
weakrefobject.h