New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmlrpc.client - default 'SlowParser' not defined #48590
Comments
Running example code from docs: http://docs.python.org/dev/3.0/library/xmlrpc.client.html#example-of- 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 |
Running the same code today passes, despite the fact I'm still running However the core reported issue - SlowParser being undefined in the |
I'm unable to reproduce the bug on py3k nor python3.1. Reopen the issue if the bug reappears. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: