On 9/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> argc/argv does not exist on Windows (that you seem to see it
> anyway is an illusion), and if it did exist, it would be characters,
> not bytes.

Of course it exists on Windows.  argc/argv are defined by the C
standard, and say what you will about Windows, but it has a conforming
implementation.  argv exists on Windows exactly the way the C standard
requires it - as an array of null terminated "strings".  It's left as
an exercise to people with more time than I to argue about the
definition of the term 'string' in the C standard (since the standard
itself is silent on the issue).

For what it's worth, the *Python* documentation does NOT guarantee
that the items in sys.argv will be strings.

--
Nick
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to