0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 00:38:00 +01:00
cpython/Objects
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
..
clinic
stringlib
abstract.c
accu.c Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
boolobject.c
bytearrayobject.c Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 2017-11-11 13:06:26 +02:00
bytes_methods.c
bytesobject.c
call.c
capsule.c
cellobject.c
classobject.c Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 2017-11-11 13:06:26 +02:00
codeobject.c
complexobject.c bpo-31979: Simplify transforming decimals to ASCII (#4336) 2017-11-13 21:23:48 +02:00
descrobject.c
dict-common.h
dictnotes.txt
dictobject.c bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728) 2017-11-11 16:19:56 +02:00
enumobject.c
exceptions.c bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650) 2017-11-15 17:53:28 +02:00
fileobject.c
floatobject.c bpo-31979: Simplify transforming decimals to ASCII (#4336) 2017-11-13 21:23:48 +02:00
frameobject.c
funcobject.c
genobject.c Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 2017-11-11 13:06:26 +02:00
iterobject.c
listobject.c bpo-32030: Add more options to _PyCoreConfig (#4485) 2017-11-20 18:12:22 -08:00
listsort.txt
lnotab_notes.txt
longobject.c bpo-16055: Fixes incorrect error text for int('1', base=1000) (#4376) 2017-11-13 13:49:26 -08:00
memoryobject.c
methodobject.c
moduleobject.c
namespaceobject.c
object.c bpo-32030: Add more options to _PyCoreConfig (#4485) 2017-11-20 18:12:22 -08:00
obmalloc.c bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() (#4542) 2017-11-24 22:55:40 +01:00
odictobject.c bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728) 2017-11-11 16:19:56 +02:00
rangeobject.c
README
setobject.c
sliceobject.c
structseq.c
tupleobject.c bpo-32030: Add more options to _PyCoreConfig (#4485) 2017-11-20 18:12:22 -08:00
typeobject.c Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c bpo-31979: Remove unused align_maxchar() function (#4527) 2017-11-23 19:02:23 +01:00
unicodetype_db.h
weakrefobject.c

Source files for various builtin objects