New submission from Mike Watkins <[EMAIL PROTECTED]>: Running example code from docs:
http://docs.python.org/dev/3.0/library/xmlrpc.client.html#example-of- client-usage z% python Python 3.0rc2+ (py3k:67152, Nov 7 2008, 16:48:55) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd7 Type "help", "copyright", "credits" or "license" for more information. >>> str(None) 'None' >>> from xmlrpc.client import ServerProxy, Error >>> server = ServerProxy("http://betty.userland.com") >>> print(server) <ServerProxy for betty.userland.com/RPC2> >>> print(server) <ServerProxy for betty.userland.com/RPC2> >>> print(server.examples.getStateName(41)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.0/xmlrpc/client.py", line 1095, in __call__ return self.__send(self.__name, args) File "/usr/local/lib/python3.0/xmlrpc/client.py", line 1353, in __request verbose=self.__verbose File "/usr/local/lib/python3.0/xmlrpc/client.py", line 1136, in request return self._parse_response(resp, None) File "/usr/local/lib/python3.0/xmlrpc/client.py", line 1235, in _parse_response p, u = self.getparser() File "/usr/local/lib/python3.0/xmlrpc/client.py", line 1145, in getparser return getparser(use_datetime=self._use_datetime) File "/usr/local/lib/python3.0/xmlrpc/client.py", line 975, in getparser parser = SlowParser(target) NameError: global name 'SlowParser' is not defined No definition of SlowParser in client.py: /src/py3k/Lib/xmlrpc% grep -n SlowParser client.py 116: SlowParser Slow but safe standard parser (based on xmllib) 975: parser = SlowParser(target) ---------- components: Library (Lib) messages: 75980 nosy: mwatkins severity: normal status: open title: xmlrpc.client - default 'SlowParser' not defined versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4340> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com