[pypy-dev] Building pypy from sources: partial build support ?

2015-10-15 Thread David Cournapeau
Hi there, I am trying to build pypy from sources on Linux, but I get some compilation/linking errors at the end (related to gdbm, tcl/tk, etc...). Fixing those are easy, but running "pypy ../../rpython/bin/rpython -Ojit targetpypystandalone " seems to start a build from scratch, so every small fix

Re: [pypy-dev] Building pypy from sources: partial build support ?

2015-10-15 Thread Maciej Fijalkowski
you can go to /tmp/usession-default-/testing_1 and type make to finish after the source code got generated. This is the only "incremental" part of the build, unfortunately (there were attempts to fix it, failed so far) On Thu, Oct 15, 2015 at 1:45 PM, David Cournapeau wrote: > Hi there, > > I am

Re: [pypy-dev] Building pypy from sources: partial build support ?

2015-10-15 Thread Yury V. Zaytsev
Hi David, On Thu, 15 Oct 2015, David Cournapeau wrote: Is there a way to restart the compilation from the last point it failed ? The docs did not seem to mention anything, I don't think that there is a way to do it via the translation driver, but if the translation itself was succesfull, wha

Re: [pypy-dev] [mdi...@grulic.org.ar: modifying locals]

2015-10-15 Thread Armin Rigo
Hi Marcos, On Wed, Oct 14, 2015 at 12:58 PM, Marcos Dione wrote: > inception_locals= sys._getframe().f_back.f_locals > inception_locals.update (locals) I think this works if you *assign* to f_locals. When you only *read* f_locals, you get a copy of the dict. The assignment is needed to write t

Re: [pypy-dev] [mdi...@grulic.org.ar: modifying locals]

2015-10-15 Thread Marcos Dione
On Thu, Oct 15, 2015 at 04:14:02PM +0200, Armin Rigo wrote: > Hi Marcos, > > On Wed, Oct 14, 2015 at 12:58 PM, Marcos Dione wrote: > > inception_locals= sys._getframe().f_back.f_locals > > inception_locals.update (locals) > > I think this works if you *assign* to f_locals. When you only *read*

Re: [pypy-dev] [mdi...@grulic.org.ar: modifying locals]

2015-10-15 Thread Marcos Dione
On Thu, Oct 15, 2015 at 04:47:57PM +0200, Marcos Dione wrote: > On Thu, Oct 15, 2015 at 04:14:02PM +0200, Armin Rigo wrote: > > Hi Marcos, > > > > On Wed, Oct 14, 2015 at 12:58 PM, Marcos Dione wrote: > > > inception_locals= sys._getframe().f_back.f_locals > > > inception_locals.update (locals) >

[pypy-dev] [Fwd: Re: Building pypy from sources: partial build support ?]

2015-10-15 Thread Yury V. Zaytsev
Forwarded Message From: David Cournapeau To: Yury V. Zaytsev Subject: Re: [pypy-dev] Building pypy from sources: partial build support ? Date: Thu, 15 Oct 2015 16:37:15 +0100 Thank Yury. It seems my error happens after that stage actually: * _tkinter/tklib_build.py /usr/bin

Re: [pypy-dev] Building pypy from sources: partial build support ?

2015-10-15 Thread Yury V. Zaytsev
On Thu, 2015-10-15 at 16:37 +0100, David Cournapeau wrote: > > Is there any way for to fix my build environment and restart the build > without starting from scratch there ? Hi David, I will forward your original mail to the list, so that someone could correct me if I'm wrong, but I think that

Re: [pypy-dev] [Fwd: Re: Building pypy from sources: partial build support ?]

2015-10-15 Thread Matti Picus
On 15/10/15 20:18, Yury V. Zaytsev wrote: Forwarded Message From: David Cournapeau To: Yury V. Zaytsev Subject: Re: [pypy-dev] Building pypy from sources: partial build support ? Date: Thu, 15 Oct 2015 16:37:15 +0100 Thank Yury. It seems my error happens after that stage

[pypy-dev] PyPy 15.11 release is imminent

2015-10-15 Thread Matti Picus
I have started a major release cycle, and consensus was to start a new numbering scheme, based on yy.mm While every release is a major event (yes 2.5.0, you can get a participation award too) this one really is a biggie. Warmup and tracing memory improvements, intern

Re: [pypy-dev] [mdi...@grulic.org.ar: modifying locals]

2015-10-15 Thread Armin Rigo
Hi Marcos, On Thu, Oct 15, 2015 at 4:50 PM, Marcos Dione wrote: >> so I'll keep investigating :-] > > maybe context managers add a stack frame/do something with them > internally? Sorry, you're right. Now it seems from looking at the CPython source code that there is no way. This is ge