Author jdemeyer
Recipients ezio.melotti, jdemeyer, mrabarnett
Date 2016-06-01.14:20:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464790808.77.0.698310162067.issue27177@psf.upfronthosting.co.za>
In-reply-to
Content
```
>>> class zero(object):
...     def __index__(self):
...         return 0
... 
>>> z = zero()
>>> import re
>>> p = re.compile('(a)b')
>>> m = p.match('ab')
>>> m.group(0)
'ab'
>>> m.group(z)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: no such group
```
History
Date User Action Args
2016-06-01 14:20:08jdemeyersetrecipients: + jdemeyer, ezio.melotti, mrabarnett
2016-06-01 14:20:08jdemeyersetmessageid: <1464790808.77.0.698310162067.issue27177@psf.upfronthosting.co.za>
2016-06-01 14:20:08jdemeyerlinkissue27177 messages
2016-06-01 14:20:08jdemeyercreate