Ok, I'm kinda stuck here. The method I posted on the Wiki skips the @turbogears.expose for each function (which is actually what I should expect, had I really read things properly) as the root function is being mutated into the function we actually want.
Is there a way of accessing a function's decorator from another function? I've been searching and can't find a way of doing it. Since it's there in the code, plain as day, there must be a way of getting the attributes assigned to the original decorator and 'self decorating' the new function? Thanks, Lee

