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