R. David Murray added the comment: I would suggest something like:
<email.message.Message instance at 0xXXXXXXX with NN headers and MM MIME parts> <email.message.Message instance at 0xXXXXXXX with NN headers and MM body lines> The second case should be rare these days for email, but would (I think?) show 0 body lines for an HTTPMessage. If I'm right it might actually make sense to have a separate repr for HTTPMessage that omitted the body line count. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24337> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com