"Mark Ramm" <[EMAIL PROTECTED]> writes: >> all i can find about this is that it that is a python 2.3 problem, but >> the docs for 0.9a2 indicate that all should work under 2.3.... > > Turbogears itself is 2.3 compatable, but you are writing 2.4 code. > You can use turbogears without using decorators in your code (though > none of the examples show this) and then your application will run > under 2.3.
Hmmmm... Turbogears itself incentivates writing 2.4 code (and I believe it should be kept like this!). Take a look at controllers.py in a newly quickstarted project and you'll see the decorators in there. It's a difficult question: sacrifice readability for new users that have a new python version to satisfy 2.3 idioms or sacrifice the start process for users that use Python 2.3 because of the 2.4 syntax... Who knows this could be solved with a new template for Python 2.3 that had its correct syntax for decorators? So, something like "tg-admin quickstart -tpy23" would just "do the right thing"(TM), making it easy for people using an older version of Python and without changing any default from what we have now. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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 -~----------~----~----~----~------~----~------~--~---

