Re: [pypy-dev] project infrastructure issues

2011-04-14 Thread Alex Gaynor
On Thu, Apr 14, 2011 at 1:47 PM, holger krekel wrote: > Hey all, > > now that pypy's codespeak subversion usage is basically gone i'd like to > push for remaining issues related to the pypy infrastructure: > > - apache/website > - buildbot/master > - roundup/issue tracker > - mailman/mailing list

Re: [pypy-dev] The JVM backend and Jython

2011-04-14 Thread fwierzbi...@gmail.com
On Mon, Apr 11, 2011 at 11:34 AM, Antonio Cuni wrote: > Hi Frank, > > On 30/03/11 04:40, fwierzbi...@gmail.com wrote: > [cut] >> So to my question - just how broken is the JVM backend? Are there >> workarounds that would allow the Java code to get generated? > > so, now the jvm (and cli) translati

[pypy-dev] project infrastructure issues

2011-04-14 Thread holger krekel
Hey all, now that pypy's codespeak subversion usage is basically gone i'd like to push for remaining issues related to the pypy infrastructure: - apache/website - buildbot/master - roundup/issue tracker - mailman/mailing lists pypy-dev/commits/z Which of them shall we try to move elsewhere? My

Re: [pypy-dev] [pypy-svn] pypy default: port test_intbound_addsub_ge to test_pypy_c_new

2011-04-14 Thread Alex Gaynor
On Thu, Apr 14, 2011 at 10:56 AM, Antonio Cuni wrote: > On 14/04/11 16:44, Hakan Ardo wrote: > > Second though, that will recompile on every call, but if we cache the > > promote functions: > > > > def main(n, promoters={}): > > i, a = 0, 0 > > if n not in promoters: > >

Re: [pypy-dev] [pypy-svn] pypy default: port test_intbound_addsub_ge to test_pypy_c_new

2011-04-14 Thread Antonio Cuni
On 14/04/11 16:44, Hakan Ardo wrote: > Second though, that will recompile on every call, but if we cache the > promote functions: > > def main(n, promoters={}): > i, a = 0, 0 > if n not in promoters: > exec """def promote(n): > assert n==%d""

Re: [pypy-dev] [pypy-svn] pypy default: port test_intbound_addsub_ge to test_pypy_c_new

2011-04-14 Thread Hakan Ardo
Second though, that will recompile on every call, but if we cache the promote functions: def main(n, promoters={}): i, a = 0, 0 if n not in promoters: exec """def promote(n): assert n==%d""" % n promoters[n] = promote else

Re: [pypy-dev] [pypy-svn] pypy default: port test_intbound_addsub_ge to test_pypy_c_new

2011-04-14 Thread Hakan Ardo
On Thu, Apr 14, 2011 at 3:01 PM, Antonio Cuni wrote: > > Of course the ovf check needs to be there because we don't specialize the loop > on the value of n. Although it might be cool to be able to do promotion at > applevel, for those who really want :-) Well, you can actually (sort of): def

Re: [pypy-dev] [pypy-svn] pypy default: port test_intbound_addsub_ge to test_pypy_c_new

2011-04-14 Thread Antonio Cuni
Hi Hakan, On 14/04/11 14:53, Hakan Ardo wrote: >> +def test_intbound_addsub_ge(self): >> +def main(n): >> +i, a, b = 0, 0, 0 >> +while i < n: >> +if i + 5 >= 5: >> +a += 1 >> +if i - 1 >= -1: >> +

Re: [pypy-dev] [pypy-svn] pypy default: port test_intbound_addsub_ge to test_pypy_c_new

2011-04-14 Thread Hakan Ardo
On Thu, Apr 14, 2011 at 2:44 PM, antocuni wrote: > Author: Antonio Cuni > Branch: > Changeset: r43345:fd3f23ae8324 > Date: 2011-04-14 14:42 +0200 > http://bitbucket.org/pypy/pypy/changeset/fd3f23ae8324/ > > Log:    port test_intbound_addsub_ge to test_pypy_c_new > > diff --git a/pypy/module/pypyj