[Python-Dev] Handling of sys.args (Re: User's complaints)
Nick Maclaren
nmm1 at cus.cam.ac.uk
Thu Jul 13 21:55:37 CEST 2006
On systems that are not Unix-derived (which, nowadays, are rare),
there is commonly no such thing as a program name in the first place.
It is possible to get into that state on some Unices - i.e. ones which
have a form of exec that takes a file descriptor, inode number or
whatever.
This is another argument for separating off argv[0] and allowing the
program name to be None if there IS no program name.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1 at cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
More information about the Python-Dev
mailing list