[Zope3-dev] ? vs $

Casey Duncan casey@zope.com
14 Jun 2002 16:13:58 -0400


On Fri, 2002-06-14 at 15:15, Guido van Rossum wrote:
> > 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.

I agree.
 
> > 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.

Allowing a / character in a path element, even by this backdoor method
like this one smells very funny. In fact I think it smells quite bad...

-Casey