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 eli.bendersky
Recipients docs@python, eli.bendersky, ezio.melotti, pitrou
Date 2011-09-01.06:17:11
SpamBayes Score 1.8610546e-08
Marked as misclassified No
Message-id <1314857832.42.0.429689467144.issue12875@psf.upfronthosting.co.za>
In-reply-to
Content
Ezio,

"but using ints instead of flags is discouraged (see #11957).  OTOH there's no re.NOFLAGS flag that can be used instead."

Indeed, there's no re.NOFLAGS, and as I mentioned the 3k docs mention 0 as the default value, thus (in a way) encouraging passing the numeric value. 

Perhaps re.NOFLAGS should be added (at least in 3.3)? The docs can then be modified to specify it as the default value of 'flags' instead of 0.
History
Date User Action Args
2011-09-01 06:17:12eli.benderskysetrecipients: + eli.bendersky, pitrou, ezio.melotti, docs@python
2011-09-01 06:17:12eli.benderskysetmessageid: <1314857832.42.0.429689467144.issue12875@psf.upfronthosting.co.za>
2011-09-01 06:17:11eli.benderskylinkissue12875 messages
2011-09-01 06:17:11eli.benderskycreate