[Zope] External method default arg weirdness

Nils Kassube lists@kassube.de
Fri, 11 May 2001 14:44:07 +0200


* Dieter Maurer <dieter@handshake.de> [2001-05-09 22:02]:
 
>   This magic works only, if the method is called with
>   precisely one parameter less then the required
>   arguments. It breaks very likely, when there are
>   default parameters. In this case, you need to pass
>   the "self" parameter explicitly and can not count on
>   the magic.

Nice. So http://www.zope.org/Documentation/How-To/ExternalMethods
is wrong in claiming that

--cut--
Argument semantics for External Methods are identical to those for
normal Python methods. You can define External Methods with default or
keyword arguments just as you can in Python.
--cut--

*sigh* Is there any decent, up-to-date information about these
hidden gotchas in Zope? 

Cheers,
Nils