[Python-bugs-list] [ python-Bugs-465299 ] xmlrpclib broken
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 27 Sep 2001 09:15:33 -0700
Bugs item #465299, was opened at 2001-09-26 10:13
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=465299&group_id=5470
Category: Python Library
>Group: Not a Bug
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Mihai Ibanescu (misa)
Assigned to: Martin v. Löwis (loewis)
Summary: xmlrpclib broken
Initial Comment:
Between version 1.5 and 1.6 of Lib/xmlrpclib.py, an import
from cgi import escape
was removed, and now escape is no longer in the namespace.
Fix is easy, put the line back.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-09-27 09:15
Message:
Logged In: YES
user_id=6380
Mihai, what you are missing is that in each case there is a
line "from cgi import escape" which makes the function
available to the local scope.
I conclude this is not a bug, unless you can show is some
sample code that crashes because of this.
----------------------------------------------------------------------
Comment By: Mihai Ibanescu (misa)
Date: 2001-09-27 09:00
Message:
Logged In: YES
user_id=205865
Am I missing something? I see a lot of uses for escape in
dump_string, dump_xml and such, and no import beforehand.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2001-09-26 12:45
Message:
Logged In: YES
user_id=21627
Why is that a bug? Every use of escape imports it before
using it.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=465299&group_id=5470