durusmail: quixote-users: Illegal Python Names cookbook recipe
Illegal Python Names cookbook recipe
2004-04-05
2004-04-05
2004-04-05
Bug fixes (was: Illegal Python Names cookbook recipe)
2004-04-07
2004-04-07
Bug fixes (was: Illegal Python Names cookbookrecipe)
2004-04-07
Patches for .7a3
2004-04-07
Re: Patches for .7a3
2004-04-08
StaticFile is broken (Quixote-0.7a3, scgi-1.2a2, Apache/1.3.27, FreeBSD 4.7)
2004-04-08
Re: Patches for .7a3
2004-04-21
2004-04-21
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
Re: Illegal Python Names cookbook recipe
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-08
2004-04-07
2004-04-07
2004-04-07
2004-04-06
2004-04-05
2004-04-05
2004-04-05
Re: R: [Quixote-users] Illegal Python Names cookbook recipe
2004-04-06
Illegal Python Names cookbook recipe
A.M. Kuchling
2004-04-06
On Tue, Apr 06, 2004 at 04:04:13PM -0400, Kendall Clark wrote:
> What about URL bits that begin with a numeral? Or contain other
> characters that aren't legal in Py identifiers?

Can you motivate these use cases by examples?  Offhand I can't think of
cases where I want to accept '$' or '^' in a URL, or where a fixed set of
numerals would be used.  I can imagine using /thing/subthings/1, /2, /3, ...
but usually there wouldn't be a fixed limit on the integer values, and
_q_lookup is therefore quite natural.

One use I can imagine is having to exactly replicate some URL layout that
uses special characters, but that probably isn't your situation.  So what
are you trying to do?

--amk


reply