[Python-3000] Unicode and OS strings

Guido van Rossum guido at python.org
Sat Sep 15 02:07:52 CEST 2007


On 9/14/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Guido van Rossum wrote:
> > Great idea, but sys.argv doesn't need to be magic for this approach to work.
>
> Are you sure? I thought part of the problem was that
> if an argv entry couldn't be decoded, you got an error
> too soon to do anything about it. Making sys.argv lazy
> would avoid that.

I see. But you could also insert '?'s into the argv string.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list