[Python-Dev] a feature i'd like to see in python #2: indexing of match objects (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sun Dec 3 17:10:08 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 ]
Barry Warsaw schrieb:
Several issues need to be taken into account: - documentation and test cases must be updated to integrate the new API - for slicing, you need to consider not only omitted indices, but also "true" slices (e.g. m[1:5]) - how should you deal with negative indices? - should len(m) be supported? what about m['namedgroup1'] etc?
That should also be taken into consideration; I suggest to support it.
Regards, Martin
- 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 ]