Re: [pypy-dev] Compiling pypy with python2.5

2007-03-24 Thread Armin Rigo
Hi Amaury, On Fri, Mar 23, 2007 at 10:57:43PM +0100, Amaury Forgeot d'Arc wrote: > the struct module is built-in in CPython2.4; so the hack does work. Ah, I see: the struct module is pure Python in 2.5, so my theory doesn't hold. (Btw by 'built-in' I meant 'not a C extension module in a separate

Re: [pypy-dev] Compiling pypy with python2.5

2007-03-23 Thread Armin Rigo
Hi Amaury, On Fri, Mar 23, 2007 at 09:48:33PM +0100, Armin Rigo wrote: > Amaury, the import from 'pypy.lib.struct' that your patch introduced in > an 'app_*' module looks suspicious... I'm not sure why we are not > automatically picking up struct.py from pypy/lib/ from app-level code. Ah yes, a

Re: [pypy-dev] Compiling pypy with python2.5

2007-03-23 Thread Armin Rigo
Hi, On Fri, Mar 23, 2007 at 10:29:11AM -0400, Scott Dial wrote: > Amaury Forgeot d'Arc wrote: > > 4/ 5/ Easy corrections (not specific to 2.5) while trying the --jit > > option on Windows: platform.machine() is empty on my machine, and > > codebuf_nt is expected to export a PTR type. > > I notice

Re: [pypy-dev] Compiling pypy with python2.5

2007-03-23 Thread Scott Dial
Amaury Forgeot d'Arc wrote: > 4/ 5/ Easy corrections (not specific to 2.5) while trying the --jit > option on Windows: platform.machine() is empty on my machine, and > codebuf_nt is expected to export a PTR type. > I noticed this same problem and your patch is virtually identical to mine. I've r

[pypy-dev] Compiling pypy with python2.5

2007-03-23 Thread Amaury Forgeot d'Arc
Hello, After some work I managed to run the pypy translation using python 2.5. I know that it is not the best moment because of the imminent release, so feel free to put this under your pillow for now. With some changes, I successfully translate pypy-c on Windows (with --gc=framework), and the pr