[patch] deprecation warnings branch

Robert Collins robertc at robertcollins.net
Thu Jan 5 22:13:03 GMT 2006


On Thu, 2006-01-05 at 15:56 -0600, John Arbash Meinel wrote:
> So how does staticmethod and classmethod do it? Do they cheat because
> they are C code? Are there any other standard decorators that we could
> try and figure out the correct actions?

I'm not sure, but thats quite possible. If you see one, tell me ;).

> I'm thinking that we probably could create a decorator function (like
> you did with _populate_decorated), which could be used by any decorator
> that we end up creating.
> 
> Then we would only have to implement whatever convoluted logic once, and
> reuse it on any decorator we create.

Naturally ;)

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060106/1d956a39/attachment.pgp 


More information about the bazaar mailing list