This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan
Date 2009-10-18.12:40:46
SpamBayes Score 0.00080754026
Marked as misclassified No
Message-id <1255869649.48.0.335653342383.issue7165@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-10-18 12:40:49ncoghlansetrecipients: + ncoghlan
2009-10-18 12:40:49ncoghlansetmessageid: <1255869649.48.0.335653342383.issue7165@psf.upfronthosting.co.za>
2009-10-18 12:40:47ncoghlanlinkissue7165 messages
2009-10-18 12:40:46ncoghlancreate