[Python-Dev] Re: Decorators: vertical bar syntax

Fredrik Lundh fredrik at pythonware.com
Tue Aug 10 08:42:25 CEST 2004


David Eppstein wrote:

> I think quoted string recognition in Python is still regular, not
> context-free.  Anyway, the syntax highlighters in editors that I've used
> don't seem to have a problem with it.

shouldn't a simple parenthesis counter suffice?  you have to count
parens in many cases anyway (e.g. to find function bodies).

</F> 





More information about the Python-Dev mailing list