On Tue, Oct 14, 2008 at 4:15 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Frédéric wrote:
>>
>> In several places, instead of having my application name, I get '-c'.
>
> This could be a result of the app having got launched
> via 'python -c' somewhere along the way:
>
> % python -c 'import sys; print sys.argv[0]'
> -c
>
> Not sure whether to regard this as a bug or not. It's
> not clear what the app name *should* be when you use
> -c. What do the python-dev folks think?

It is a feature. I chose to set it to '-c' because there is no other
appropriate string to use.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
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