Re: [web2py] Python 3 and the future of web2py

2011-07-12 Thread LightDot
Also, python 2.6.5 is in RHEL 6 / SL 6 / CentOS 6, which many linux 
hosting/VPS companies will be using for years to come.


Re: [web2py] Python 3 and the future of web2py

2011-07-12 Thread pbreit
I suspect 2.6 is going to be popular for some time since that's what's in 
the current Ubuntu LTS (10.04).

Re: [web2py] Python 3 and the future of web2py

2011-07-12 Thread Ross Peoples
I know that Python 2.5 is the officially supported Python version of web2py, 
but I've been coding all of my stuff with the assumption that this will 
eventually change to Python 2.6, or even 2.7. I have applications running on 
both 2.6 and 2.7 in production. But since I'm using Ubuntu 10.04 Server to 
run most of my sites, Python 2.6.5 is my primary target until the next LTS 
version of Ubuntu Server. Although I've been hearing that the new version of 
Mac OS X Lion will have Python 2.7.

I guess this all goes back to the fact that I think Python 3 is cool because 
it's new, and I'm sure I will start playing with it soon, but no 
distributions are really using or supporting it yet, so it probably will be 
another year or two before any serious Python 3 movement begins (not just 
with web2py). By then, there will probably some kind of huge speed boost, 
or, as you mention, an accumulation of small features that will entice more 
people to start switching to it. I know that it's been out for a while, but 
I still consider it to be somewhat beta since the barrier for entry is so 
high. I'm sure others feel the same way, but again, this will probably 
change soon.


Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread cjrh
On Tuesday, July 12, 2011 12:29:19 AM UTC+2, Jonathan Lundell wrote:
>
> P3 needs some killer feature to motivate a migration, seems to me. 
> Especially when we're hearing from web2py users who need/want to stick with 
> 2.4…
>

I think there are *many* Pythonistas with that view.  I suppose that there 
won't be one single killer feature for 3, but rather a steady accumulation 
of small but useful additions.   Regarding the need for a specific Python 
version: I have been able to get away so far with using my own custom Python 
for web2py deployments, even on shared hosting, so I pretty much choose 
which Python.  I *really* don't want to use 2.4 any more, and even 2.5 has 
some gimpy restrictions on ** kwargs usage.  My standard deploy is currently 
2.6 just because I know all the libraries are available, but I am starting 
to use 2.7.  At least one site is running on 2.7 right now.




Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread Jonathan Lundell
On Jul 11, 2011, at 1:38 PM, cjrh  wrote:

> I just realized you asked about Python 3 not 3.2!  The stuff I posted was the 
> delta from 3.1 to 3.2 only.  To see what changes from 2 to 3, read here 
> (isn't too long, worth skimming at the very least): 
> http://docs.python.org/py3k/whatsnew/3.0.html
> 
Some of the stuff has found it's way into 2.7. The unittest improvements spring 
to mind, because I've been using them. 

P3 needs some killer feature to motivate a migration, seems to me. Especially 
when we're hearing from web2py users who need/want to stick with 2.4…

That GIO video someone posted had GvR saying that they had no immediate plans 
to put P3 on GAE (they're doing 2.7). That kind of thing motivates me to put it 
back in the drawer and think about it in a year or two.

Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread cjrh
I just realized you asked about Python *3* not 3.2!  The stuff I posted was 
the delta from 3.1 to 3.2 only.  To see what changes from 2 to 3, read here 
(isn't too long, worth skimming at the very least): 
http://docs.python.org/py3k/whatsnew/3.0.html



Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread cjrh
Oh, I also watched a video from PyCon: the dictionary-based logging system 
is supposed to be the final word on how to do Python logging for all apps 
and users.  Apparently there were a lot of custom-made in-house logging 
systems for many different projects, and they tried to make one to replace 
all the hacky ones.  So we would probably use that too.

I didn't bold it only because it isn't something I find especially 
interesting ;)


Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread cjrh
http://www.python.org/download/releases/3.2.1/

I highlighted the ones I am interested in below:

   - numerous improvements to the unittest module
   - PEP 3147 , support for .pyc 
   repository directories
   - PEP 3149 , support for version 
   tagged dynamic libraries
   - *PEP 3148 , a new futures 
   library for concurrent programming*
   - PEP 384 , a stable ABI for 
   extension modules
   - PEP 391 , dictionary-based 
   logging configuration
   - *an overhauled GIL implementation that reduces contention*
   - an extended email package that handles bytes messages
   - a much improved ssl module with support for SSL contexts and 
   certificate hostname matching
   - a sysconfig module to access configuration information
   - additions to the shutil module, among them archive file support
   - many enhancements to configparser, among them mapping protocol support
   - improvements to pdb, the Python debugger
   - countless fixes regarding bytes/string issues; among them full support 
   for a bytes environment (filenames, environment variables)
   - many consistency and behavior fixes for numeric operations



Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread Jonathan Lundell
On Jul 11, 2011, at 6:32 AM, Francisco Costa wrote:
> 
> I read this on the announcement of the latest Python release:
> http://www.python.org/download/releases/3.2.1/
> 
> "Since the final release of Python 2.7, the 2.x line will only receive
> bugfixes, and new features are developed for 3.x only."
> 
> Does web2py have any plans to migrate to Python 3.x now that new
> features won't be developed for Python 2.x ?

Is there a compelling new feature in Python 3? I don't have enough experience 
with it to know.

Re: [web2py] Python 3 and the future of web2py

2011-07-11 Thread Ovidio Marinho
Hello Men's,

still do not control everything that can offer web2py with Python 2.7, and I
think we can not worry about versions, the important features are present, we
need to master well web2py, python Guido cares about him.



   Ovidio Marinho Falcao Neto
 ovidio...@gmail.com
 88269088
   Paraiba-Brasil



2011/7/11 Francisco Costa 

> I read this on the announcement of the latest Python release:
> http://www.python.org/download/releases/3.2.1/
>
> "Since the final release of Python 2.7, the 2.x line will only receive
> bugfixes, and new features are developed for 3.x only."
>
> Does web2py have any plans to migrate to Python 3.x now that new
> features won't be developed for Python 2.x ?


[web2py] Python 3 and the future of web2py

2011-07-11 Thread Francisco Costa
I read this on the announcement of the latest Python release:
http://www.python.org/download/releases/3.2.1/

"Since the final release of Python 2.7, the 2.x line will only receive
bugfixes, and new features are developed for 3.x only."

Does web2py have any plans to migrate to Python 3.x now that new
features won't be developed for Python 2.x ?