Raymond Hettinger <[EMAIL PROTECTED]> added the comment: One idea: in http.client.HTTPMessage, inherit from email.Message, modify the addheaders/addcontinue/readheaders methods to use the methods in Message. Then, change the instantiation in HTTPResponse to self.msg = email.parser.Parser(_class=HTTPMessage).parsestr(io.BytesIO ()).
Something similar may apply to pydoc. FYI, I believe there is a pending discussion about whether to keep pydoc in Py3.0. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2848> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com