Author methane
Recipients barry, ethan.furman, gvanrossum, methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-10-05.09:34:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507196055.29.0.213398074469.issue31671@psf.upfronthosting.co.za>
In-reply-to
Content
Instead caching type(flags), how about this?

  if not isinstance(flags, int):
      raise TypeError(f"flags must be int or RegexFlag, got {flags!r}")
  flags = int(flags)
History
Date User Action Args
2017-10-05 09:34:15methanesetrecipients: + methane, gvanrossum, barry, rhettinger, vstinner, ethan.furman, serhiy.storchaka
2017-10-05 09:34:15methanesetmessageid: <1507196055.29.0.213398074469.issue31671@psf.upfronthosting.co.za>
2017-10-05 09:34:15methanelinkissue31671 messages
2017-10-05 09:34:15methanecreate