http://docs.python.org/devguide/runtests.html
Can I run tests on pypy as above?
I downloaded the linux binary version for the pypy website
(https://bitbucket.org/pypy/pypy/downloads/pypy-1.5-linux64.tar.bz2)
running
$./pypy -m test
prints
"
No module named test.__main__; 'test' is a package a
Hi,
On Wed, Aug 10, 2011 at 9:16 AM, Seung Soo, wrote:
> No module named test.__main__; 'test' is a package and cannot be directly
> executed
>
> (without a new line at the end!)
(I fixed the missing new line.)
But PyPy behaves like Python 2.7. I don't know if you are reading the
docs for Pyt
(sorry, forgot reply to all on the first version of this)
I guess a useful thing to understand here is that the powerpc
assembler was mostly written by me on a whim many many years ago --
there never was a really strong design sense and if there was, I've
probably forgotten it :)
On 10 August 201
Armin Rigo tunes.org> writes:
>
> Hi,
> But PyPy behaves like Python 2.7. I don't know if you are reading the
> docs for Python 3.x, but it doesn't work this way in Python 2.7
> either.
>
> A bientôt,
>
> Armin.
>
Sorry. I was reading the 3.x docs.
Anyway I'd like to know if there is any
Hi Seung,
On Wed, Aug 10, 2011 at 11:35 AM, Seung Soo, wrote:
> Anyway I'd like to know if there is any single way to test both
> python and pypy(2.7), where the results should be the same.
We use our own custom runner, which you run differently than
CPython's. Well, you can also try running "p
On Wed, Aug 10, 2011 at 4:26 AM, Michael Hudson-Doyle wrote:
> There are already fields that behave in unusual ways -- see
>
> https://bitbucket.org/pypy/pypy/src/f8c92c646275/pypy/jit/backend/ppc/ppcgen/ppc_field.py#cl-55
>
> I think you should be able to add your fields in this fashion -- in
>
On Aug 10, 2011 2:23 PM, "David Edelsohn" wrote:
>
> On Wed, Aug 10, 2011 at 4:26 AM, Michael Hudson-Doyle
> wrote:
>
> > There are already fields that behave in unusual ways -- see
> >
> > https://bitbucket.org/pypy/pypy/src/f8c92c646275/pypy/jit/backend/ppc/ppcgen/ppc_field.py#cl-55
> >
> > I
Hi Seung,
Are you talking about the interpreter tests or tests for your own packages?
If you want to run tests, I think the latest versions of Tox support
PyPy. You can have it run tests against multiple versions of python:
http://tox.testrun.org/en/latest/
-Chris
On Wed, Aug 10, 2011 at 7:49
Hi,
what I had in mind for jit-short_from_state is now in place and seem
to be working. So if anyone feels like reviewing now is a good time :)
Benchmarks show ai 15% faster, spectral-norm 47% faster and bm_mako
11% slower as compared to trunk. The others are not affected much:
http://paste.po
On Wed, Aug 10, 2011 at 4:43 PM, Hakan Ardo wrote:
> Hi,
> what I had in mind for jit-short_from_state is now in place and seem
> to be working. So if anyone feels like reviewing now is a good time :)
> Benchmarks show ai 15% faster, spectral-norm 47% faster and bm_mako
> 11% slower as compared to
On Sat, Aug 6, 2011 at 2:40 PM, Tom Roche wrote:
>
> Armin Rigo Wed, Aug 3, 2011 at 8:21 AM
>> We edit [pypy.org/source/download.txt]
>
> Done! The new'n'improved download.txt file is @
>
> https://docs.google.com/leaf?id=0BzDAFHgIxRzKYzQzNzUwYTktNzBjMS00ZmNmLTk3YzItYThhNTdmY2Q3OWM1&hl=en_US
>
> a
> I need to understand how to add tests that only run in 64 bit mode
> because the instruction will fail on a 32 bit PowerPC system as
> illegal instructions.
>
> Thanks, David
>
Look how skip-on-32bit-intel is implemented in tests.
___
pypy-dev mailing
On Wed, Aug 10, 2011 at 8:06 AM, Maciej Fijalkowski wrote:
> On Wed, Aug 10, 2011 at 4:43 PM, Hakan Ardo wrote:
> > Hi,
> > what I had in mind for jit-short_from_state is now in place and seem
> > to be working. So if anyone feels like reviewing now is a good time :)
> > Benchmarks show ai 15% fa
On 10/08/11 17:27, Alex Gaynor wrote:
I remember you also showed me it made my HTML escaper about 20% faster on some
benchmarks :) Of the 3 test_pypy_ benchmarks, only the test_instance one
shows a really noticable regression (test_strings looks better actually...),
can you explain why it got w
On Wed, Aug 10, 2011 at 5:27 PM, Alex Gaynor wrote:
>
>
> On Wed, Aug 10, 2011 at 8:06 AM, Maciej Fijalkowski
> wrote:
>>
>> On Wed, Aug 10, 2011 at 4:43 PM, Hakan Ardo wrote:
>> > Hi,
>> > what I had in mind for jit-short_from_state is now in place and seem
>> > to be working. So if anyone feel
On Wed, Aug 10, 2011 at 6:15 PM, Antonio Cuni wrote:
> On 10/08/11 17:27, Alex Gaynor wrote:
>>
>> I remember you also showed me it made my HTML escaper about 20% faster on
>> some
>> benchmarks :) Of the 3 test_pypy_ benchmarks, only the test_instance one
>> shows a really noticable regression
Hi,
I needed to create a cache of date and time objects and I wondered what was the
best way to handle the cache. For comparison I put together
the following test:
import datetime
import random
import timeit
ranges = [datetime.datetime(2011,01, random.randint(1, 31)) for i in
xrange(1000)]
Tom Roche Sat, Aug 6, 2011 at 2:40 PM
>> The new'n'improved download.txt file is @
>> https://docs.google.com/leaf?id=0BzDAFHgIxRzKYzQzNzUwYTktNzBjMS00ZmNmLTk3YzItYThhNTdmY2Q3OWM1&hl=en_US
>> and the patch file is @
>> https://docs.google.com/leaf?id=0BzDAFHgIxRzKZmQzZWZkNDYtODE2YS00MjUwLTgxMDYt
On Wed, Aug 10, 2011 at 9:37 PM, Tom Roche wrote:
> Tom Roche Sat, Aug 6, 2011 at 2:40 PM
>>> The new'n'improved download.txt file is @
>
>>> https://docs.google.com/leaf?id=0BzDAFHgIxRzKYzQzNzUwYTktNzBjMS00ZmNmLTk3YzItYThhNTdmY2Q3OWM1&hl=en_US
>
>>> and the patch file is @
>
>>> https://docs.goog
19 matches
Mail list logo