[issue32122] Improve -x option documentation

2020-10-26 Thread STINNER Victor
STINNER Victor 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

[issue32122] Improve -x option documentation

2020-10-25 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +newcomer friendly versions: +Python 3.10 -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___

[issue32122] Improve -x option documentation

2017-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK this should work in Windows XP. And maybe even in Windows 2000. -- ___ Python tracker

[issue32122] Improve -x option documentation

2017-11-28 Thread Steve Dower
Steve Dower added the comment: Those examples look fine to me -- ___ Python tracker ___

[issue32122] Improve -x option documentation

2017-11-28 Thread STINNER Victor
STINNER Victor added the comment: I don't know if "@path\to\python -x %0 %* & exit /b" and "@py -3 -x %0 %* & exit /b" are correct and well supported on all recent Windows versions. Apart of that, I like your new documentation :-) -- nosy: +vstinner

[issue32122] Improve -x option documentation

2017-11-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The documentation of the -x option is virtually not existing. The current short line of the description was enough to me for understanding what is the purpose of this option and how it can be used (I didn't use Windows for