[web2py] Re: PyPy 1.2 released!

2010-03-21 Thread mdipierro
LOL. In the end your email contained all the info needed. I agree with you that not closing files when they go out of scope is a major incompatibility. Massimo On Mar 21, 11:59 pm, Joe Barnhart wrote: > So you beat me to it, Massimo!  I needed to do a little background > study.  I downloaded

[web2py] Re: PyPy 1.2 released!

2010-03-21 Thread Joe Barnhart
So you beat me to it, Massimo! I needed to do a little background study. I downloaded and installed Mercurial for the Mac, then I cloned the repository at google. I went to make my change to sql.py and found you'd beat me to it! But next time, I'll be better prepared to send you a patch. I'm u

[web2py] Re: PyPy 1.2 released!

2010-03-20 Thread mdipierro
On Mar 20, 2:58 pm, Joe Barnhart wrote: > OK -- more info. > > I discovered that sqlite3 was not being loaded by sql.py in gluon. > The library must be structured oddly because it wants something like: > > from sqlite3 import dbapi2 as sqlite3 Can you send me the patch? > After hacking sql.py

[web2py] Re: PyPy 1.2 released!

2010-03-20 Thread Joe Barnhart
OK -- more info. I discovered that sqlite3 was not being loaded by sql.py in gluon. The library must be structured oddly because it wants something like: from sqlite3 import dbapi2 as sqlite3 After hacking sql.py in this fashion, pypy ran perfectly! ...for about 30 seconds! After that time, I

[web2py] Re: PyPy 1.2 released!

2010-03-20 Thread Joe Barnhart
I installed PyPy on a Mac. I discovered it needs openssl to run, so I used MacPorts to install openssl and everything ran as expected. I was able to run web2py.py under PyPy and the management interface works perfectly! BUT... I'm gettng a Sqlite3 error whenever I try to run a site: Traceback

[web2py] Re: PyPy 1.2 released!

2010-03-19 Thread mdipierro
Keep us posted. this is important! On Mar 19, 6:13 pm, Joe Barnhart wrote: > I have to say... WOW.   Just WOW.  The performance they're getting -- > even at this "post beta" stage of development -- is breathtaking. > They've benchmarked Twisted on it and seen huge performance gains vs. > CPython