diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-01 12:10:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 12:10:14 (GMT) |
commit | 62be763348d16ba90f96667aa0240503261393f0 (patch) | |
tree | 10067e60b25d4187d417fd8ea24deb3b90740a12 /Lib | |
parent | dfe884759d1f4441c889695f8985bc9feb9f37eb (diff) | |
download | cpython-62be763348d16ba90f96667aa0240503261393f0.zip cpython-62be763348d16ba90f96667aa0240503261393f0.tar.gz cpython-62be763348d16ba90f96667aa0240503261393f0.tar.bz2 |
bpo-36142: Remove _PyMain structure (GH-12120)
* Move fields from _PyMain to _PyCoreConfig:
* skip_first_line
* run_command
* run_module
* run_filename
* Replace _PyMain.stdin_is_interactive with a new
stdin_is_interactive(config) function
* Rename _PyMain to _PyArgv. Add "const _PyArgv *args" field
to _PyCmdline.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_embed.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index d35b9f4..6c245eb 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -322,6 +322,11 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'stdio_encoding': GET_DEFAULT_CONFIG, 'stdio_errors': GET_DEFAULT_CONFIG, + 'skip_source_first_line': 0, + 'run_command': None, + 'run_module': None, + 'run_filename': None, + '_install_importlib': 1, '_check_hash_pycs_mode': 'default', '_frozen': 0, |