bpo-36142: Remove _PyMain structure by vstinner · Pull Request #12120 · python/cpython
Conversation
-
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.
* 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters