[Zope-dev] Who uses request.getPositionalArguments()?

Wolfgang Schnerring ws at gocept.com
Wed Jun 10 06:41:26 EDT 2009


* Jim Fulton <jim at zope.com> [2009-06-09 11:29]:
> On Jun 9, 2009, at 9:45 AM, Wolfgang Schnerring wrote:
>> 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. :(

Also, the test_xmlrpcrequest in zope.publisher does not use
getPositionalArguments but rather checks _args directly.
(I've just updated that to make it a little more clear)

Thanks for the heads-up,
Wolfgang


More information about the Zope-Dev mailing list