On 2017-06-06, Thomas Nyberg <tomuxi...@gmx.com> wrote:
> My changes feel a bit hacky. I wanted to just drop a straight repr() in,
> but I didn't want to change the code too much since I assume the string
> formatting is already there for a reason (e.g. "%.200s").

Just change the '%.200s' to '%.200R' and it should work. The '.200'
isn't necessary to avoid buffer-overflow or anything, but an error
message of unlimited length is probably a good thing to avoid anyway ;-)
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to