[pypy-commit] pypy default: expose numpy.inf

2011-10-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47764:59460302c713 Date: 2011-10-02 02:55 -0400 http://bitbucket.org/pypy/pypy/changeset/59460302c713/ Log:expose numpy.inf diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/module/micronumpy/__init__.py

[pypy-commit] pypy inline-dict-ops: don't look inside ll_dict_lookup, it's a bit sketchy

2011-10-01 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r47763:6da395d124d3 Date: 2011-10-01 15:58 -0300 http://bitbucket.org/pypy/pypy/changeset/6da395d124d3/ Log:don't look inside ll_dict_lookup, it's a bit sketchy diff --git a/pypy/rpython/lltypesystem/rdict.py b/pypy/rpython/lltyp

[pypy-commit] pypy lightweight-finalizers: Write a test that should remind that when we implement raw malloc in jit,

2011-10-01 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47761:44e2476c82c3 Date: 2011-10-01 15:36 -0300 http://bitbucket.org/pypy/pypy/changeset/44e2476c82c3/ Log:Write a test that should remind that when we implement raw malloc in jit, we should deal with lightweight fi

[pypy-commit] pypy rmmap-nohint: no noticable improvements

2011-10-01 Thread fijal
Author: Maciej Fijalkowski Branch: rmmap-nohint Changeset: r47760:08713d1ad7d8 Date: 2011-10-01 15:34 -0300 http://bitbucket.org/pypy/pypy/changeset/08713d1ad7d8/ Log:no noticable improvements ___ pypy-commit mailing list [email protected] htt

[pypy-commit] pypy lightweight-finalizers: a test and a fix

2011-10-01 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47759:171d990aedfd Date: 2011-10-01 15:15 -0300 http://bitbucket.org/pypy/pypy/changeset/171d990aedfd/ Log:a test and a fix diff --git a/pypy/rpython/memory/gctypelayout.py b/pypy/rpython/memory/gctypelayout.py --- a/pypy

[pypy-commit] pypy lightweight-finalizers: support the case of also having a del

2011-10-01 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47758:444aae7ad4e7 Date: 2011-10-01 14:26 -0300 http://bitbucket.org/pypy/pypy/changeset/444aae7ad4e7/ Log:support the case of also having a del diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py --- a/pypy/rlib/rgc.py +++ b

[pypy-commit] pypy default: fix returning an object which defines an __int__ from an __len__ method.

2011-10-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47757:6e2b325c768e Date: 2011-10-01 18:42 -0400 http://bitbucket.org/pypy/pypy/changeset/6e2b325c768e/ Log:fix returning an object which defines an __int__ from an __len__ method. diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/de

[pypy-commit] pypy default: Fix for test_descr.

2011-10-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47756:ad26a4fa9d67 Date: 2011-10-01 13:58 -0400 http://bitbucket.org/pypy/pypy/changeset/ad26a4fa9d67/ Log:Fix for test_descr. diff --git a/pypy/objspace/std/test/test_typeobject.py b/pypy/objspace/std/test/test_typeobject.py --- a/pypy/objspace/std/

[pypy-commit] pypy default: fix list.pop with rangelists.

2011-10-01 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47755:117dc445ce1f Date: 2011-10-01 13:45 -0400 http://bitbucket.org/pypy/pypy/changeset/117dc445ce1f/ Log:fix list.pop with rangelists. diff --git a/pypy/objspace/std/rangeobject.py b/pypy/objspace/std/rangeobject.py --- a/pypy/objspace/std/rangeobje

[pypy-commit] pypy jit-optimizeopt-cleanups: hg merge default

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47754:eb3b24bec9e8 Date: 2011-10-01 19:32 +0200 http://bitbucket.org/pypy/pypy/changeset/eb3b24bec9e8/ Log:hg merge default diff --git a/pypy/jit/metainterp/optimizeopt/test/test_util.py b/pypy/jit/metainterp/optimizeopt/test/t

[pypy-commit] pypy jit-optimizeopt-cleanups: kill OptString.enabled

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47753:4720f517fa9b Date: 2011-10-01 19:19 +0200 http://bitbucket.org/pypy/pypy/changeset/4720f517fa9b/ Log:kill OptString.enabled diff --git a/pypy/jit/metainterp/optimizeopt/vstring.py b/pypy/jit/metainterp/optimizeopt/vstring

[pypy-commit] pypy jit-optimizeopt-cleanups: kill Optimizer.posponedop

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47752:e807e1a6d75a Date: 2011-10-01 19:17 +0200 http://bitbucket.org/pypy/pypy/changeset/e807e1a6d75a/ Log:kill Optimizer.posponedop diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/pypy/jit/metainterp/optimizeopt/op

[pypy-commit] pypy jit-optimizeopt-cleanups: move emitted_pure_operations dict to OptPure

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47751:273253d0c8f7 Date: 2011-10-01 19:14 +0200 http://bitbucket.org/pypy/pypy/changeset/273253d0c8f7/ Log:move emitted_pure_operations dict to OptPure diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/pypy/jit/metain

