Re: [pypy-dev] PIL, Pypy-1.7, and Win7

2011-11-29 Thread Yaacov Finkelman
so I looked at get_config_h_filename() and it can be ported directly from sysconfig_cpython.py. Fixing this led to a new set of error messages (again below) what's the next step to fix these? Is there a free and easy way to use some other compiler with pypy? Jacob ... C:\MinGW\bin\gcc.exe -

Re: [pypy-dev] Optimizing Append Only structures

2011-11-29 Thread Armin Rigo
Hi, On Tue, Nov 29, 2011 at 21:28, Romain Guillebert wrote: > Probably because he (as a clojure developer) likes immutability of data > structures. No, it's really needed for the way it is written: by creating a new dict, the old purefunction results no longer apply. But we are (indeed) using a

Re: [pypy-dev] PIL, Pypy-1.7, and Win7

2011-11-29 Thread Amaury Forgeot d'Arc
Hi, 2011/11/30 Yaacov Finkelman > Now the pip is working I was trying to use it to install PIL part of > long error message is below. I am using Pypy-1.7 > > Any help? > > The cygwin compiler is not yet supported by pypy C extensions. It's not too difficult though, if you know how to hack in li

[pypy-dev] PIL, Pypy-1.7, and Win7

2011-11-29 Thread Yaacov Finkelman
Now the pip is working I was trying to use it to install PIL part of long error message is below. I am using Pypy-1.7 Any help? Jacob File "C:\pypy-1.7\lib-python\modified-2.7\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "C:\pypy-1

Re: [pypy-dev] Pip, Pypy, and Win7

2011-11-29 Thread Yaacov Finkelman
Thank You! pip.exe and pip-2.7.exe are indeed in a subfolder called bin. Can we add that to the new version of the docs? When should I be using pip vs. using pip-2.7? Thank you again. Jacob On Tue, Nov 29, 2011 at 5:29 PM, Leonardo Santagada wrote: > On Tue, Nov 29, 2011 at 8:20 PM, Yaacov Fi

Re: [pypy-dev] Pip, Pypy, and Win7

2011-11-29 Thread Leonardo Santagada
On Tue, Nov 29, 2011 at 8:20 PM, Yaacov Finkelman wrote: > $ ./pypy-1.6/bin/pip install pygments # for example > > I am not sure how to translate this Instruction. There is no > executable Pip in my Pypy folder. How do I actually install something > with pip? > > Jacob > first, try pypy-1.7 that

[pypy-dev] Pip, Pypy, and Win7

2011-11-29 Thread Yaacov Finkelman
I've been a complete fanboy to Pypy for the past couple of months. After the official Sprint started I was checking the blog every couple of hours to see what wonderful and fascinating ideas people were working on implementing. I just want to thank you all for helping with this fascinating project.

Re: [pypy-dev] Optimizing Append Only structures

2011-11-29 Thread Romain Guillebert
Probably because he (as a clojure developer) likes immutability of data structures. On Tue, Nov 29, 2011 at 9:15 PM, Maciej Fijalkowski wrote: > On Tue, Nov 29, 2011 at 10:12 PM, Alex Gaynor > wrote: > > > > > > On Tue, Nov 29, 2011 at 3:04 PM, Timothy Baldridge > > > wrote: > >> > >> I have a

Re: [pypy-dev] Optimizing Append Only structures

2011-11-29 Thread Maciej Fijalkowski
On Tue, Nov 29, 2011 at 10:12 PM, Alex Gaynor wrote: > > > On Tue, Nov 29, 2011 at 3:04 PM, Timothy Baldridge > wrote: >> >> I have a dictionary (in RPython) that looks something like this: >> >> >> class MyDict(Obj): >>    def add(self, k, v): >>         newdict = self.dict.copy() >>         new

Re: [pypy-dev] Optimizing Append Only structures

2011-11-29 Thread Alex Gaynor
On Tue, Nov 29, 2011 at 3:04 PM, Timothy Baldridge wrote: > I have a dictionary (in RPython) that looks something like this: > > > class MyDict(Obj): >def add(self, k, v): > newdict = self.dict.copy() > newdict[k] = v > self.dict = newdict >def get(self, k): >

[pypy-dev] Optimizing Append Only structures

2011-11-29 Thread Timothy Baldridge
I have a dictionary (in RPython) that looks something like this: class MyDict(Obj): def add(self, k, v): newdict = self.dict.copy() newdict[k] = v self.dict = newdict def get(self, k): d = self.dict return MyDict._static_get(d, k) @staticmetho

Re: [pypy-dev] Win32 build of the release 1.7

2011-11-29 Thread Armin Rigo
Hi, The build has been "officialized" and is now available from https://bitbucket.org/pypy/pypy/downloads . A bientôt, Armin. ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Win32 build of the release 1.7

2011-11-29 Thread Maciej Fijalkowski
On Tue, Nov 29, 2011 at 3:58 PM, Chris Wj wrote: > Similar experience with **2 for me on linux x64. This should be fixed by now. You can check tomorrow nightly > > On Mon, Nov 28, 2011 at 3:37 PM, mike c wrote: >> >> >> >> On Mon, Nov 28, 2011 at 9:40 PM, Alex Gaynor >> wrote: >>> >>> >>> This

Re: [pypy-dev] Win32 build of the release 1.7

2011-11-29 Thread Chris Wj
Similar experience with **2 for me on linux x64. On Mon, Nov 28, 2011 at 3:37 PM, mike c wrote: > > > On Mon, Nov 28, 2011 at 9:40 PM, Alex Gaynor wrote: > >> >> This appears to be totally broken independently of windows, on Linux I'm >> getting something that looks like sys.maxint instead of 0.