Re: [pypy-dev] How to get PIL to install?

2012-03-21 Thread Jacob Finkelman
Thanks I instaled pypy-c-jit-latest-win32.zip 17M 2012-03-13 then Install distribute and PIP. run "cmd.exe" cd c:\... pip install pillow and ...     C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\basetsd.h(76) : error C2632: 'char' followed by 'char' is illegal     C:\Program Files\Microsof

Re: [pypy-dev] ZODB3

2012-03-21 Thread Armin Rigo
Hi, On Wed, Mar 21, 2012 at 20:46, Amaury Forgeot d'Arc wrote: > Persistent.__getstate__ uses _PyObject_GetDictPtr(), which always > returns NULL in cpyext. Does it make sense? Shouldn't it be unimplemented, or raise a warning, or something? A bientôt, Armin.

Re: [pypy-dev] ZODB3

2012-03-21 Thread Amaury Forgeot d'Arc
2012/3/21 Armin Rigo : > On Fri, Mar 2, 2012 at 11:03, Aroldo Souza-Leite wrote: >>    data = self.__dict__.pop('_container') >> KeyError: '_container' > > Last I heard, the Persistent base class, written in C, uses old tricks > that are kind of deprecated; if I remember correctly, before Python >

Re: [pypy-dev] pypy2exe

2012-03-21 Thread Armin Rigo
Hi Paolo, On Tue, Mar 6, 2012 at 16:07, Paolo Basso wrote: > I mean, I know I'm probably going to say something which is not completely > in the spirit of an open source project but, no way to hide the code? There is no official support for that, but you can try to play around. You can edit the

Re: [pypy-dev] Speeding up zlib in standard library

2012-03-21 Thread Maciej Fijalkowski
On Wed, Mar 21, 2012 at 7:10 PM, Peter Cock wrote: > On Tue, Mar 20, 2012 at 2:52 PM, Maciej Fijalkowski wrote: >> >> Hey >> >> You're confusing levels. Your benchmark code cannot call zlib. > > PyPy development has quite a learning curve. > >> I suggested you benchmark not zlib, but your changes

Re: [pypy-dev] How to get PIL to install?

2012-03-21 Thread Armin Rigo
Hi Jacob, On Mon, Mar 5, 2012 at 14:17, Jacob Finkelman wrote: > If it involves translating pypy, then I am stuck. This laptop does not have > the resources to translate pypy. Yes, but I've made the change in the official source of PyPy too, which means that you can simply upgrade to a more rece

Re: [pypy-dev] ZODB3

2012-03-21 Thread Armin Rigo
Hi, On Fri, Mar 2, 2012 at 11:03, Aroldo Souza-Leite wrote: >    data = self.__dict__.pop('_container') > KeyError: '_container' Last I heard, the Persistent base class, written in C, uses old tricks that are kind of deprecated; if I remember correctly, before Python 2.2, it was known as the pla

Re: [pypy-dev] Speeding up zlib in standard library

2012-03-21 Thread Peter Cock
On Tue, Mar 20, 2012 at 2:52 PM, Maciej Fijalkowski wrote: > > Hey > > You're confusing levels. Your benchmark code cannot call zlib. PyPy development has quite a learning curve. > I suggested you benchmark not zlib, but your changes to StringBuilder > that you proposed. That does not (and canno

Re: [pypy-dev] Bringing Cython and PyPy closer together

2012-03-21 Thread Armin Rigo
Hi, On Mon, Mar 19, 2012 at 09:11, Maciej Fijalkowski wrote: >>> The (trivial) implementation of the two functions is at the end of this >>> file: >>> >>> http://bugs.python.org/file24613/exc_info_capi.patch >>> >>> Could you add them to PyPy? The new functions make sense to me. Anyone with cp

Re: [pypy-dev] targetreallynopstandalone.py => TypeError: string vs LocalPath

2012-03-21 Thread Stefan Drees
Thanks a lot Armin, Am 20.03.12 18:57, schrieb Armin Rigo: Hi Peter, On Tue, Mar 20, 2012 at 15:17, Peter Cock wrote: You don't need it: just run translate.py targetrichards.py and you'll get a targetrichards-c executable. Doing that I do get a testing_1.dylib file (Mach-O 64-bit dynamicall