[pypy-commit] pypy py3k: remove __builtins__._issubtype

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r50742:6ae88cc085dc Date: 2011-12-19 23:47 +0100 http://bitbucket.org/pypy/pypy/changeset/6ae88cc085dc/ Log:remove __builtins__._issubtype diff --git a/pypy/module/__builtin__/__init__.py b/pypy/module/__builtin__/__init__.py --- a/pypy/m

[pypy-commit] pypy py3k: Exception checks are not abstract anymore

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r50741:ed5224a1b668 Date: 2011-12-19 23:33 +0100 http://bitbucket.org/pypy/pypy/changeset/ed5224a1b668/ Log:Exception checks are not abstract anymore diff --git a/pypy/module/__builtin__/__init__.py b/pypy/module/__builtin__/__init__.py -

[pypy-commit] pypy py3k: Implement range slices, and test getitem with large numbers

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r50738:9e845f84d41f Date: 2011-12-19 22:49 +0100 http://bitbucket.org/pypy/pypy/changeset/9e845f84d41f/ Log:Implement range slices, and test getitem with large numbers diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__bui

[pypy-commit] pypy py3k: Update _sha1 because of True Division

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r50737:ed43cc10a928 Date: 2011-12-19 17:15 +0100 http://bitbucket.org/pypy/pypy/changeset/ed43cc10a928/ Log:Update _sha1 because of True Division diff --git a/lib_pypy/_sha1.py b/lib_pypy/_sha1.py --- a/lib_pypy/_sha1.py +++ b/lib_pypy/_sh

[pypy-commit] pypy py3k: Kill more code related to old-style classes

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r50739:957bcdcb424d Date: 2011-12-19 23:26 +0100 http://bitbucket.org/pypy/pypy/changeset/957bcdcb424d/ Log:Kill more code related to old-style classes diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/

[pypy-commit] pypy py3k: - range() object now allows large numbers above sys.maxint

2011-12-19 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r50736:3a17a31ac77a Date: 2011-12-19 17:15 +0100 http://bitbucket.org/pypy/pypy/changeset/3a17a31ac77a/ Log:- range() object now allows large numbers above sys.maxint - add range.count and range.__contains__ diff --git a/pypy/modul

[pypy-commit] pypy refactor-signature: my review notes

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: refactor-signature Changeset: r50735:feddaef940ac Date: 2011-12-19 18:11 -0600 http://bitbucket.org/pypy/pypy/changeset/feddaef940ac/ Log:my review notes diff --git a/pypy/module/micronumpy/REVIEW.txt b/pypy/module/micronumpy/REVIEW.txt new file mode 100644 --- /

[pypy-commit] pypy refactor-signature: kill 2 pieces of dead code.

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: refactor-signature Changeset: r50734:d628f620b13e Date: 2011-12-19 18:10 -0600 http://bitbucket.org/pypy/pypy/changeset/d628f620b13e/ Log:kill 2 pieces of dead code. diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.p

[pypy-commit] pypy refactor-signature: merged upstream

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: refactor-signature Changeset: r50733:a42e683256d3 Date: 2011-12-19 17:27 -0600 http://bitbucket.org/pypy/pypy/changeset/a42e683256d3/ Log:merged upstream diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py --- a/pypy/objspace/fake/objspace

[pypy-commit] pypy refactor-signature: fixed tests (ugly!)

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: refactor-signature Changeset: r50732:6b7fcfaea904 Date: 2011-12-19 17:27 -0600 http://bitbucket.org/pypy/pypy/changeset/6b7fcfaea904/ Log:fixed tests (ugly!) diff --git a/pypy/module/micronumpy/test/test_ztranslation.py b/pypy/module/micronumpy/test/test_ztransla

[pypy-commit] pypy refactor-signature: make it not print everything

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50731:1531f3617e45 Date: 2011-12-20 00:32 +0200 http://bitbucket.org/pypy/pypy/changeset/1531f3617e45/ Log:make it not print everything diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py --- a/pypy/ob

[pypy-commit] pypy refactor-signature: hopefully fix translation

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50730:04190107c193 Date: 2011-12-20 00:22 +0200 http://bitbucket.org/pypy/pypy/changeset/04190107c193/ Log:hopefully fix translation diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numar

[pypy-commit] pypy refactor-signature: mergedupstream

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: refactor-signature Changeset: r50728:a3d170151dfd Date: 2011-12-19 16:05 -0600 http://bitbucket.org/pypy/pypy/changeset/a3d170151dfd/ Log:mergedupstream diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py --- a

[pypy-commit] pypy refactor-signature: merged upstream

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: refactor-signature Changeset: r50727:f6d18f175eda Date: 2011-12-19 16:04 -0600 http://bitbucket.org/pypy/pypy/changeset/f6d18f175eda/ Log:merged upstream diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy

[pypy-commit] pypy refactor-signature: a missing test

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50725:ace20e87f32a Date: 2011-12-20 00:03 +0200 http://bitbucket.org/pypy/pypy/changeset/ace20e87f32a/ Log:a missing test diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.p

