New submission from Serhiy Storchaka: The repr() of BaseException (and all exceptions that don't override __repr__) with a single argument contains a redundant trailing comma:
>>> BaseException('spam') BaseException('spam',) This is just an artefact of the implementation. Proposed patch removes this comma. ---------- components: Interpreter Core messages: 293928 nosy: serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Get rid of trailing comma if the repr() of BaseException type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30399> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com