Message202488
We discussed this recently on #python-dev, and I don't think that it's worth to add indexing to match object. It will be confused that len(match) != len(match.groups()). I don't know any use case for indexing, it doesn't add anything new except yet one way to access a group. This feature not only increases maintaining complexity, but it also increases a number of things which should learn and remember Python programmer. |
|
Date |
User |
Action |
Args |
2013-11-09 17:02:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, christian.heimes, ezio.melotti, mrabarnett, brandon-rhodes |
2013-11-09 17:02:41 | serhiy.storchaka | set | messageid: <1384016561.93.0.302934554696.issue19536@psf.upfronthosting.co.za> |
2013-11-09 17:02:41 | serhiy.storchaka | link | issue19536 messages |
2013-11-09 17:02:41 | serhiy.storchaka | create | |
|