[issue29857] Provide `sys.executable_argv` for host application's command line arguments

2020-06-08 Thread STINNER Victor


STINNER Victor  added the comment:

I mark this issue as a duplicate of bpo-23427 which has patch and is older.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Python should expose command when invoked with -c

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29857] Provide `sys.executable_argv` for host application's command line arguments

2017-03-22 Thread Nick Coghlan

Nick Coghlan added the comment:

OK, I've changed the proposed attribute name to be `sys.executable_argv`, with 
the rationale being that it's "argv as originally seen by sys.executable, 
rather than by Python's __main__ module"

As part of documenting this, both it and the `argv` documentation can make it 
clear that they may be entirely absent if the host application doesn't set them.

--
title: Provide `sys._raw_argv` for host application's command line arguments -> 
Provide `sys.executable_argv` for host application's command line arguments

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com