Kevin Dangoor wrote: > On 4/27/06, Simon Belak <[EMAIL PROTECTED]> wrote: >> In r1279 I added support for "alternative" decorator syntax as used by >> PEAK to lessen the anguish of people still on Python 2.3. This >> unfortunately requires a bit different application of decorator() function.
> I have one other question about this: is there any perceptible > difference in startup time? startup time is actually somewhat > important, because the user has to sit through that startup time every > time they make a change to their code during development. I'd rather > not dramatically slow down use for Py2.4 users. If there isn't a big > startup cost, then this is a really nice change for 2.3 users (and > those of use working on TG itself!) Penalty is a couple of function calls per decorator. Nothing wild. I intend to make some changes to not burden people who do not need 2.3 compatibility (see Jorge's example) and than merge with a5. Cheers Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
