Author Christoph Sarnowski2
Recipients Christoph Sarnowski2, ezio.melotti, mrabarnett
Date 2017-06-21.08:57:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Python 3.6, the flags in the "re" module became members of an enum.IntFlag, whereas before they were just ints.

This breaks the regex demo in Tools/demo/

To fix this, in line 86 of, 

    getattr(re, name)

has to be replaced by 

    getattr(re, name).value

Also, the checkbox for "LOCALE" can be removed (or fixed), as re.LOCALE is invalid for str patterns.
Date User Action Args
2017-06-21 08:57:43Christoph Sarnowski2setrecipients: + Christoph Sarnowski2, ezio.melotti, mrabarnett
2017-06-21 08:57:43Christoph Sarnowski2setmessageid: <>
2017-06-21 08:57:43Christoph Sarnowski2linkissue30722 messages
2017-06-21 08:57:43Christoph Sarnowski2create