Eric V. Smith <e...@trueblade.com> added the comment:
Re-opening this because issue39949 is about match objects, not compiled re objects. Still, I don't think the repr "rule" about being eval-able is hard and fast. Although changing the repr to be in brackets wouldn't be unreasonable just to drive the point home. ---------- resolution: duplicate -> stage: resolved -> status: closed -> open superseder: truncating match in regular expression match objects repr -> _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40984> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com