cpython/Python
Victor Stinner 53b7d4e402
bpo-34170: Add _PyCoreConfig.bytes_warning (GH-8447)
Add more fields to _PyCoreConfig:

* _check_hash_pycs_mode
* bytes_warning
* debug
* inspect
* interactive
* legacy_windows_fs_encoding
* legacy_windows_stdio
* optimization_level
* quiet
* unbuffered_stdio
* user_site_directory
* verbose
* write_bytecode

Changes:

* Remove pymain_get_global_config() and pymain_set_global_config()
  which became useless. These functions have been replaced by
  _PyCoreConfig_GetGlobalConfig() and
  _PyCoreConfig_SetGlobalConfig().
* sys.flags.dont_write_bytecode value is now restricted to 1 even if
  -B option is specified multiple times on the command line.
* PyThreadState_Clear() now uses the config from the current
  interpreter rather than using global Py_VerboseFlag
2018-07-25 01:37:05 +02:00
..
clinic
_warnings.c bpo-33375: Fix GCC warning in Python/_warnings.c (GH-7556) 2018-06-09 10:09:45 -07:00
asdl.c
ast.c bpo-33691: Add _PyAST_GetDocString(). (GH-7236) 2018-05-30 10:56:16 +03:00
ast_opt.c bpo-33691: Add _PyAST_GetDocString(). (GH-7236) 2018-05-30 10:56:16 +03:00
ast_unparse.c bpo-33475: Fix and improve converting annotations to strings. (GH-6774) 2018-05-16 23:17:48 -04:00
bltinmodule.c bpo-34149: Behavior of the min/max with key=None (GH-8328) 2018-07-23 20:58:21 -07:00
bootstrap_hash.c bpo-33021: Release the GIL during fstat() calls (GH-6019) 2018-03-12 00:39:22 +01:00
ceval.c bpo-34190: Fix reference leak in call_function() (GH-8413) 2018-07-23 18:41:20 +02:00
ceval_gil.h
codecs.c bpo-33231: Fix potential leak in normalizestring() (GH-6386) 2018-04-06 15:51:24 +09:00
compile.c bpo-33691: Add _PyAST_GetDocString(). (GH-7236) 2018-05-30 10:56:16 +03:00
condvar.h
context.c bpo-33985: Implement ContextVar.name attribute. (GH-7980) 2018-06-28 13:20:29 -04:00
dtoa.c
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c bpo-33818: PyExceptionClass_Name() will now return "const char *". (GH-7581) 2018-06-15 11:09:43 +03:00
fileutils.c Spelling fixes to docs, docstrings, and comments (GH-6374) 2018-04-20 16:08:45 -04:00
formatter_unicode.c
frozen.c
frozenmain.c
future.c bpo-33691: Add _PyAST_GetDocString(). (GH-7236) 2018-05-30 10:56:16 +03:00
getargs.c bpo-34127: Fix grammar in error message with respect to argument count (GH-8395) 2018-07-22 13:13:26 -07:00
getcompiler.c
getcopyright.c
getopt.c
getplatform.c
getversion.c
graminit.c
hamt.c Fix GCC warning in Python/hamt.c (GH-7618) 2018-07-06 17:50:38 +09:00
import.c bpo-33443 Fix typo in Python/import.c (GH-6722) 2018-05-14 12:10:52 -07:00
importdl.c
importdl.h
importlib.h bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) 2018-05-29 12:04:55 +03:00
importlib_external.h bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. (GH-6834) 2018-06-16 14:40:56 +10:00
makeopcodetargets.py
marshal.c bpo-33720: Refactor marshalling/unmarshalling floats. (GH-8071) 2018-07-24 10:55:47 +03:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h bpo-33041: Rework compiling an "async for" loop. (#6142) 2018-03-23 14:34:35 +02:00
pathconfig.c bpo-34170: Add _PyCoreConfig.isolated (GH-8417) 2018-07-24 13:55:48 +02:00
peephole.c bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 2018-02-22 23:33:30 +02:00
pyarena.c
pyctype.c
pyfpe.c
pyhash.c bpo-31849: Fix warning in pyhash.c (GH-6799) 2018-06-04 19:57:08 +09:00
pylifecycle.c bpo-34170: Add _PyCoreConfig.isolated (GH-8417) 2018-07-24 13:55:48 +02:00
pymath.c
pystate.c bpo-34170: Add _PyCoreConfig.bytes_warning (GH-8447) 2018-07-25 01:37:05 +02:00
pystrcmp.c
pystrhex.c
pystrtod.c bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274) 2018-07-14 12:06:43 +09:00
Python-ast.c bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) 2018-05-31 07:34:34 +03:00
pythonrun.c bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262) 2018-07-23 23:41:11 +03:00
pytime.c
README
strdup.c
structmember.c
symtable.c bpo-32836: Remove obsolete code from symtable pass (GH-5680) 2018-02-27 07:31:20 +10:00
sysmodule.c bpo-22689: Copy the result of getenv() in sys_breakpointhook(). (GH-8194) 2018-07-09 21:46:51 +03:00
thread.c
thread_nt.h
thread_pthread.h
traceback.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
wordcode_helpers.h

Miscellaneous source files for the main Python shared library