New submission from Nick Coghlan <ncogh...@gmail.com>: The xmlrpc tests were changed to use a StringIO object instead of a temporary file (this change reflects the corresponding change made on the 2.x trunk).
The tests then started failing, since xmlrpc.server assumes sys.stdout will provide the buffer attribute, which is not a valid assumption. From the io.TestIOBase documentation: buffer The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals with. This is not part of the TextIOBase API and may not exist on some implementations. Assuming this attribute exists is a bug in xmlrpc.server that should be fixed. ---------- components: Library (Lib) messages: 94212 nosy: ncoghlan priority: normal severity: normal stage: needs patch status: open title: xmlrpc.server assumes sys.stdout will have a buffer attribute type: behavior versions: Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7165> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com