[pypy-commit] pypy default: Made a bunch of guard numbers into "..." in the JIT tests so they pass consistantly. Also sprinked guard_not_invalidated in a few places, and removed a few instructions.

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45494:3b4ad4eaddf7 Date: 2011-07-11 19:50 -0700 http://bitbucket.org/pypy/pypy/changeset/3b4ad4eaddf7/ Log:Made a bunch of guard numbers into "..." in the JIT tests so they pass consistantly. Also sprinked guard_not_invalidated in a few

[pypy-commit] pypy default: Simplify code and fix translation.

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45493:b21405daef53 Date: 2011-07-11 17:40 -0700 http://bitbucket.org/pypy/pypy/changeset/b21405daef53/ Log:Simplify code and fix translation. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pyp

[pypy-commit] pypy default: Fixed argmin/max and added a jit test for argmin

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45492:1da5d7bbf8c3 Date: 2011-07-11 17:32 -0600 http://bitbucket.org/pypy/pypy/changeset/1da5d7bbf8c3/ Log:Fixed argmin/max and added a jit test for argmin diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarra

[pypy-commit] pypy default: fixed translation (hopefully)

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45491:1851161c1535 Date: 2011-07-11 16:21 -0700 http://bitbucket.org/pypy/pypy/changeset/1851161c1535/ Log:fixed translation (hopefully) diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/mod

[pypy-commit] pypy default: Simplify these loops.

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45490:b7293d2ced2b Date: 2011-07-11 16:03 -0700 http://bitbucket.org/pypy/pypy/changeset/b7293d2ced2b/ Log:Simplify these loops. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/module/micr

[pypy-commit] pypy default: fixed dot and argmax/min jit

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45489:b8b3d24c83ab Date: 2011-07-11 16:59 -0600 http://bitbucket.org/pypy/pypy/changeset/b8b3d24c83ab/ Log:fixed dot and argmax/min jit diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/modu

[pypy-commit] pypy default: merge

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45488:daa5541d43ee Date: 2011-07-11 16:46 -0600 http://bitbucket.org/pypy/pypy/changeset/daa5541d43ee/ Log:merge diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py --- a/pypy/module/pypyjit/te

[pypy-commit] pypy default: Added argmin and argmax to numpy arrays

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45487:dee586a9d707 Date: 2011-07-11 09:47 -0600 http://bitbucket.org/pypy/pypy/changeset/dee586a9d707/ Log:Added argmin and argmax to numpy arrays diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py ---

[pypy-commit] pypy default: Changed numpy array's mean method to use the sum method

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45486:61077eb4052f Date: 2011-07-11 09:26 -0600 http://bitbucket.org/pypy/pypy/changeset/61077eb4052f/ Log:Changed numpy array's mean method to use the sum method diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_

[pypy-commit] pypy default: Simplified the any and all implementations

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45485:81ace3ddd0b1 Date: 2011-07-11 09:16 -0600 http://bitbucket.org/pypy/pypy/changeset/81ace3ddd0b1/ Log:Simplified the any and all implementations diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py -

[pypy-commit] pypy default: Merged

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45484:5bb6fa8dff1c Date: 2011-07-11 08:33 -0600 http://bitbucket.org/pypy/pypy/changeset/5bb6fa8dff1c/ Log:Merged diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py b/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py ---

[pypy-commit] pypy default: Separated the any/all reduce functions for numpy arrays

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45483:b81b9f3ab263 Date: 2011-07-11 08:12 -0600 http://bitbucket.org/pypy/pypy/changeset/b81b9f3ab263/ Log:Separated the any/all reduce functions for numpy arrays diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_

[pypy-commit] pypy default: Added radd, rsub, rmul, rdiv, rpow, rmod to numpy arrays

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45482:6eb35289ed58 Date: 2011-07-10 23:32 -0600 http://bitbucket.org/pypy/pypy/changeset/6eb35289ed58/ Log:Added radd, rsub, rmul, rdiv, rpow, rmod to numpy arrays diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp

[pypy-commit] pypy default: Fixed a line in numpy array's dot method

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45481:d16e590f593a Date: 2011-07-10 23:26 -0600 http://bitbucket.org/pypy/pypy/changeset/d16e590f593a/ Log:Fixed a line in numpy array's dot method diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py ---

[pypy-commit] pypy default: Added sum, prod, max, mul, all, any, and dot to micronumpy

2011-07-11 Thread justinpeel
Author: Justin Peel Branch: Changeset: r45480:f3254e205395 Date: 2011-07-10 16:31 -0600 http://bitbucket.org/pypy/pypy/changeset/f3254e205395/ Log:Added sum, prod, max, mul, all, any, and dot to micronumpy diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/inte

[pypy-commit] pypy default: merge

