[Zope] ZPublisher and func(self,*args,**kw)

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Sat, 9 Dec 2000 13:59:50 +0100


Inside a product I tried to replace the following function

   def myfunc(self,arg1='',arg2='',REQUEST=None):

 by
 
   def myfunc(self,*args,**kw):

to get a more generic interface. However in every case "args" and "kw" are
empty when I output their contents inside the function. Bug or feature ?

Andreas