Author eric.smith
Recipients barry, eric.smith, ezio.melotti, mrabarnett, rhettinger, serhiy.storchaka
Date 2015-06-15.13:50:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434376213.29.0.930620523236.issue24454@psf.upfronthosting.co.za>
In-reply-to
Content
I'd definitely be for mo['col']. I can't say I've ever used len(mo.groups()).

I do have lots of code like:
return mo.group('col'), mo.group('row'), mo.group('foo')

Using groupdict there is doable but not great. But:
return mo['col'], mo['row'], mo['foo']
would be a definite improvement.
History
Date User Action Args
2015-06-15 13:50:13eric.smithsetrecipients: + eric.smith, barry, rhettinger, ezio.melotti, mrabarnett, serhiy.storchaka
2015-06-15 13:50:13eric.smithsetmessageid: <1434376213.29.0.930620523236.issue24454@psf.upfronthosting.co.za>
2015-06-15 13:50:13eric.smithlinkissue24454 messages
2015-06-15 13:50:13eric.smithcreate