2011-07-11 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r45479:ac574f367d2e Date: 2011-07-12 00:32 +0200 http://bitbucket.org/pypy/pypy/changeset/ac574f367d2e/ Log:merge diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py --- a/pypy/module/pyp

[pypy-commit] pypy default: (justinpeel, fijal) Reduce-like functions for micronumpy

2011-07-11 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r45478:516f5a4af65d Date: 2011-07-12 00:31 +0200 http://bitbucket.org/pypy/pypy/changeset/516f5a4af65d/ Log:(justinpeel, fijal) Reduce-like functions for micronumpy diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy

[pypy-commit] pypy inline-dict-ops: oops

2011-07-11 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45477:f65004e89b4d Date: 2011-07-10 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/f65004e89b4d/ Log:oops diff --git a/pypy/rlib/debug.py b/pypy/rlib/debug.py --- a/pypy/rlib/debug.py +++ b/pypy/rlib/debug.py @@ -3,7 +3,7 @

[pypy-commit] pypy inline-dict-ops: remove debug print

2011-07-11 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45476:82f517037060 Date: 2011-07-10 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/82f517037060/ Log:remove debug print diff --git a/pypy/jit/metainterp/optimizeopt/util.py b/pypy/jit/metainterp/optimizeopt/util.py --- a/p

[pypy-commit] pypy inline-dict-ops: look into this function

2011-07-11 Thread fijal
Author: Maciej Fijalkowski Branch: inline-dict-ops Changeset: r45475:f9f66c11aa58 Date: 2011-07-10 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/f9f66c11aa58/ Log:look into this function diff --git a/pypy/rpython/lltypesystem/rdict.py b/pypy/rpython/lltypesystem/rdict.py --- a/pypy/r

[pypy-commit] pypy default: (dmalcolm) Make the generated C files' names reflect the Python file they came from. Patch from Dave Malcolm, fijal did most of the review.

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45474:658bf014477b Date: 2011-07-11 15:16 -0700 http://bitbucket.org/pypy/pypy/changeset/658bf014477b/ Log:(dmalcolm) Make the generated C files' names reflect the Python file they came from. Patch from Dave Malcolm, fijal did most of the

[pypy-commit] pypy default: Specialize str.{start, end}swith for char values at the RPython level, this makes long(), and inevitably other stuff generate considerably saner code.

2011-07-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r45473:740fc1da78ad Date: 2011-07-11 14:58 -0700 http://bitbucket.org/pypy/pypy/changeset/740fc1da78ad/ Log:Specialize str.{start,end}swith for char values at the RPython level, this makes long(), and inevitably other stuff generate cons

[pypy-commit] pypy refactor-wrapped-del: Pfffff.

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45472:a528c8f27198 Date: 2011-07-11 14:36 +0200 http://bitbucket.org/pypy/pypy/changeset/a528c8f27198/ Log:Pf. diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py +++ b/pyp

[pypy-commit] pypy refactor-wrapped-del: Add a method delweakref() in addition to setweakref(), to call

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45471:6b50cfc3ea43 Date: 2011-07-11 14:22 +0200 http://bitbucket.org/pypy/pypy/changeset/6b50cfc3ea43/ Log:Add a method delweakref() in addition to setweakref(), to call from the destructor. This method should not call arbitr

[pypy-commit] pypy refactor-wrapped-del: Use the nice interface here.

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45470:717909759edc Date: 2011-07-11 14:02 +0200 http://bitbucket.org/pypy/pypy/changeset/717909759edc/ Log:Use the nice interface here. diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py --- a/

[pypy-commit] pypy refactor-wrapped-del: Refactor the creation of interp-level __del__ methods,

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45469:1605b4011b4d Date: 2011-07-11 14:02 +0200 http://bitbucket.org/pypy/pypy/changeset/1605b4011b4d/ Log:Refactor the creation of interp-level __del__ methods, with a nice interface now. diff --git a/pypy/interpreter/baseo

[pypy-commit] pypy refactor-wrapped-del: Improve error reporting.

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45468:cdd54b72b4d4 Date: 2011-07-11 12:27 +0200 http://bitbucket.org/pypy/pypy/changeset/cdd54b72b4d4/ Log:Improve error reporting. diff --git a/pypy/rpython/rclass.py b/pypy/rpython/rclass.py --- a/pypy/rpython/rclass.py +++ b/pypy

[pypy-commit] pypy refactor-wrapped-del: A test for this part too.

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45467:15f692da1705 Date: 2011-07-11 11:22 +0200 http://bitbucket.org/pypy/pypy/changeset/15f692da1705/ Log:A test for this part too. diff --git a/pypy/rlib/test/test_jit.py b/pypy/rlib/test/test_jit.py --- a/pypy/rlib/test/test_jit.

[pypy-commit] pypy refactor-wrapped-del: Detect cases were an rpython __del__ method calls "too much".

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45466:b484c65880dc Date: 2011-07-11 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/b484c65880dc/ Log:Detect cases were an rpython __del__ method calls "too much". "Too much" is undefined so far; it will be "something wi

