cpython/Parser
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
..
Python.asdl bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) 2018-05-29 12:04:55 +03:00
acceler.c
asdl.py
asdl_c.py bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) 2018-05-31 07:34:34 +03:00
bitset.c
firstsets.c
grammar.c
grammar1.c bpo-31338 (#3374) 2017-09-14 18:13:16 -07:00
listnode.c Use NULL rather than 0. (#778) 2017-03-23 17:53:47 +02:00
metagrammar.c
myreadline.c bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. (GH-7911) 2018-07-19 15:34:03 -07:00
node.c
parser.c
parser.h bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
parsetok.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
parsetok_pgen.c
pgen.c
pgenmain.c bpo-34170: Add _PyCoreConfig.bytes_warning (GH-8447) 2018-07-25 01:37:05 +02:00
printgrammar.c
tokenizer.c Fix Windows compiler warning in tokenize.c (GH-8359) 2018-07-21 03:36:06 +02:00
tokenizer.h tokenizer: Remove unused tabs options (#4422) 2017-11-17 01:25:47 -08:00
tokenizer_pgen.c