Serhiy Storchaka added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19536>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to