[issue29965] MatchObject __getitem__() should support slicing and len

Eric V. Smith report at bugs.python.org
Mon Apr 3 13:28:57 EDT 2017


Eric V. Smith added the comment:

Short of a compelling use case, I suggest we reject this enhancement request. len() was deliberately not added in #24454. It's not like any normal code would be iterating over match groups.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29965>
_______________________________________


More information about the Python-bugs-list mailing list