Re: [Pyobjc-dev] Deprecation warnings turned into BadPrototypeError
Brought to you by:
ronaldoussoren
|
From: Ronald O. <ron...@ma...> - 2008-04-14 16:26:28
|
On 14 Apr, 2008, at 16:05, Ronald Oussoren wrote: > > On Monday, April 14, 2008, at 02:18PM, "Luc Heinrich" <lu...@ho... > > wrote: >> On 14 avr. 08, at 12:52, Ronald Oussoren wrote: >> >>> Maybe. The code is designed to trigger on definitions like this: def >>> wrapper(*args, **kwds), which seems to be the most common way to >>> define wrapping decorators. The intention is to avoid varargs >>> declarations other than wrapping decorators. >>> >>> Do you use "def wrapper(*args):" instead? >> >> Ah, no, but I use "def wrapper(self, *args, **kwargs):" to wrap >> methods. > > That looks like something we should support. I'll update PyObjC, > although > not right now as my local development tree is halfway through adding > some > new functionality. Luckily I hadn't touched the files that are related to this functionality. Your code should work again as of revision 1995. Ronald |