[pypy-commit] pypy jit-targets: dissable fallback for now

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50364:cb17a24f8acd Date: 2011-12-11 10:32 +0100 http://bitbucket.org/pypy/pypy/changeset/cb17a24f8acd/ Log:dissable fallback for now diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/jit/metainterp/compi

[pypy-commit] pypy jit-targets: hg merge default

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50365:ba23d85f0f16 Date: 2011-12-11 10:32 +0100 http://bitbucket.org/pypy/pypy/changeset/ba23d85f0f16/ Log:hg merge default diff --git a/lib_pypy/distributed/socklayer.py b/lib_pypy/distributed/socklayer.py --- a/lib_pypy/distributed/sockla

[pypy-commit] pypy default: Add a test for some of the nonstandard hashes (issue957)

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50366:9de8b8b018cb Date: 2011-12-11 11:21 +0100 http://bitbucket.org/pypy/pypy/changeset/9de8b8b018cb/ Log:Add a test for some of the nonstandard hashes (issue957) diff --git a/pypy/module/_hashlib/test/test_hashlib.py b/pypy/module/_hashlib/test/test

[pypy-commit] pypy default: Merge nedbat-sandbox branch, with one tweak, don't realy on identity of one,

2011-12-11 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r50367:1b1197dcc86d Date: 2011-12-11 12:30 +0200 http://bitbucket.org/pypy/pypy/changeset/1b1197dcc86d/ Log:Merge nedbat-sandbox branch, with one tweak, don't realy on identity of one, just use object() for identitiy checks. diff --git a

[pypy-commit] pypy nedbat-sandbox: close merged branch

2011-12-11 Thread fijal
Author: Maciej Fijalkowski Branch: nedbat-sandbox Changeset: r50368:2eb520555de5 Date: 2011-12-11 12:30 +0200 http://bitbucket.org/pypy/pypy/changeset/2eb520555de5/ Log:close merged branch ___ pypy-commit mailing list [email protected] http://

[pypy-commit] pypy SpecialisedTuples: Dead import

2011-12-11 Thread arigo
Author: Armin Rigo Branch: SpecialisedTuples Changeset: r50369:1c9dc407966c Date: 2011-12-11 11:28 +0100 http://bitbucket.org/pypy/pypy/changeset/1c9dc407966c/ Log:Dead import diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/pypy/module/cpyext/metho

[pypy-commit] pypy SpecialisedTuples: Fix: make sure that PySequence_Fast() returns a W_ListObject

2011-12-11 Thread arigo
Author: Armin Rigo Branch: SpecialisedTuples Changeset: r50370:5e1080705d7c Date: 2011-12-11 11:29 +0100 http://bitbucket.org/pypy/pypy/changeset/5e1080705d7c/ Log:Fix: make sure that PySequence_Fast() returns a W_ListObject or a W_TupleObject, not just some object of type list or tup

[pypy-commit] pypy SpecialisedTuples: Typo.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: SpecialisedTuples Changeset: r50371:0b382030a9e9 Date: 2011-12-11 11:36 +0100 http://bitbucket.org/pypy/pypy/changeset/0b382030a9e9/ Log:Typo. diff --git a/pypy/module/cpyext/sequence.py b/pypy/module/cpyext/sequence.py --- a/pypy/module/cpyext/sequence.py +++ b/py

[pypy-commit] pypy jit-targets: clone the short_boxes to allow it to be reused in some fallabck if the first athempt to optimize fails

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50372:3b4f0126fae2 Date: 2011-12-11 12:41 +0100 http://bitbucket.org/pypy/pypy/changeset/3b4f0126fae2/ Log:clone the short_boxes to allow it to be reused in some fallabck if the first athempt to optimize fails diff --git a/pypy/jit/m

[pypy-commit] pypy jit-targets: hg merge default

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50373:ebf413fc4faa Date: 2011-12-11 12:42 +0100 http://bitbucket.org/pypy/pypy/changeset/ebf413fc4faa/ Log:hg merge default diff --git a/pypy/module/_hashlib/test/test_hashlib.py b/pypy/module/_hashlib/test/test_hashlib.py --- a/pypy/module

[pypy-commit] pypy default: Fix: _hashlib was just broken for any non-standard hash function.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50375:2e5b6dce5753 Date: 2011-12-11 12:48 +0100 http://bitbucket.org/pypy/pypy/changeset/2e5b6dce5753/ Log:Fix: _hashlib was just broken for any non-standard hash function. Small extra clean-ups. diff --git a/pypy/module/_hashlib/interp_hashli

[pypy-commit] pypy default: Fix. The testing framework was happily accepting app-level methods

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50374:0d499a1ce192 Date: 2011-12-11 12:24 +0100 http://bitbucket.org/pypy/pypy/changeset/0d499a1ce192/ Log:Fix. The testing framework was happily accepting app-level methods that are generators, and then running the yielded functions at

