[Zope-dev] Who uses request.getPositionalArguments()?
Jim Fulton
jim at zope.com
Tue Jun 9 11:29:46 EDT 2009
On Jun 9, 2009, at 9:45 AM, Wolfgang Schnerring wrote:
> Hello,
>
> I've stumbled over this by accident, but it seems that
> getPositionalArguments() in zope.publisher.base.BaseRequest
> always returns an empty value (at least, there are no tests in which
> it has a non-empty value),
Wrong on both counts, although the relevant tests, of xmlrpc handling,
are spread over multiple packages, so finding relevant tests is rather
hard, especially if you don't know that it's related to xml-rpc. :(
(Our approach to handling xml-rpc turned out to be way to complicated.)
> and it is also not overridden by any of the
> request subclasses in zope.publisher.
>
> I still haven't quite wrapped my head around the whole publishing
> machinery, but this strikes me as a little strange, nonetheless.
>
> Could somebody enlighten me why this is so?
This is needed for xml-rpc, which passes arguments positionally.
getPositionalArguments returns self._args.
XMLRPCRequest's processInputs method sets self._args to the arguments
parsed from an xmlrpc request.
Jim
--
Jim Fulton
Zope Corporation
More information about the Zope-Dev
mailing list