[issue13385] Add an explicit re.NOFLAGS flag value to the re module
report at bugs.python.org
Sat Nov 12 04:51:48 CET 2011
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
If you want to provide no flags, I think it's easier to provide no flags, rather than having to learn some NOFLAGS constant value that can be used to make the fact that you are passing no flags more explicit than it already is.
I might agree that ORing flags might not be the best API ever, but that a separate problem. So in my opinion there's nothing to fix about 1.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list