On Sun, Oct 23, 2011 at 20:58, Mark Hammond <mhamm...@skippinet.com.au> wrote:
> On 24/10/2011 12:56 PM, Michael Urman wrote:
>>
>> On Sun, Oct 23, 2011 at 17:15, Mark Hammond<skippy.hamm...@gmail.com>
>>  wrote:
>>>
>>> How about abusing the existing flags for this purpose - eg:
>>>
>>> % py -3?
>>> % py -2.7?
>>
>> I would have expected that to launch an interactive python shell of
>> the appropriate version. Does it do something else today?
>
> That is what it does today without the trailing '?' character.  My idea was
> to allow the trailing '?' to behave like the proposed --which.

Oh, I read right over question mark without seeing it. I wonder if
that's a notch against it from a documentation standpoint or just my
own personal quirk. (I'm not used to thinking of it as a command line
flag, partly due to my unix years.) Thanks for explaining!
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to