[pypy-commit] pypy jit-optimizeopt-cleanups: move pure_operations dict and optimize_CALL_PURE to OptPure

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47750:0a138d720760 Date: 2011-10-01 19:07 +0200 http://bitbucket.org/pypy/pypy/changeset/0a138d720760/ Log:move pure_operations dict and optimize_CALL_PURE to OptPure diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/

[pypy-commit] pypy unsigned-dtypes: Test and fix.

2011-10-01 Thread arigo
Author: Armin Rigo Branch: unsigned-dtypes Changeset: r47749:5f924fccbcc8 Date: 2011-10-01 18:05 +0200 http://bitbucket.org/pypy/pypy/changeset/5f924fccbcc8/ Log:Test and fix. diff --git a/pypy/rpython/lltypesystem/opimpl.py b/pypy/rpython/lltypesystem/opimpl.py --- a/pypy/rpython/lltypesys

[pypy-commit] pypy gil-improvement: hg merge default

2011-10-01 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47748:e6c3478fe62c Date: 2011-10-01 12:56 +0200 http://bitbucket.org/pypy/pypy/changeset/e6c3478fe62c/ Log:hg merge default diff --git a/pypy/annotation/test/test_annrpython.py b/pypy/annotation/test/test_annrpython.py --- a/pypy/annota

[pypy-commit] pypy default: Tweak the hack: it should be equivalent, but have no remaining effect

2011-10-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r47747:78fddfb51114 Date: 2011-10-01 12:45 +0200 http://bitbucket.org/pypy/pypy/changeset/78fddfb51114/ Log:Tweak the hack: it should be equivalent, but have no remaining effect at run-time. diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py --- a

[pypy-commit] pypy default: Fix test_optimizeopt.test_setarrayitem_followed_by_arraycopy()

2011-10-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r47746:d021f859d101 Date: 2011-10-01 12:44 +0200 http://bitbucket.org/pypy/pypy/changeset/d021f859d101/ Log:Fix test_optimizeopt.test_setarrayitem_followed_by_arraycopy() by putting manually the correct readonly_descrs_arrays and write_de

[pypy-commit] pypy default: A failing test that shows a real (but rare) case in translation.

2011-10-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r47744:6b1ea446d303 Date: 2011-10-01 12:36 +0200 http://bitbucket.org/pypy/pypy/changeset/6b1ea446d303/ Log:A failing test that shows a real (but rare) case in translation. diff --git a/pypy/rlib/test/test_jit.py b/pypy/rlib/test/test_jit.py --- a/pypy/

[pypy-commit] pypy gil-improvement: Bah.

2011-10-01 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47743:577499446564 Date: 2011-10-01 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/577499446564/ Log:Bah. diff --git a/pypy/module/thread/gil.py b/pypy/module/thread/gil.py --- a/pypy/module/thread/gil.py +++ b/pypy/module/thread/g

[pypy-commit] pypy gil-improvement: Fixes.

2011-10-01 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47742:e29e5f547365 Date: 2011-10-01 11:52 +0200 http://bitbucket.org/pypy/pypy/changeset/e29e5f547365/ Log:Fixes. diff --git a/pypy/translator/c/gcc/trackgcroot.py b/pypy/translator/c/gcc/trackgcroot.py --- a/pypy/translator/c/gcc/track

[pypy-commit] pypy default: This simplification seems to fix the test.

2011-10-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r47745:f6cf1b602c40 Date: 2011-10-01 12:38 +0200 http://bitbucket.org/pypy/pypy/changeset/f6cf1b602c40/ Log:This simplification seems to fix the test. diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py --- a/pypy/rlib/jit.py +++ b/pypy/rlib/jit.py @@ -167

[pypy-commit] pypy default: For now, always use "python" to run trackgcroot.py. Running pypy is slower,

2011-10-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r47741:a3808c44744d Date: 2011-10-01 11:21 +0200 http://bitbucket.org/pypy/pypy/changeset/a3808c44744d/ Log:For now, always use "python" to run trackgcroot.py. Running pypy is slower, particularly now that each invocation is typically 0.2-0.5

[pypy-commit] pypy gil-improvement: Force the GIL to be released in this app-test; time.sleep()

2011-10-01 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47740:3e1481231b00 Date: 2011-10-01 10:36 +0200 http://bitbucket.org/pypy/pypy/changeset/3e1481231b00/ Log:Force the GIL to be released in this app-test; time.sleep() doesn't do it when non-translated... It likely worked because

[pypy-commit] pypy jit-optimizeopt-cleanups: added skipped test of still unsuported case

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47739:fdec24b8018a Date: 2011-10-01 10:12 +0200 http://bitbucket.org/pypy/pypy/changeset/fdec24b8018a/ Log:added skipped test of still unsuported case diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/pypy

[pypy-commit] pypy jit-optimizeopt-cleanups: fix test

2011-10-01 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47738:17466bccb8ea Date: 2011-10-01 09:45 +0200 http://bitbucket.org/pypy/pypy/changeset/17466bccb8ea/ Log:fix test diff --git a/pypy/jit/metainterp/optimizeopt/test/test_util.py b/pypy/jit/metainterp/optimizeopt/test/test_util