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 Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
asdl.py Add ast.Constant 2016-01-26 00:40:57 +01:00
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 Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
firstsets.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
grammar.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
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 Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
myreadline.c bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. (GH-7911) 2018-07-19 15:34:03 -07:00
node.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
parser.c Issue #26130: Remove redundant variable 's' from Parser/parser.c 2016-03-28 00:45:28 +03:00
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 Issue #10785: Store the filename as Unicode in the Python parser. 2011-04-05 00:39:01 +02:00
pgen.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
pgenmain.c bpo-34170: Add _PyCoreConfig.bytes_warning (GH-8447) 2018-07-25 01:37:05 +02:00
printgrammar.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
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 Patch #534304: Implement phase 1 of PEP 263. 2002-08-04 17:29:52 +00:00