[pypy-commit] pypy SpecialisedTuples: Update the demo.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: SpecialisedTuples Changeset: r50376:f07d5e9e9d7a Date: 2011-12-11 12:50 +0100 http://bitbucket.org/pypy/pypy/changeset/f07d5e9e9d7a/ Log:Update the demo. diff --git a/pypy/jit/tl/pypyjit_demo.py b/pypy/jit/tl/pypyjit_demo.py --- a/pypy/jit/tl/pypyjit_demo.py +++ b/

[pypy-commit] pypy default: Merge the SpecialisedTuples branch, started by Mark W. P.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50378:0808b0899c34 Date: 2011-12-11 13:22 +0100 http://bitbucket.org/pypy/pypy/changeset/0808b0899c34/ Log:Merge the SpecialisedTuples branch, started by Mark W. P. Add a number of interp-level classes for 'tuple', specialized to some s

[pypy-commit] pypy default: hg backout 3eba2ed546ad

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50379:1c29f19cb8d7 Date: 2011-12-11 13:33 +0100 http://bitbucket.org/pypy/pypy/changeset/1c29f19cb8d7/ Log:hg backout 3eba2ed546ad Does not translate. The issue is that to_builtin_type() is not RPython: the result of self.unbox

[pypy-commit] pypy default: Hopefully fix test_pypy_c:test_call:test_stararg_virtual, by forcing

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50380:f0e6f9c06870 Date: 2011-12-11 13:49 +0100 http://bitbucket.org/pypy/pypy/changeset/f0e6f9c06870/ Log:Hopefully fix test_pypy_c:test_call:test_stararg_virtual, by forcing getitems_fixedsize() to unroll small constant-length lists. diff --g

[pypy-commit] pypy default: Wrap(r_singlefloat) is not supported by the std obj space either.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50381:20cf388f70b8 Date: 2011-12-11 14:11 +0100 http://bitbucket.org/pypy/pypy/changeset/20cf388f70b8/ Log:Wrap(r_singlefloat) is not supported by the std obj space either. diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py --

[pypy-commit] pypy default: fix

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50382:b56d8ea76b88 Date: 2011-12-11 15:09 +0100 http://bitbucket.org/pypy/pypy/changeset/b56d8ea76b88/ Log:fix diff --git a/pypy/module/_continuation/test/test_translated.py b/pypy/module/_continuation/test/test_translated.py --- a/pypy/module/_contin

[pypy-commit] pypy SpecialisedTuples: close branch

2011-12-11 Thread arigo
Author: Armin Rigo Branch: SpecialisedTuples Changeset: r50383:a48a35a5c618 Date: 2011-12-11 15:10 +0100 http://bitbucket.org/pypy/pypy/changeset/a48a35a5c618/ Log:close branch ___ pypy-commit mailing list [email protected] http://mail.python.

[pypy-commit] pypy jit-targets: hg merge default

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50386:853be60223ac Date: 2011-12-11 15:19 +0100 http://bitbucket.org/pypy/pypy/changeset/853be60223ac/ Log:hg merge default diff --git a/pypy/module/_continuation/test/test_translated.py b/pypy/module/_continuation/test/test_translated.py -

[pypy-commit] pypy jit-targets: a bit more cloning to get a short_preamble for the fallback that does not contain ops from the failed optimization attempt

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50384:4c3b1c0a071a Date: 2011-12-11 14:23 +0100 http://bitbucket.org/pypy/pypy/changeset/4c3b1c0a071a/ Log:a bit more cloning to get a short_preamble for the fallback that does not contain ops from the failed optimization attempt dif

[pypy-commit] pypy jit-targets: hg merge default

2011-12-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r50385:988827261d3c Date: 2011-12-11 14:25 +0100 http://bitbucket.org/pypy/pypy/changeset/988827261d3c/ Log:hg merge default diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/

[pypy-commit] [OPEN] Pull request #18 for pypy/pypy: Adds string constructors to ints and floats

2011-12-11 Thread Bitbucket
A new pull request has been opened by Jeff Terrace. jterrace/pypy has changes to be pulled into pypy/pypy. https://bitbucket.org/pypy/pypy/pull-request/18/adds-string-constructors-to-ints-and Title: Adds string constructors to ints and floats # Added tests for (u)int8-(u)int64 and float32/float

[pypy-commit] pypy default: Added a FAQ entry.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50388:b2c92d4e8383 Date: 2011-12-11 18:32 +0100 http://bitbucket.org/pypy/pypy/changeset/b2c92d4e8383/ Log:Added a FAQ entry. diff --git a/pypy/doc/faq.rst b/pypy/doc/faq.rst --- a/pypy/doc/faq.rst +++ b/pypy/doc/faq.rst @@ -112,10 +112,32 @@ You migh

[pypy-commit] pypy default: Recommit the tolist() for numpy stuff, now that it translates.

2011-12-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r50389:cf00150bde7c Date: 2011-12-11 13:31 -0500 http://bitbucket.org/pypy/pypy/changeset/cf00150bde7c/ Log:Recommit the tolist() for numpy stuff, now that it translates. diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/int

[pypy-commit] extradoc extradoc: Put a compiled version of this paper in.

2011-12-11 Thread alex_gaynor
Author: Alex Gaynor Branch: extradoc Changeset: r3981:dd2f021e2aa1 Date: 2011-12-11 15:03 -0500 http://bitbucket.org/pypy/extradoc/changeset/dd2f021e2aa1/ Log:Put a compiled version of this paper in. diff --git a/talk/iwtc11/licm.pdf b/talk/iwtc11/licm.pdf new file mode 100644 index 000

[pypy-commit] pypy default: fix comment

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50390:a83bd631dde3 Date: 2011-12-11 19:03 +0100 http://bitbucket.org/pypy/pypy/changeset/a83bd631dde3/ Log:fix comment diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backend/llgraph/runner.py --- a/pypy/jit/backend/llgraph/runner.py +++ b/

[pypy-commit] pypy jit-simplify-backendintf: Fixed virtualizables.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50391:ab500e92817c Date: 2011-12-11 21:05 +0100 http://bitbucket.org/pypy/pypy/changeset/ab500e92817c/ Log:Fixed virtualizables. diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/jit/metaint

[pypy-commit] pypy jit-simplify-backendintf: Fix test.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50394:6ea88ccf9778 Date: 2011-12-11 21:21 +0100 http://bitbucket.org/pypy/pypy/changeset/6ea88ccf9778/ Log:Fix test. diff --git a/pypy/jit/metainterp/test/test_tl.py b/pypy/jit/metainterp/test/test_tl.py --- a/pypy/jit/metainte

[pypy-commit] pypy jit-simplify-backendintf: Fix for compile_tmp_callback().

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50392:f9e61788fa85 Date: 2011-12-11 21:08 +0100 http://bitbucket.org/pypy/pypy/changeset/f9e61788fa85/ Log:Fix for compile_tmp_callback(). diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/j

[pypy-commit] pypy jit-simplify-backendintf: Translation fixes (front-end only so far).

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50395:874a608a3377 Date: 2011-12-11 21:28 +0100 http://bitbucket.org/pypy/pypy/changeset/874a608a3377/ Log:Translation fixes (front-end only so far). diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backend/llgraph/ru

[pypy-commit] pypy jit-simplify-backendintf: Fix test.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50393:c87a6c079a01 Date: 2011-12-11 21:10 +0100 http://bitbucket.org/pypy/pypy/changeset/c87a6c079a01/ Log:Fix test. diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py --- a/pypy/jit/backen

[pypy-commit] pypy jit-simplify-backendintf: Fix test.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50396:3481aa4226dc Date: 2011-12-11 21:56 +0100 http://bitbucket.org/pypy/pypy/changeset/3481aa4226dc/ Log:Fix test. diff --git a/pypy/jit/metainterp/test/test_warmspot.py b/pypy/jit/metainterp/test/test_warmspot.py --- a/pypy/

[pypy-commit] pypy default: merge heads

2011-12-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r50397:6fb87770b5d2 Date: 2011-12-11 21:57 +0100 http://bitbucket.org/pypy/pypy/changeset/6fb87770b5d2/ Log:merge heads diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/interp_boxes.py --- a/pypy/module/micronumpy/interp_box

[pypy-commit] pypy jit-simplify-backendintf: In-progress

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50400:2bc80fdea1c1 Date: 2011-12-11 22:37 +0100 http://bitbucket.org/pypy/pypy/changeset/2bc80fdea1c1/ Log:In-progress diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backend/llgraph/runner.py --- a/pypy/jit/backend/

[pypy-commit] pypy jit-simplify-backendintf: Switch to a less magical way of specializing execute_token(),

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50398:82684fd1231e Date: 2011-12-11 22:24 +0100 http://bitbucket.org/pypy/pypy/changeset/82684fd1231e/ Log:Switch to a less magical way of specializing execute_token(), one which has a chance to work in a real backend too

[pypy-commit] pypy jit-simplify-backendintf: fix

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50399:c1bad6dee4e2 Date: 2011-12-11 22:27 +0100 http://bitbucket.org/pypy/pypy/changeset/c1bad6dee4e2/ Log:fix diff --git a/pypy/jit/backend/model.py b/pypy/jit/backend/model.py --- a/pypy/jit/backend/model.py +++ b/pypy/jit/bac

[pypy-commit] pypy jit-simplify-backendintf: Kill.

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50401:9677e2ec7aef Date: 2011-12-11 22:41 +0100 http://bitbucket.org/pypy/pypy/changeset/9677e2ec7aef/ Log:Kill. diff --git a/pypy/jit/backend/x86/runner.py b/pypy/jit/backend/x86/runner.py --- a/pypy/jit/backend/x86/runner.py +

[pypy-commit] pypy jit-simplify-backendintf: In-progress. Three complicated and long functions are gone :-)

2011-12-11 Thread arigo
Author: Armin Rigo Branch: jit-simplify-backendintf Changeset: r50402:a4f5ba4d79b4 Date: 2011-12-11 23:42 +0100 http://bitbucket.org/pypy/pypy/changeset/a4f5ba4d79b4/ Log:In-progress. Three complicated and long functions are gone :-) diff --git a/pypy/jit/backend/llsupport/regalloc.py b/pyp