[Python-ideas] CLI option for isolated mode

Mark Hackett mark.hackett at metoffice.gov.uk
Fri Nov 9 17:33:54 CET 2012


On Friday 09 Nov 2012, Christian Heimes wrote:
> Am 09.11.2012 09:19, schrieb M.-A. Lemburg:
> > Sounds like a good idea. I'd be interested in this, because it would
> > make debugging user installation problems easier.
> >
> > The only thing I'm not sure about is the option character "-I". It
> > reminds me too much of the -I typically used for include paths
> > in C compilers :-)
> 
> I'm open to suggestions for a better name and character. Michael also
> pointed out that capital i (india) can look like a lower case l (lima).
> -R is still unused. I hesitate to call it restricted mode because it can
> be confused with PyPy's restricted Python.

Are you restricted to the restricted ASCII set?

-^

as an option? The caret isn't already taken on the command line like & or ;.

Mind you, it may be best to bite the bullet and go "No one character option". 
You only get 52 options there and every option wants to be "e" because e's are 
good (sorry, UK pop quiz pun there). You see it often enough. Since -h is 
taken for help, you need -x for hex. Picking a character from the long word 
only gets you so far.

Very few z's.

So why not just call it a day and use long case rather than contort the 
language like acronym writers.



More information about the Python-ideas mailing list