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 pablogsal
Recipients ethan.furman, pablogsal
Date 2021-08-16.22:03:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When printing some instance of RegexFlag **in the REPL** it fails to print:

>>> import gc
# This prints a ton of objects, including the bad enum RegexFlag one
>>> gc.get_referrers(None) 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pablogsal/github/cpython/Lib/", line 1399, in global_flag_repr
    return "%x" % (module, cls_name, self._value_)
TypeError: %x format: an integer is required, not str
Date User Action Args
2021-08-16 22:03:59pablogsalsetrecipients: + pablogsal, ethan.furman
2021-08-16 22:03:59pablogsalsetmessageid: <>
2021-08-16 22:03:59pablogsallinkissue44929 messages
2021-08-16 22:03:59pablogsalcreate