summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-23 18:16:56 (GMT)
committerGitHub <noreply@github.com>2020-12-23 18:16:56 (GMT)
commita12491681f08a33abcca843f5150330740c91111 (patch)
tree0548d800982a420ed2804834b827c443cdcf5d05 /Python/initconfig.c
parent41b223d29cdfeb1f222c12c3abaccc3bc128f5e7 (diff)
downloadcpython-a12491681f08a33abcca843f5150330740c91111.zip
cpython-a12491681f08a33abcca843f5150330740c91111.tar.gz
cpython-a12491681f08a33abcca843f5150330740c91111.tar.bz2
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 'Python/initconfig.c')
0 files changed, 0 insertions, 0 deletions