diff options
author | Victor Stinner <vstinner@python.org> | 2020-12-23 19:16:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 19:16:56 +0100 |
commit | a12491681f08a33abcca843f5150330740c91111 (patch) | |
tree | 0548d800982a420ed2804834b827c443cdcf5d05 /Lib/inspect.py | |
parent | 41b223d29cdfeb1f222c12c3abaccc3bc128f5e7 (diff) | |
download | cpython-git-a12491681f08a33abcca843f5150330740c91111.tar.gz |
bpo-32381: pymain_run_command() uses PyCF_IGNORE_COOKIE (GH-23724)
The coding cookie (ex: "# coding: latin1") is now ignored in the
command passed to the -c command line option.
Since pymain_run_command() uses UTF-8, pass PyCF_IGNORE_COOKIE
compiler flag to the parser.
pymain_run_python() no longer propages compiler flags between
function calls.
Diffstat (limited to 'Lib/inspect.py')
0 files changed, 0 insertions, 0 deletions