Re: [pypy-dev] PYTHONPATH handling doesn't seem to match Python

2013-06-29 Thread Skip Montanaro
> Do you by chance see this warning message when you start your pypy? > > debug: WARNING: Library path not found, using compiled-in sys.path. > debug: WARNING: 'sys.prefix' will not be set. > debug: WARNING: Make sure the pypy binary is kept inside its tree of files. > debug: WARNING: It is ok to c

Re: [pypy-dev] PYTHONPATH handling doesn't seem to match Python

2013-06-29 Thread Antonio Cuni
On 06/29/2013 11:24 PM, Skip Montanaro wrote: [cut] that version of Python was executed. Accordingly, /opt/local/lib/python2.7/site-packages was in sys.path, as it should have been. It appears that the generated pypy-c wound up with that directory in its sys.path as well. I wasn't executing i

Re: [pypy-dev] PYTHONPATH handling doesn't seem to match Python

2013-06-29 Thread Armin Rigo
Hi Skip, On Sat, Jun 29, 2013 at 11:24 PM, Skip Montanaro wrote: > that version of Python was executed. Accordingly, > /opt/local/lib/python2.7/site-packages was in sys.path, as it should > have been. It appears that the generated pypy-c wound up with that > directory in its sys.path as well.

Re: [pypy-dev] PYTHONPATH handling doesn't seem to match Python

2013-06-29 Thread Skip Montanaro
> On Fri, Jun 28, 2013 at 10:41 PM, Skip Montanaro > wrote: >> Now, try the same experiment with PyPy. The relative order of those >> two directories is reversed: > > Sorry, I can't reproduce the problem you describe. More importantly I > don't understand why '/opt/local/lib/python2.7/site-packa

Re: [pypy-dev] PyPy doesn't make code written in C faster

2013-06-29 Thread Nathan Hurst
On Sat, Jun 29, 2013 at 04:27:02PM +0200, Carl Friedrich Bolz wrote: > On 29.06.2013 16:19, Nathan Hurst wrote: > >On Wed, Jun 26, 2013 at 09:06:01AM +0200, Carl Friedrich Bolz wrote: > >>On 30.05.2013 18:41, Nathan Hurst wrote: > >>>It doesn't have to be quadratic, it's easy to come up with a spli

Re: [pypy-dev] PyPy doesn't make code written in C faster

2013-06-29 Thread Nathan Hurst
On Wed, Jun 26, 2013 at 09:06:01AM +0200, Carl Friedrich Bolz wrote: > On 30.05.2013 18:41, Nathan Hurst wrote: > >It doesn't have to be quadratic, it's easy to come up with a splitting > >algorithm: > > FWIW, I started turning this code into RPython code on the > faster-str-of-bigint branch. Do

Re: [pypy-dev] PyPy doesn't make code written in C faster

2013-06-29 Thread Carl Friedrich Bolz
On 29.06.2013 16:19, Nathan Hurst wrote: On Wed, Jun 26, 2013 at 09:06:01AM +0200, Carl Friedrich Bolz wrote: On 30.05.2013 18:41, Nathan Hurst wrote: It doesn't have to be quadratic, it's easy to come up with a splitting algorithm: FWIW, I started turning this code into RPython code on the f

Re: [pypy-dev] PYTHONPATH handling doesn't seem to match Python

2013-06-29 Thread Armin Rigo
Hi Skip, On Fri, Jun 28, 2013 at 10:41 PM, Skip Montanaro wrote: > Now, try the same experiment with PyPy. The relative order of those > two directories is reversed: Sorry, I can't reproduce the problem you describe. More importantly I don't understand why '/opt/local/lib/python2.7/site-packag

Re: [pypy-dev] VerificationError after build

2013-06-29 Thread Armin Rigo
Hi Skip, On Fri, Jun 28, 2013 at 9:30 PM, Skip Montanaro wrote: >> SuSE has a somewhat different packaging of curses than do other >> installation. >> It'd be ideal if pypy-c would be immune to that, but so lacking I did: I tried yesterday to have it refuse to translate when some dependencies ar