Re: [pypy-dev] OSError not ImportError from 'import sqlite3' on Windows

2013-04-09 Thread Amaury Forgeot d'Arc
2013/4/9 Peter Cock > On Tue, Apr 9, 2013 at 8:11 PM, Matti Picus wrote: > > Note that patch is incomplete, it is missing an "import os" (thanks bdk) > > that was added in a later changeset. > > Matti > > I'd probably have managed but thanks - one less surprise > for me tomorrow :) > > I was won

[pypy-dev] Redis clone

2013-04-09 Thread Amirouche Boubekki
Héllo, I'm working on porting a redis clone to pypy-stm [1]. I did some benchmark, the interesting code is [2]. it runs 5 thread both on sides client/server, it might be much, what do you think ? I have 4 cores. (memo-stm)amirouche@funfev13 ~/src/Memo/client (pypy-stm*) $ time python test_client

Re: [pypy-dev] OSError not ImportError from 'import sqlite3' on Windows

2013-04-09 Thread Peter Cock
On Tue, Apr 9, 2013 at 8:11 PM, Matti Picus wrote: > Note that patch is incomplete, it is missing an "import os" (thanks bdk) > that was added in a later changeset. > Matti I'd probably have managed but thanks - one less surprise for me tomorrow :) I was wondering if this was a symptom of a larg

Re: [pypy-dev] OSError not ImportError from 'import sqlite3' on Windows

2013-04-09 Thread Matti Picus
Note that patch is incomplete, it is missing an "import os" (thanks bdk) that was added in a later changeset. Matti On 9/04/2013 10:03 PM, Peter Cock wrote: On Tue, Apr 9, 2013 at 7:35 PM, Philip Jenvey wrote: This was fixed yesterday, see: https://bugs.pypy.org/issue1440 Thanks! The bug rep

Re: [pypy-dev] OSError not ImportError from 'import sqlite3' on Windows

2013-04-09 Thread Peter Cock
On Tue, Apr 9, 2013 at 7:35 PM, Philip Jenvey wrote: > This was fixed yesterday, see: https://bugs.pypy.org/issue1440 > Thanks! The bug report doesn't auto-link to the repository, so for anyone else the changeset is here and looks easy enough to apply manually to try it on Windows without having

Re: [pypy-dev] OSError not ImportError from 'import sqlite3' on Windows

2013-04-09 Thread Philip Jenvey
This was fixed yesterday, see: https://bugs.pypy.org/issue1440 On Apr 9, 2013 9:45 AM, "Peter Cock" wrote: > Hello all, > > I've downloaded and unzipped pypy-2.0-beta2-win32.zip but > fairly early on in my testing ran into this puzzle: > > C:\>c:\pypy-2.0\pypy.exe > Python 2.7.3 (3eef596df459, Ap

[pypy-dev] OSError not ImportError from 'import sqlite3' on Windows

2013-04-09 Thread Peter Cock
Hello all, I've downloaded and unzipped pypy-2.0-beta2-win32.zip but fairly early on in my testing ran into this puzzle: C:\>c:\pypy-2.0\pypy.exe Python 2.7.3 (3eef596df459, Apr 06 2013, 12:40:10) [PyPy 2.0.0-beta2 with MSC v.1500 32 bit] on win32 Type "help", "copyright", "credits" or "license"

Re: [pypy-dev] Build pypy-2.0b1

2013-04-09 Thread Max Lavrenov
And one more question about packaging. [e-max@e-max release]$ ~/workspace/pypy_59920/bin/pypy package.py ../../.. pypy-63131 Traceback (most recent call last): File "app_main.py", line 52, in run_toplevel File "app_main.py", line 541, in run_it File "", line 1, in File "/home/e-max/worksp

Re: [pypy-dev] Build pypy-2.0b1

2013-04-09 Thread Max Lavrenov
It works. Thanks Armin! Best regards, Max On Tue, Apr 9, 2013 at 2:31 PM, Armin Rigo wrote: > Hi Max, > > On Tue, Apr 9, 2013 at 12:15 PM, Max Lavrenov > wrote: > > [platform:Error] "inconsistent frame size at instruction %s" % > (insn,)) > > We have seen this error reported already (it

Re: [pypy-dev] Build pypy-2.0b1

2013-04-09 Thread Armin Rigo
Hi Max, On Tue, Apr 9, 2013 at 12:15 PM, Max Lavrenov wrote: > [platform:Error] "inconsistent frame size at instruction %s" % (insn,)) We have seen this error reported already (it occurred with gcc 4.8, but that may not be strictly related). Assuming it's the same, I fixed it in trunk. Can

[pypy-dev] Build pypy-2.0b1

2013-04-09 Thread Max Lavrenov
Hello I've tried to build pypy from repository but got some compilation error. There is a very big traceback, so i skip some parts. Maybe i could provide some additional information? I still have opened pdb console with this failed compilation. Thanks. [platform:execute] make -j 3 in /tmp/use

Re: [pypy-dev] Windows 64 bit version

2013-04-09 Thread Maciej Fijalkowski
On Tue, Apr 9, 2013 at 9:47 AM, Roger Flores wrote: > Maciej Fijalkowski wrote: >>It's just a bunch of work. There is nothing special or magic about it, but >> so far noone volunteered to spend enough effort there. > > Got it. I'm just trying to understand what the work is because that list > hasn

Re: [pypy-dev] Windows 64 bit version

2013-04-09 Thread Roger Flores
Maciej Fijalkowski wrote: >It's just a bunch of work. There is nothing special or magic about it,but so >far noone volunteered to spend enough effort there. Got it. I'm just trying to understand what the work is because that list hasn't been captured anywhere yet. >Essentially, the main probl

Re: [pypy-dev] 2GB Limit on Windows

2013-04-09 Thread Maciej Fijalkowski
On Sun, Apr 7, 2013 at 11:49 PM, Roger Flores wrote: > Amaury wrote: >>Surely we could have another copy with the largeadressaware flag? > > I agree. That's a smart way to proceed for now. > > > I'm still wondering if there is any technical reason against the flag? > Particularly the "CFFI extens