Re: Keyword arguments and python simpletons

From: <wlavrijsen_at_lbl.gov>
Date: Wed, 12 May 2010 08:32:50 -0700


Tim,

> However I was wondering if it would be possible to teach pyroot to hit
> the user each time they try to do this?

probably; right now keyword arguments are completely (i.e. silently) ignored and likely it could raise an exception if the keyword dictionary isn't empty.

Note that it is possible to create keyword arguments, given that the names of the parameters are available in the dictionary, but these names have no meaning in C++ (the argument names in the declarations in the header are unrelated to the ones in the implementation in the .cxx), so they could change over time.

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Wed May 12 2010 - 17:33:01 CEST

This archive was generated by hypermail 2.2.0 : Wed May 12 2010 - 23:50:01 CEST