samwyse <samw...@gmail.com> added the comment:
More importantly, the dispatch method is now part of
the SimpleXMLRPCDispatcher, which (as a mix-in class) has no direct access
to the RequestHandler instance that comprises the request. This breaks
Victor's and my idea, unless one is willing to subclass
SimpleXMLRPCRequestHandler to provide a_dispatch method. The ability to do
this, however, is only provided for backward compatibility and I doubt it
could be part of a general solution.
On Thu, Jul 8, 2010 at 11:33 PM, Terry J. Reedy <rep...@bugs.python.org>wrote:
>
> Terry J. Reedy <tjre...@udel.edu> added the comment:
>
> In 3.x, class SimpleXMLRPCServer lives in module xmlrpc.server
>
> ----------
> nosy: +tjreedy
> versions: +Python 3.2 -Python 2.5
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue3058>
> _______________________________________
>
----------
Added file: http://bugs.python.org/file17956/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3058>
_______________________________________
More importantly, the dispatch method is now part of
the SimpleXMLRPCDispatcher, which (as a mix-in class) has no direct access to
the <span class="Apple-style-span" style="font-family: arial, sans-serif;
font-size: 13px; border-collapse: collapse; ">RequestHandler instance that
comprises the request.  This breaks Victor's and my idea, unless one is
willing to subclass SimpleXMLRPCRequestHandler to provide a_dispatch method.
 The ability to do this, however, is only provided for backward compatibility
and I doubt it could be part of a general solution.</span><br>
<br><div class="gmail_quote">On Thu, Jul 8, 2010 at 11:33 PM, Terry J. Reedy
<span dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span>
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Terry J. Reedy <<a href="mailto:tjre...@udel.edu">tjre...@udel.edu</a>>
added the comment:<br>
<br>
In 3.x, class  SimpleXMLRPCServer lives in module xmlrpc.server<br>
<br>
----------<br>
nosy: +tjreedy<br>
versions: +Python 3.2 -Python 2.5<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker <<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>><br>
<<a href="http://bugs.python.org/issue3058"
target="_blank">http://bugs.python.org/issue3058</a>><br>
_______________________________________<br>
</div></div></blockquote></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com