This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients docs@python, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2020-10-27.03:10:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603768218.48.0.91632488579.issue32122@roundup.psfhosted.org>
In-reply-to
Content
The -x command line option is now stored as PyConfig.skip_source_first_line, documented as:
"Skip the first line of the source?"
https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.skip_source_first_line

Include/cpython/initconfig.h contains a longer comment:

    /* Skip the first line of the source ('run_filename' parameter),
       allowing use of non-Unix forms of "#!cmd".
       This is intended for a DOS specific hack only.

       Set by the -x command line option. */
    int skip_source_first_line;
History
Date User Action Args
2020-10-27 03:10:18vstinnersetrecipients: + vstinner, paul.moore, tim.golden, docs@python, zach.ware, serhiy.storchaka, steve.dower
2020-10-27 03:10:18vstinnersetmessageid: <1603768218.48.0.91632488579.issue32122@roundup.psfhosted.org>
2020-10-27 03:10:18vstinnerlinkissue32122 messages
2020-10-27 03:10:18vstinnercreate