Author vstinner
Recipients methane, serhiy.storchaka, vstinner
Date 2017-10-03.12:40:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507034412.82.0.213398074469.issue31671@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, right. Strange.

>>> re.compile("e", flags=2.0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/haypo/prog/python/master/Lib/re.py", line 240, in compile
    return _compile(pattern, flags)
  File "/home/haypo/prog/python/master/Lib/re.py", line 288, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/home/haypo/prog/python/master/Lib/sre_compile.py", line 747, in compile
    p = sre_parse.parse(p, flags)
  File "/home/haypo/prog/python/master/Lib/sre_parse.py", line 890, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
TypeError: unsupported operand type(s) for &: 'float' and 'int'
History
Date User Action Args
2017-10-03 12:40:12vstinnersetrecipients: + vstinner, methane, serhiy.storchaka
2017-10-03 12:40:12vstinnersetmessageid: <1507034412.82.0.213398074469.issue31671@psf.upfronthosting.co.za>
2017-10-03 12:40:12vstinnerlinkissue31671 messages
2017-10-03 12:40:12vstinnercreate