The problem is what we mean by support. If somebody writes and app using 2.7 syntax, it works but the app will not work on a different web2py installation running 2.5. I agree we should clarify web2py runs on 2.6 and 2.6 but we should also discourage from using methods and syntax not supported in 2.5.
On Monday, 13 August 2012 08:36:35 UTC-5, Anthony wrote: > > The book says: > > web2py runs with CPython (the C implementation) and Jython (the Java > implementation), on Python versions 2.4, 2.5, 2.6, and 2.7, although > "officially" it only supports 2.5 so that we can guarantee backward > compatibility for applications. > > I guess that sounds a bit misleading, as 2.6 and 2.7 are also officially > supported. It's just that the framework is written to target 2.5, so the > framework code doesn't include any language features that were new in 2.6 > or 2.7 (of course, your app code can include such features if you're > running 2.6 or 2.7). I think we may need to remove 2.4 from that list as > well. > > Anthony > > > On Monday, August 13, 2012 9:27:36 AM UTC-4, Mike Girard wrote: >> >> Thanks for the confirmation. Perhaps the official documentation should be >> updated. >> >> On Monday, August 13, 2012 9:17:51 AM UTC-4, Anthony wrote: >>> >>> Are you sure? I searched on this list and seemed that there had been >>>> some problems. >>> >>> >>> Shouldn't be any problems. 2.5 is the *oldest* version of Python with >>> which web2py will work (used to be 2.4), but it works fine with 2.6 and 2.7. >>> >>> Anthony >>> >> --