[ZPT] 1.3.0 issues with trailing '/'

Guido van Rossum guido@digicool.com
Wed, 23 May 2001 10:39:28 -0400


> > Can we review this rejection?  I don't recall an argument for
> > rejecting the feature, just lack of interest.  But the example above
> > shows a perfect use case for it, doesn't it?
> 
> There was one +1, four 0, and four -1 (and one ???) on this, with comments
> on the -1's along the lines of "it would be too easy to overlook the slash".
> I noticed in Steve's original example that he put trailing slashes on *all*
> of his paths, and I suspect that he didn't intend to "nocall" all of them.
> Using "nocall" when you don't mean it can be hard to debug, and Zope has a
> long (but possibly bogus) tradition of ignoring trailing slashes in URLs.
> 
> I agree that it's painful to have to deal with attr vs. item access in order
> to perform a nocall lookup, but I think that we need to invent a much more
> noticeable spelling.

OK, I can buy that.

So does anyone here have a cool proposal for how to spell nocall?  I
guess nocall:<path> isn't so bad.

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