commit | a12491681f08a33abcca843f5150330740c91111 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Dec 23 19:16:56 2020 +0100 |
committer | GitHub <noreply@github.com> | Wed Dec 23 19:16:56 2020 +0100 |
tree | 0548d800982a420ed2804834b827c443cdcf5d05 | |
parent | 41b223d29cdfeb1f222c12c3abaccc3bc128f5e7 [diff] |
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.