-
-
Notifications
You must be signed in to change notification settings - Fork 594
Closed
Closed
Copy link
Labels
BugSomething doesn't work the way it should.Something doesn't work the way it should.Error ReportingIssues related to clearer or more robust validation error reportingIssues related to clearer or more robust validation error reporting
Description
The extras_msg
function sometimes throws an exception when everything in extras is not the same type because sorting fails.
Assuming the specific sort order is not terribly important, changing from
return ", ".join(repr(extra) for extra in sorted(extras)), verb
to
return ", ".join(extra for extra in sorted(map(repr, extras))), verb
should solve the problem.
Metadata
Metadata
Assignees
Labels
BugSomething doesn't work the way it should.Something doesn't work the way it should.Error ReportingIssues related to clearer or more robust validation error reportingIssues related to clearer or more robust validation error reporting