This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients ezio.melotti, mrabarnett, pitrou, serhiy.storchaka, steven.daprano
Date 2014-09-09.16:08:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410278889.96.0.239905162.issue22364@psf.upfronthosting.co.za>
In-reply-to
Content
> re:    Cannot process flags argument with a compiled pattern
> regex: can't process flags argument with a compiled pattern

Error messages usually start with a lowercase letter, and I think that all the other ones in the re module do.

By the way, which is preferred, "cannot" or "can't"? The regex module always uses "can't", but re module uses "cannot" except for "TypeError: can't use a bytes pattern on a string-like object", I think.

Also, you said that one of the re module's messages was better, but didn't say which! Did you mean this one?

> re:    expected bytes, bytearray, or an object with the buffer interface, str found
> regex: expected bytes instance, str found
History
Date User Action Args
2014-09-09 16:08:10mrabarnettsetrecipients: + mrabarnett, pitrou, ezio.melotti, steven.daprano, serhiy.storchaka
2014-09-09 16:08:09mrabarnettsetmessageid: <1410278889.96.0.239905162.issue22364@psf.upfronthosting.co.za>
2014-09-09 16:08:09mrabarnettlinkissue22364 messages
2014-09-09 16:08:09mrabarnettcreate