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 Fulton
Zope Corporation

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to