On 17 February 2016 at 15:42, Gregory P. Smith <g...@krypto.org> wrote:

> sys.argv represents the C main() argv array. Your inclination (in the
> linked to bug above) to leave sys.argv[0] alone is a good one.
>

No, it doesn't - it represents the state of argv *after* CPython's main
function is done processing arguments (that's why we have a longstanding
RFE requesting the availability of sys.raw_argv)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to