[Python-Dev] Re: Decorators: vertical bar syntax
Fredrik Lundh
fredrik at pythonware.com
Tue Aug 10 09:34:08 CEST 2004
More information about the Python-Dev mailing list
Tue Aug 10 09:34:08 CEST 2004
- Previous message: [Python-Dev] Re: Decorators: vertical bar syntax
- Next message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
David Eppstein wrote: >> shouldn't a simple parenthesis counter suffice? you have to count >> parens in many cases anyway (e.g. to find function bodies). > > I think it would suffice (with some care to ignore parens in comments > and strings, and assuming there aren't any mismatches), but counting is > not something you can do in a regexp. no, but adding a single integer register to the scanning loop isn't that much work. </F>
- Previous message: [Python-Dev] Re: Decorators: vertical bar syntax
- Next message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list