[issue30399] Get rid of trailing comma if the repr() of BaseException

2017-05-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1745 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30399] Get rid of trailing comma if the repr() of BaseException

2017-05-18 Thread Serhiy Storchaka
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 remov