Matthew Barnett added the comment: > 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22364> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com