[Python-Dev] a feature i'd like to see in python #2: indexing of match objects (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Sun Dec 3 15:34:11 CET 2006
- Previous message: [Python-Dev] a feature i'd like to see in python #2: indexing of match objects
- Next message: [Python-Dev] a feature i'd like to see in python #2: indexing of match objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin v. Löwis wrote:
Several issues need to be taken into account:
the most important issue is that if you want an object to behave as a sequence of something, you need to decide what that something is before you start tinkering with the syntax.
under Ben's simple proposal, m[:][1] and m[1] would be two different things. I'm not sure that's a good idea, really.
- Previous message: [Python-Dev] a feature i'd like to see in python #2: indexing of match objects
- Next message: [Python-Dev] a feature i'd like to see in python #2: indexing of match objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]