Re: [Python-3000] proposed fix for test_xmlrpc.py in py3k

2007-08-23 Thread Jeremy Hylton
On 8/22/07, John Reese <[EMAIL PROTECTED]> wrote: > Good afternoon. I'm in the Google Python Sprint working on getting > the test_xmlrpc unittest to pass. The following patch was prepared by > Jacques Frechet and me. We'd appreciate feedback on the attached > patch. > > What was broken: > > > 1.

Re: [Python-3000] proposed fix for test_xmlrpc.py in py3k

2007-08-22 Thread John Reese
Thanks, sounds good. I'm curious why you left out the change to Doc/library/xmlrpclib.rst -- the documentation of the type of the parameter was out-of-date, if it was ever right. On 8/22/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Thanks! I've checked the bulk of this in, excepting the fix

Re: [Python-3000] proposed fix for test_xmlrpc.py in py3k

2007-08-22 Thread Guido van Rossum
My mistake, out of habit I limited the submit to the Lib subdirectory. Will do later. On 8/22/07, John Reese <[EMAIL PROTECTED]> wrote: > Thanks, sounds good. I'm curious why you left out the change to > Doc/library/xmlrpclib.rst -- the documentation of the type of the > parameter was out-of-date

Re: [Python-3000] proposed fix for test_xmlrpc.py in py3k

2007-08-22 Thread Guido van Rossum
Thanks! I've checked the bulk of this in, excepting the fix for #3, which I fixed at the source in longobject.c. Also, I changed the call to io.StringIO() to first convert the bytes to characters, using the same encoding as used for the HTTP request header line (Latin-1). --Guido On 8/22/07, John

[Python-3000] proposed fix for test_xmlrpc.py in py3k

2007-08-22 Thread John Reese
Good afternoon. I'm in the Google Python Sprint working on getting the test_xmlrpc unittest to pass. The following patch was prepared by Jacques Frechet and me. We'd appreciate feedback on the attached patch. What was broken: 1. BaseHTTPServer attempts to parse the http headers with an rfc822