[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 23:17:30 CET 2006


Fredrik Lundh schrieb:

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?

Regards, Martin



More information about the Python-Dev mailing list