[Zope3-dev] ? vs $

Guido van Rossum guido@python.org
Fri, 14 Jun 2002 15:15:16 -0400


> Suppose the value of bar is "baz/splat". I might
> expect:
> 
>   foo/$bar 
> 
> to be equivalent to:
> 
>   foo/baz/splat

That's what I think it should do.

> but part of the value of foo/?bar is that it 
> allows you to use '/' in a name.

Do you *really* want to have an escape to include a / in a pathname
component?  That sounds like an invitation for obfuscation.

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