Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
Simpler reproducer: >>> import re >>> re.RegexFlag(0) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/pablogsal/github/cpython/Lib/enum.py", line 1399, in global_flag_repr return "%x" % (module, cls_name, self._value_) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError: %x format: an integer is required, not str ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44929> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com