STINNER Victor <vstin...@python.org> added the comment:

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;

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32122>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to