On Thu, 2008-08-07 at 21:40 +0200, Dirk Meyer wrote: > IIRC I added some code in some functions to return the old func if > epydoc is in sys.modules. I know, also not such a good idea :)
No, that's pretty bad. :) So the @wrap decorator is now a convenient way to do it. It also takes care of newfunc.func_name=func.func_name which existed in every decorator, so even ignoring the signature preserving functionality, it eliminates the need for that everywhere. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel