[pypy-commit] pypy numpy-dtype-alt: added a failing test for raw memory with llgraph backend.

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46677:e60bd91992f3 Date: 2011-08-20 21:12 -0500 http://bitbucket.org/pypy/pypy/changeset/e60bd91992f3/ Log:added a failing test for raw memory with llgraph backend. diff --git a/pypy/jit/metainterp/test/test_rawmem.py b/pypy/jit/metain

[pypy-commit] pypy default: merge heads

2011-08-20 Thread arigo
Author: Armin Rigo Branch: Changeset: r46676:e3bdbe573e9d Date: 2011-08-20 21:56 + http://bitbucket.org/pypy/pypy/changeset/e3bdbe573e9d/ Log:merge heads diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py --- a/pypy/module/cpyext/eval.py +++ b/pypy/module/cpyext/eval.p

[pypy-commit] pypy default: Give up on this test and skip it completely.

2011-08-20 Thread arigo
Author: Armin Rigo Branch: Changeset: r46675:a54edfccf5cc Date: 2011-08-20 21:55 + http://bitbucket.org/pypy/pypy/changeset/a54edfccf5cc/ Log:Give up on this test and skip it completely. See comments. diff --git a/pypy/module/thread/test/test_ll_thread.py b/pypy/module/thread/test/test

[pypy-commit] pypy numpy-dtype-alt: fix for type coersion on unary ufuncs

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46674:612e65b4b4cb Date: 2011-08-20 16:19 -0500 http://bitbucket.org/pypy/pypy/changeset/612e65b4b4cb/ Log:fix for type coersion on unary ufuncs diff --git a/TODO.txt b/TODO.txt --- a/TODO.txt +++ b/TODO.txt @@ -1,9 +1,9 @@ TODO for me

[pypy-commit] pypy numpy-dtype-alt: signatures are fixed.

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46673:ee9fd32850fc Date: 2011-08-20 14:01 -0500 http://bitbucket.org/pypy/pypy/changeset/ee9fd32850fc/ Log:signatures are fixed. diff --git a/TODO.txt b/TODO.txt --- a/TODO.txt +++ b/TODO.txt @@ -1,7 +1,6 @@ TODO for mering numpy-dtype

[pypy-commit] pypy numpy-dtype-alt: fix translation, you can't call compute_identity_hash n a func ptr

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46672:14131dc7203e Date: 2011-08-20 14:01 -0500 http://bitbucket.org/pypy/pypy/changeset/14131dc7203e/ Log:fix translation, you can't call compute_identity_hash n a func ptr diff --git a/pypy/module/micronumpy/signature.py b/pypy/modul

[pypy-commit] pypy numpy-dtype-alt: forgotten file.

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46671:0a1d3b44dba3 Date: 2011-08-20 13:38 -0500 http://bitbucket.org/pypy/pypy/changeset/0a1d3b44dba3/ Log:forgotten file. diff --git a/pypy/module/micronumpy/signature.py b/pypy/module/micronumpy/signature.py new file mode 100644 ---

[pypy-commit] pypy numpy-dtype-alt: refactor signatures, causing a translation issue I don't understand.

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46670:16e3a4db6a1d Date: 2011-08-20 13:36 -0500 http://bitbucket.org/pypy/pypy/changeset/16e3a4db6a1d/ Log:refactor signatures, causing a translation issue I don't understand. diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/

[pypy-commit] pypy numpy-dtype-alt: a todo file for before-merge

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: numpy-dtype-alt Changeset: r46669:7fa371cd1e00 Date: 2011-08-20 12:46 -0500 http://bitbucket.org/pypy/pypy/changeset/7fa371cd1e00/ Log:a todo file for before-merge diff --git a/TODO.txt b/TODO.txt new file mode 100644 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,13 @@

[pypy-commit] pypy streamio-bufinput: got rid of the strange whence=2 code for when a MyNotImplementedError is raised. tests all still pass.

2011-08-20 Thread justinpeel
Author: Justin Peel Branch: streamio-bufinput Changeset: r46668:0a9f3a17a71d Date: 2011-08-20 09:53 -0600 http://bitbucket.org/pypy/pypy/changeset/0a9f3a17a71d/ Log:got rid of the strange whence=2 code for when a MyNotImplementedError is raised. tests all still pass. diff --git a/pyp

[pypy-commit] pypy default: Remove from stubs.py functions that are already implemented

2011-08-20 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r46667:7208c6812199 Date: 2011-08-20 14:51 +0200 http://bitbucket.org/pypy/pypy/changeset/7208c6812199/ Log:Remove from stubs.py functions that are already implemented diff --git a/pypy/module/cpyext/setobject.py b/pypy/module/cpyext/setobject

[pypy-commit] pypy default: Some setup.py scripts use __file__, pass the correct value to execfile()

2011-08-20 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r46664:dfb18fba2323 Date: 2011-08-20 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/dfb18fba2323/ Log:Some setup.py scripts use __file__, pass the correct value to execfile() diff --git a/pypy/module/cpyext/presetup.py b/pypy/mod

[pypy-commit] pypy default: Implement PySet_Contains

2011-08-20 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r4:2935df8b7559 Date: 2011-08-20 14:45 +0200 http://bitbucket.org/pypy/pypy/changeset/2935df8b7559/ Log:Implement PySet_Contains diff --git a/pypy/module/cpyext/setobject.py b/pypy/module/cpyext/setobject.py --- a/pypy/module/cpyext/setobj

[pypy-commit] pypy default: Implement Py_UNICODE_TOTITLE, Py_UNICODE_TODECIMAL, Py_UNICODE_TONUMBER, Py_UNICODE_TODIGIT.

2011-08-20 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r46665:917774b30aaa Date: 2011-08-20 14:40 +0200 http://bitbucket.org/pypy/pypy/changeset/917774b30aaa/ Log:Implement Py_UNICODE_TOTITLE, Py_UNICODE_TODECIMAL, Py_UNICODE_TONUMBER, Py_UNICODE_TODIGIT. diff --git a/pypy/module/cpyext/st

[pypy-commit] pypy default: cpyext: implement Py_CompileString and PyImport_ExecCodeModule

2011-08-20 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r46663:0a6b064ee727 Date: 2011-08-19 23:13 +0200 http://bitbucket.org/pypy/pypy/changeset/0a6b064ee727/ Log:cpyext: implement Py_CompileString and PyImport_ExecCodeModule diff --git a/pypy/module/cpyext/eval.py b/pypy/module/cpyext/eval.py ---

[pypy-commit] pypy stacklet: Attach 'parent' even if __init__ is not called, e.g. because

2011-08-20 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46662:117a9856f981 Date: 2011-08-20 11:22 +0200 http://bitbucket.org/pypy/pypy/changeset/117a9856f981/ Log:Attach 'parent' even if __init__ is not called, e.g. because it was overridden and the parent __init__ is ignored. diff --git a/l

[pypy-commit] pypy stacklet: Finish the emulation; now it should support all cases supported

2011-08-20 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46661:2824b0cd4078 Date: 2011-08-20 09:59 +0200 http://bitbucket.org/pypy/pypy/changeset/2824b0cd4078/ Log:Finish the emulation; now it should support all cases supported by greenlet.c for CPython. diff --git a/lib_pypy/greenlet.py b/li

[pypy-commit] pypy stacklet: Use _continuation.permute() at the end of _greenlet_start()

2011-08-20 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46660:577ea1cac4e2 Date: 2011-08-20 09:43 +0200 http://bitbucket.org/pypy/pypy/changeset/577ea1cac4e2/ Log:Use _continuation.permute() at the end of _greenlet_start() in order to put the parent's continuation in place. It is enough to

[pypy-commit] pypy stacklet: Adding another experimental feature, which may more primitive

2011-08-20 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46658:2a0bb6951b10 Date: 2011-08-20 08:59 +0200 http://bitbucket.org/pypy/pypy/changeset/2a0bb6951b10/ Log:Adding another experimental feature, which may more primitive than switch() and throw(). diff --git a/pypy/module/_continuation/_

[pypy-commit] pypy stacklet: No-op.

2011-08-20 Thread arigo
Author: Armin Rigo Branch: stacklet Changeset: r46659:8bd6ba28d75b Date: 2011-08-20 09:33 +0200 http://bitbucket.org/pypy/pypy/changeset/8bd6ba28d75b/ Log:No-op. diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py --- a/lib_pypy/greenlet.py +++ b/lib_pypy/greenlet.py @@ -53,7 +53,7 @@

[pypy-commit] pypy default: merged upstream

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46657:896b00199370 Date: 2011-08-20 03:27 -0500 http://bitbucket.org/pypy/pypy/changeset/896b00199370/ Log:merged upstream diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspace/std/stringobject.py +++

[pypy-commit] pypy default: Allow inlining into _collections.

2011-08-20 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46656:3d4702d44784 Date: 2011-08-20 03:26 -0500 http://bitbucket.org/pypy/pypy/changeset/3d4702d44784/ Log:Allow inlining into _collections. diff --git a/pypy/module/pypyjit/policy.py b/pypy/module/pypyjit/policy.py --- a/pypy/module/pypyjit/policy.py

[pypy-commit] pypy jit-limit_peeling: simple example where we generate 8 identical copies of the same birdge

2011-08-20 Thread hakanardo
Author: Hakan Ardo Branch: jit-limit_peeling Changeset: r46655:3863f5072920 Date: 2011-08-20 09:57 +0200 http://bitbucket.org/pypy/pypy/changeset/3863f5072920/ Log:simple example where we generate 8 identical copies of the same birdge diff --git a/pypy/jit/metainterp/test/test_ajit.p

[pypy-commit] pypy jit-limit_peeling: only skipp peeling if the optimized peeled trace have more than max_retrace_guards guards

2011-08-20 Thread hakanardo
Author: Hakan Ardo Branch: jit-limit_peeling Changeset: r46654:59a84d988cdb Date: 2011-08-20 09:28 +0200 http://bitbucket.org/pypy/pypy/changeset/59a84d988cdb/ Log:only skipp peeling if the optimized peeled trace have more than max_retrace_guards guards diff --git a/pypy/jit/metainte