(original) (raw)

On 17 February 2016 at 15:42, Gregory P. Smith <greg@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 | ncoghlan@gmail.com | Brisbane, Australia