[pypy-commit] pypy refactor-wrapped-del: A branch in which to refactor the methods __del__ of W_Roots,

2011-07-11 Thread arigo
Author: Armin Rigo Branch: refactor-wrapped-del Changeset: r45465:b9ca6b440514 Date: 2011-07-11 19:15 +0200 http://bitbucket.org/pypy/pypy/changeset/b9ca6b440514/ Log:A branch in which to refactor the methods __del__ of W_Roots, making sure that they cannot directly invoke arbitrary P

[pypy-commit] pypy reflex-support: (hager, cfbolz): this should fix the fast path ffi call again

2011-07-11 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reflex-support Changeset: r45464:156e6910a76d Date: 2011-07-11 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/156e6910a76d/ Log:(hager, cfbolz): this should fix the fast path ffi call again diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/modul

[pypy-commit] pypy reflex-support: merge heads

2011-07-11 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r45463:cc09cf376a35 Date: 2011-07-11 10:01 -0700 http://bitbucket.org/pypy/pypy/changeset/cc09cf376a35/ Log:merge heads 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/

[pypy-commit] pypy reflex-support: (arigo, wlav) allow pointer assignment on data members

2011-07-11 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r45462:8f72ce65c803 Date: 2011-07-11 09:58 -0700 http://bitbucket.org/pypy/pypy/changeset/8f72ce65c803/ Log:(arigo, wlav) allow pointer assignment on data members diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py ---

[pypy-commit] pypy reflex-support: (arigo, wlav) cleanup of array converters

2011-07-11 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r45461:85a563569b81 Date: 2011-07-11 08:45 -0700 http://bitbucket.org/pypy/pypy/changeset/85a563569b81/ Log:(arigo, wlav) cleanup of array converters diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py --- a/pyp

[pypy-commit] pypy reflex-support: (arigo, wlav) make offsets elidable functions for caching

2011-07-11 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r45460:09c4ea6784a6 Date: 2011-07-11 08:44 -0700 http://bitbucket.org/pypy/pypy/changeset/09c4ea6784a6/ Log:(arigo, wlav) make offsets elidable functions for caching diff --git a/pypy/module/cppyy/capi/cint_capi.py b/pypy/module/cppyy/

[pypy-commit] pypy reflex-support: the interface changed

2011-07-11 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reflex-support Changeset: r45459:7615354fff54 Date: 2011-07-11 17:54 +0200 http://bitbucket.org/pypy/pypy/changeset/7615354fff54/ Log:the interface changed diff --git a/pypy/jit/tl/pypyjit_demo.py b/pypy/jit/tl/pypyjit_demo.py --- a/pypy/jit/tl/pypyjit_dem

[pypy-commit] pypy reflex-support: go back to a cppyy demo

2011-07-11 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reflex-support Changeset: r45458:309c775aacde Date: 2011-07-11 15:58 +0200 http://bitbucket.org/pypy/pypy/changeset/309c775aacde/ Log:go back to a cppyy demo diff --git a/pypy/jit/tl/pypyjit_demo.py b/pypy/jit/tl/pypyjit_demo.py --- a/pypy/jit/tl/pypyjit_d

[pypy-commit] jitviewer default: Display in bold the residual calls too.

2011-07-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r143:24bc81b7de27 Date: 2011-06-26 14:02 +0200 http://bitbucket.org/pypy/jitviewer/changeset/24bc81b7de27/ Log:Display in bold the residual calls too. diff --git a/_jitviewer/parser.py b/_jitviewer/parser.py --- a/_jitviewer/parser.py +++ b/_jitviewer/p

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

2011-07-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r45457:4170cb013928 Date: 2011-07-11 12:55 +0200 http://bitbucket.org/pypy/pypy/changeset/4170cb013928/ Log:hg merge default diff --git a/lib-python/modified-2.7/test/test_descr.py b/lib-python/modified-2.7/test/test_descr.py --- a/

[pypy-commit] pypy jit-short_from_state: dissabled "trace some more on bad loop"-feature for now

2011-07-11 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r45456:d9ef2acf9e1d Date: 2011-07-11 12:54 +0200 http://bitbucket.org/pypy/pypy/changeset/d9ef2acf9e1d/ Log:dissabled "trace some more on bad loop"-feature for now diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyj

[pypy-commit] jitviewer default: actually, this is the best way to invoke it

2011-07-11 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r142:a884b72c1ff9 Date: 2011-07-11 11:53 +0200 http://bitbucket.org/pypy/jitviewer/changeset/a884b72c1ff9/ Log:actually, this is the best way to invoke it diff --git a/README b/README --- a/README +++ b/README @@ -20,5 +20,5 @@ jitviewer.py