[pypy-commit] pypy refactor-signature: We require flatiter to force the array for now

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50724:993a31c296bb Date: 2011-12-20 00:00 +0200 http://bitbucket.org/pypy/pypy/changeset/993a31c296bb/ Log:We require flatiter to force the array for now diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/mi

[pypy-commit] pypy refactor-signature: fix the test

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50723:82c25e00eebe Date: 2011-12-19 23:31 +0200 http://bitbucket.org/pypy/pypy/changeset/82c25e00eebe/ Log:fix the test diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/

[pypy-commit] pypy refactor-signature: write some tests. They expose a bug

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50722:a063abcf2a3c Date: 2011-12-19 23:19 +0200 http://bitbucket.org/pypy/pypy/changeset/a063abcf2a3c/ Log:write some tests. They expose a bug diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy

[pypy-commit] pypy refactor-signature: kill some dead code

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50721:0426f8332cf6 Date: 2011-12-19 22:57 +0200 http://bitbucket.org/pypy/pypy/changeset/0426f8332cf6/ Log:kill some dead code diff --git a/pypy/module/micronumpy/interp_iter.py b/pypy/module/micronumpy/interp_iter.py --- a/p

[pypy-commit] pypy refactor-signature: implement virtualviews

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50719:2ab09b67b929 Date: 2011-12-19 22:51 +0200 http://bitbucket.org/pypy/pypy/changeset/2ab09b67b929/ Log:implement virtualviews diff --git a/pypy/module/micronumpy/interp_iter.py b/pypy/module/micronumpy/interp_iter.py ---

[pypy-commit] pypy refactor-signature: a necessary file that contains some helpers

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50720:7ff242fbe65f Date: 2011-12-19 22:51 +0200 http://bitbucket.org/pypy/pypy/changeset/7ff242fbe65f/ Log:a necessary file that contains some helpers diff --git a/pypy/module/micronumpy/strides.py b/pypy/module/micronumpy/st

[pypy-commit] pypy default: Make the Python StringBuilder raise exceptions in the same place as the translated one, and get str.replace in Python raising the correct exception for overlfows on 32-bits

2011-12-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r50718:196c4e9bbd48 Date: 2011-12-19 20:50 + http://bitbucket.org/pypy/pypy/changeset/196c4e9bbd48/ Log:Make the Python StringBuilder raise exceptions in the same place as the translated one, and get str.replace in Python raising the

[pypy-commit] pypy refactor-signature: kill some unused code

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50717:0ed929dcacd0 Date: 2011-12-19 20:43 +0200 http://bitbucket.org/pypy/pypy/changeset/0ed929dcacd0/ Log:kill some unused code diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.

[pypy-commit] pypy refactor-signature: rpythonization and test_zjit fixes

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50716:44fdf6f32ded Date: 2011-12-19 19:36 +0200 http://bitbucket.org/pypy/pypy/changeset/44fdf6f32ded/ Log:rpythonization and test_zjit fixes diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/int

[pypy-commit] pypy generator-in-rpython: Finish the replacement of the flow graph of generators. The behavior of

2011-12-19 Thread arigo
Author: Armin Rigo Branch: generator-in-rpython Changeset: r50714:a4906cedba52 Date: 2011-12-19 18:00 +0100 http://bitbucket.org/pypy/pypy/changeset/a4906cedba52/ Log:Finish the replacement of the flow graph of generators. The behavior of the tweaked flow graphs is not tested so far;

[pypy-commit] pypy generator-in-rpython: in-progress

2011-12-19 Thread arigo
Author: Armin Rigo Branch: generator-in-rpython Changeset: r50711:c5bd904d1a8f Date: 2011-12-19 15:58 +0100 http://bitbucket.org/pypy/pypy/changeset/c5bd904d1a8f/ Log:in-progress diff --git a/pypy/objspace/flow/flowcontext.py b/pypy/objspace/flow/flowcontext.py --- a/pypy/objspace/flow/flow

[pypy-commit] pypy generator-in-rpython: Generators work, at least in this simple test and by calling .next()

2011-12-19 Thread arigo
Author: Armin Rigo Branch: generator-in-rpython Changeset: r50715:1b3b2e3f0e18 Date: 2011-12-19 18:22 +0100 http://bitbucket.org/pypy/pypy/changeset/1b3b2e3f0e18/ Log:Generators work, at least in this simple test and by calling .next() explicitly. diff --git a/pypy/annotation/descrip

[pypy-commit] pypy generator-in-rpython: Write and test pieces of the final solution

2011-12-19 Thread arigo
Author: Armin Rigo Branch: generator-in-rpython Changeset: r50713:6fa43287fca0 Date: 2011-12-19 17:13 +0100 http://bitbucket.org/pypy/pypy/changeset/6fa43287fca0/ Log:Write and test pieces of the final solution diff --git a/pypy/translator/generator.py b/pypy/translator/generator.py new file

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

