Mark Ramm wrote: > If the require decorator is a "real" decorator, like all other real > decorators needs to go inside the expose decorator or else the > function that's exposed won't be the one that's actually called, and > it won't have the right function attributes. > > We definitely need to document this better. > > Perhaps you can work around this by copying the original function's __dict__ into the wrapper's before returning it from the decorator.
Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
