Author ezio.melotti
Recipients eric.smith, ezio.melotti, mindauga, mrabarnett
Date 2011-04-30.02:23:34
SpamBayes Score 1.01548e-05
Marked as misclassified No
Message-id <>
Since this has been reported already several times (see e.g. #11947), and it's a fairly common mistake, I think we should do something to avoid it.

A few possibilities are:
  1) add a warning in the doc;
  2) make count and flag keyword-only argument (raising a deprecation warning in 3.3 and actually change it later);
  3) change the regex flags to some object that can be distinguished from ints and raise an error when a flag is passed to count;
Date User Action Args
2011-04-30 02:23:35ezio.melottisetrecipients: + ezio.melotti, eric.smith, mrabarnett, mindauga
2011-04-30 02:23:35ezio.melottisetmessageid: <>
2011-04-30 02:23:35ezio.melottilinkissue11957 messages
2011-04-30 02:23:34ezio.melotticreate