additionalItems can blow up when rendering a message for a non-homogeneous array #1157
Closed
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.