[Python-Dev] a feature i'd like to see in python #2: indexing of match objects
Fredrik Lundh
fredrik at pythonware.com
Mon Dec 4 07:38:36 CET 2006
Martin v. Löwis wrote:
>> it can quickly become rather confusing if you also interpret m[:] as
>> m.groups(), not to mention if you add len() and arbitrary slicing to
>> the mix. what about m[] and m[i,j,k], btw?
>
> I take it that you are objecting to that feature, then?
I haven't seen a complete and self-consistent proposal yet, so that's
not easy to say.
</F>
More information about the Python-Dev
mailing list