2011-12-19 Thread hakanardo
Author: Hakan Ardo Branch: jit-multilabel Changeset: r50710:ac207c29864b Date: 2011-12-19 08:07 +0100 http://bitbucket.org/pypy/pypy/changeset/ac207c29864b/ Log:hg merge default diff --git a/pypy/jit/backend/llsupport/llmodel.py b/pypy/jit/backend/llsupport/llmodel.py --- a/pypy/jit/backend

[pypy-commit] pypy default: This was meant to say (2, 6) and not (2.6), I am pretty sure.

2011-12-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r50709:b506f9eca729 Date: 2011-12-19 15:23 +0100 http://bitbucket.org/pypy/pypy/changeset/b506f9eca729/ Log:This was meant to say (2, 6) and not (2.6), I am pretty sure. Fixed, but then the test fails on top of Python 2.6... diff --git a/pypy/to

[pypy-commit] pypy refactor-signature: fix debug repr

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50708:65faee125fa5 Date: 2011-12-19 14:58 +0200 http://bitbucket.org/pypy/pypy/changeset/65faee125fa5/ Log:fix debug repr diff --git a/pypy/module/micronumpy/signature.py b/pypy/module/micronumpy/signature.py --- a/pypy/modul

[pypy-commit] pypy op_malloc_gc: Close branch before merge

2011-12-19 Thread arigo
Author: Armin Rigo Branch: op_malloc_gc Changeset: r50706:e5cd68baa3d1 Date: 2011-12-19 13:49 +0100 http://bitbucket.org/pypy/pypy/changeset/e5cd68baa3d1/ Log:Close branch before merge ___ pypy-commit mailing list [email protected] http://mail

[pypy-commit] pypy refactor-signature: reinstitute broadcast - no code addition

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50705:0ce8fad59c36 Date: 2011-12-19 14:51 +0200 http://bitbucket.org/pypy/pypy/changeset/0ce8fad59c36/ Log:reinstitute broadcast - no code addition diff --git a/pypy/module/micronumpy/interp_iter.py b/pypy/module/micronumpy/i

[pypy-commit] pypy refactor-signature: simplify and remove ForcedSignature alltogether

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50704:3dbc54249ed3 Date: 2011-12-19 14:37 +0200 http://bitbucket.org/pypy/pypy/changeset/3dbc54249ed3/ Log:simplify and remove ForcedSignature alltogether diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/m

[pypy-commit] pypy op_malloc_gc: fix

2011-12-19 Thread arigo
Author: Armin Rigo Branch: op_malloc_gc Changeset: r50703:4b7166b905f8 Date: 2011-12-19 13:32 +0100 http://bitbucket.org/pypy/pypy/changeset/4b7166b905f8/ Log:fix diff --git a/pypy/jit/metainterp/test/test_executor.py b/pypy/jit/metainterp/test/test_executor.py --- a/pypy/jit/metainterp/tes

[pypy-commit] pypy refactor-signature: unify Broadcast and View

2011-12-19 Thread fijal
Author: Maciej Fijalkowski Branch: refactor-signature Changeset: r50702:2d23987ef2d2 Date: 2011-12-19 14:18 +0200 http://bitbucket.org/pypy/pypy/changeset/2d23987ef2d2/ Log:unify Broadcast and View diff --git a/pypy/module/micronumpy/interp_iter.py b/pypy/module/micronumpy/interp_iter.py --

[pypy-commit] pypy op_malloc_gc: - choose an arbitrary upper limit, and beyond it, generate a regular

2011-12-19 Thread arigo
Author: Armin Rigo Branch: op_malloc_gc Changeset: r50701:5467c010ecde Date: 2011-12-19 09:40 +0100 http://bitbucket.org/pypy/pypy/changeset/5467c010ecde/ Log:- choose an arbitrary upper limit, and beyond it, generate a regular malloc_array even if the length is constant - fi

[pypy-commit] pypy op_malloc_gc: Fix on 64-bit

2011-12-19 Thread arigo
Author: Armin Rigo Branch: op_malloc_gc Changeset: r50700:3ab2729fe2b1 Date: 2011-12-19 09:13 +0100 http://bitbucket.org/pypy/pypy/changeset/3ab2729fe2b1/ Log:Fix on 64-bit diff --git a/pypy/jit/backend/llsupport/test/test_rewrite.py b/pypy/jit/backend/llsupport/test/test_rewrite.py --- a/p

[pypy-commit] pypy op_malloc_gc: fix

2011-12-19 Thread arigo
Author: Armin Rigo Branch: op_malloc_gc Changeset: r50699:83ec8d8b7000 Date: 2011-12-19 09:11 +0100 http://bitbucket.org/pypy/pypy/changeset/83ec8d8b7000/ Log:fix diff --git a/pypy/jit/backend/llsupport/rewrite.py b/pypy/jit/backend/llsupport/rewrite.py --- a/pypy/jit/backend/llsupport/rewr