[pypy-commit] pypy numpypy-complex2: add tests, fix for numpy.real, imag

2012-09-25 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpypy-complex2 Changeset: r57544:595e125b5022 Date: 2012-09-25 08:22 +0200 http://bitbucket.org/pypy/pypy/changeset/595e125b5022/ Log:add tests, fix for numpy.real, imag diff --git a/pypy/module/micronumpy/__init__.py

[pypy-commit] pypy default: Add missing doc

2012-09-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r57545:6be5c34d1bbd Date: 2012-09-25 09:48 +0200 http://bitbucket.org/pypy/pypy/changeset/6be5c34d1bbd/ Log:Add missing doc diff --git a/pypy/doc/config/objspace.usemodules._csv.txt b/pypy/doc/config/objspace.usemodules._csv.txt new

[pypy-commit] pypy default: Fix these tests too by forcing them to run with the old value

2012-09-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r57547:4897f95b3103 Date: 2012-09-25 09:52 +0200 http://bitbucket.org/pypy/pypy/changeset/4897f95b3103/ Log:Fix these tests too by forcing them to run with the old value 'max_unroll_loops=5'. diff --git

[pypy-commit] pypy default: Fix the test by forcing it to run with the old value 'max_unroll_loops=5'.

2012-09-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r57546:dc536a1f2a7e Date: 2012-09-25 09:50 +0200 http://bitbucket.org/pypy/pypy/changeset/dc536a1f2a7e/ Log:Fix the test by forcing it to run with the old value 'max_unroll_loops=5'. diff --git

[pypy-commit] pypy default: Fix error message

2012-09-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r57548:e31552c35f5e Date: 2012-09-25 09:54 +0200 http://bitbucket.org/pypy/pypy/changeset/e31552c35f5e/ Log:Fix error message diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/module/_cffi_backend/ctypefunc.py ---

[pypy-commit] pypy result-in-resops: use new api

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57549:b760f1493325 Date: 2012-09-23 21:00 +0200 http://bitbucket.org/pypy/pypy/changeset/b760f1493325/ Log:use new api diff --git a/pypy/jit/metainterp/optimizeopt/pure.py

[pypy-commit] pypy result-in-resops: progress on call_pure, enable operations without failargs

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57555:d889a377497c Date: 2012-09-25 09:46 +0200 http://bitbucket.org/pypy/pypy/changeset/d889a377497c/ Log:progress on call_pure, enable operations without failargs diff --git

[pypy-commit] pypy result-in-resops: have a specific arg, just for no failargs

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57556:4188cc5fd3a4 Date: 2012-09-25 09:49 +0200 http://bitbucket.org/pypy/pypy/changeset/4188cc5fd3a4/ Log:have a specific arg, just for no failargs diff --git a/pypy/jit/tool/oparser.py

[pypy-commit] pypy result-in-resops: ups, fix

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57557:639d973b33bf Date: 2012-09-25 10:38 +0200 http://bitbucket.org/pypy/pypy/changeset/639d973b33bf/ Log:ups, fix diff --git a/pypy/jit/metainterp/optimizeopt/pure.py b/pypy/jit/metainterp/optimizeopt/pure.py

[pypy-commit] pypy result-in-resops: allow specifying results

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57558:1325786a1713 Date: 2012-09-25 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/1325786a1713/ Log:allow specifying results diff --git a/pypy/jit/tool/oparser.py b/pypy/jit/tool/oparser.py ---

[pypy-commit] pypy result-in-resops: Carefully read values of boxes. Note that for call_pure this is safe, because

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57559:a68b82aa7b91 Date: 2012-09-25 11:40 +0200 http://bitbucket.org/pypy/pypy/changeset/a68b82aa7b91/ Log:Carefully read values of boxes. Note that for call_pure this is safe, because we're checking the

[pypy-commit] pypy result-in-resops: rename box to op

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57550:6a304a8b3672 Date: 2012-09-23 21:17 +0200 http://bitbucket.org/pypy/pypy/changeset/6a304a8b3672/ Log:rename box to op diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy result-in-resops: general progress

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57552:19793a568d47 Date: 2012-09-23 21:41 +0200 http://bitbucket.org/pypy/pypy/changeset/19793a568d47/ Log:general progress diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy result-in-resops: fix guard_value

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57553:18d443ccaaa7 Date: 2012-09-23 21:48 +0200 http://bitbucket.org/pypy/pypy/changeset/18d443ccaaa7/ Log:fix guard_value diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py

[pypy-commit] pypy result-in-resops: clean up some leftovers

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57554:be2372096220 Date: 2012-09-23 22:26 +0200 http://bitbucket.org/pypy/pypy/changeset/be2372096220/ Log:clean up some leftovers diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] cffi default: use udir and check in more cases

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r972:4a8e419cb16d Date: 2012-09-25 10:28 +0200 http://bitbucket.org/cffi/cffi/changeset/4a8e419cb16d/ Log:use udir and check in more cases diff --git a/testing/snippets/package/setup.py b/testing/snippets/package/setup.py new

[pypy-commit] cffi default: merge

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r973:971f7f65c5f0 Date: 2012-09-25 12:45 +0200 http://bitbucket.org/cffi/cffi/changeset/971f7f65c5f0/ Log:merge diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++ b/cffi/verifier.py @@ -97,6 +97,14 @@

[pypy-commit] pypy numpypy-complex2: translation fixes

2012-09-25 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpypy-complex2 Changeset: r57561:827effdb13bc Date: 2012-09-25 12:05 +0200 http://bitbucket.org/pypy/pypy/changeset/827effdb13bc/ Log:translation fixes diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py ---

[pypy-commit] pypy numpypy-complex2: test logical ops, does not translate

2012-09-25 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpypy-complex2 Changeset: r57560:f48afe9e685b Date: 2012-09-25 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/f48afe9e685b/ Log:test logical ops, does not translate diff --git a/pypy/module/micronumpy/interp_ufuncs.py

[pypy-commit] pypy numpypy-complex2: test, fix maximum, minimum, max, min

2012-09-25 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: numpypy-complex2 Changeset: r57562:a52995488667 Date: 2012-09-25 12:36 +0200 http://bitbucket.org/pypy/pypy/changeset/a52995488667/ Log:test, fix maximum, minimum, max, min diff --git a/pypy/module/micronumpy/interp_ufuncs.py

[pypy-commit] pypy result-in-resops: fixes to virtuals

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57564:f723c2f185c2 Date: 2012-09-25 12:04 +0200 http://bitbucket.org/pypy/pypy/changeset/f723c2f185c2/ Log:fixes to virtuals diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py

[pypy-commit] pypy result-in-resops: fix some virtual arrays

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57568:a903bb2360b8 Date: 2012-09-25 13:12 +0200 http://bitbucket.org/pypy/pypy/changeset/a903bb2360b8/ Log:fix some virtual arrays diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy result-in-resops: fix some more tests

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57563:8afb1e6b6e92 Date: 2012-09-25 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/8afb1e6b6e92/ Log:fix some more tests diff --git a/pypy/jit/metainterp/optimizeopt/pure.py

[pypy-commit] pypy result-in-resops: fix some more tests

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57565:71024b015bd8 Date: 2012-09-25 12:10 +0200 http://bitbucket.org/pypy/pypy/changeset/71024b015bd8/ Log:fix some more tests diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py

[pypy-commit] pypy result-in-resops: reintroduce InvalidLoop and fix the test

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57566:f12e3ecb63e9 Date: 2012-09-25 12:12 +0200 http://bitbucket.org/pypy/pypy/changeset/f12e3ecb63e9/ Log:reintroduce InvalidLoop and fix the test diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py

[pypy-commit] pypy result-in-resops: rename _r to _p to avoid confusion. Fix test_llgraph to new model

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57567:4b52f698f5a7 Date: 2012-09-25 13:06 +0200 http://bitbucket.org/pypy/pypy/changeset/4b52f698f5a7/ Log:rename _r to _p to avoid confusion. Fix test_llgraph to new model diff --git

[pypy-commit] pypy result-in-resops: fix some virtual arrays

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57569:ad01eda978b8 Date: 2012-09-25 13:13 +0200 http://bitbucket.org/pypy/pypy/changeset/ad01eda978b8/ Log:fix some virtual arrays diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py

[pypy-commit] pypy result-in-resops: fix new array

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57570:05b01e80d84f Date: 2012-09-25 13:26 +0200 http://bitbucket.org/pypy/pypy/changeset/05b01e80d84f/ Log:fix new array diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy result-in-resops: document some methods on resops

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57571:40aca06c97e2 Date: 2012-09-25 13:36 +0200 http://bitbucket.org/pypy/pypy/changeset/40aca06c97e2/ Log:document some methods on resops diff --git a/pypy/jit/metainterp/resoperation.py

[pypy-commit] pypy result-in-resops: bring back interning of constant refs. fix some tests

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57572:14b640a43274 Date: 2012-09-25 14:16 +0200 http://bitbucket.org/pypy/pypy/changeset/14b640a43274/ Log:bring back interning of constant refs. fix some tests diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@

[pypy-commit] pypy default: Test and fix from CPython: http://bugs.python.org/issue16013

2012-09-25 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r57573:08dbc6065004 Date: 2012-09-25 14:32 +0200 http://bitbucket.org/pypy/pypy/changeset/08dbc6065004/ Log:Test and fix from CPython: http://bugs.python.org/issue16013 diff --git a/pypy/module/_csv/interp_reader.py

[pypy-commit] pypy result-in-resops: minor fix

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57575:f2fb216e3114 Date: 2012-09-25 14:18 +0200 http://bitbucket.org/pypy/pypy/changeset/f2fb216e3114/ Log:minor fix diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py

[pypy-commit] pypy result-in-resops: (arigo) improve hashing

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57580:22a9e301efd5 Date: 2012-09-25 17:02 +0200 http://bitbucket.org/pypy/pypy/changeset/22a9e301efd5/ Log:(arigo) improve hashing diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py

[pypy-commit] pypy result-in-resops: minor fixes

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57576:e8ce09b33a6b Date: 2012-09-25 14:20 +0200 http://bitbucket.org/pypy/pypy/changeset/e8ce09b33a6b/ Log:minor fixes diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy result-in-resops: another feature of oparser

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57577:12495b247d7b Date: 2012-09-25 14:35 +0200 http://bitbucket.org/pypy/pypy/changeset/12495b247d7b/ Log:another feature of oparser diff --git a/pypy/jit/tool/oparser.py b/pypy/jit/tool/oparser.py ---

[pypy-commit] pypy result-in-resops: some fixes

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57578:8c16939c1313 Date: 2012-09-25 14:50 +0200 http://bitbucket.org/pypy/pypy/changeset/8c16939c1313/ Log:some fixes diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy result-in-resops: pass guard merges

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57579:4e11d3088518 Date: 2012-09-25 16:53 +0200 http://bitbucket.org/pypy/pypy/changeset/4e11d3088518/ Log:pass guard merges diff --git a/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy py3k: port some of the changes there are in lib-python/2.7; some tests still failing

2012-09-25 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r57582:14baa42f48e3 Date: 2012-09-25 11:50 +0200 http://bitbucket.org/pypy/pypy/changeset/14baa42f48e3/ Log:port some of the changes there are in lib-python/2.7; some tests still failing diff --git

[pypy-commit] pypy py3k: replace StringSetStrategy with UnicodeSetStrategy; earlier, we but bytes into sets but we got out strings

2012-09-25 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r57584:f12b530717ff Date: 2012-09-25 17:14 +0200 http://bitbucket.org/pypy/pypy/changeset/f12b530717ff/ Log:replace StringSetStrategy with UnicodeSetStrategy; earlier, we but bytes into sets but we got out strings diff

[pypy-commit] pypy py3k: there is no consistency between raising TypeError or AttributeError in these cases

2012-09-25 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r57581:bb8cb13add7f Date: 2012-09-25 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/bb8cb13add7f/ Log:there is no consistency between raising TypeError or AttributeError in these cases diff --git

[pypy-commit] pypy py3k: we need to put the chek for the empty set inside the try/finally, else the id() is never removed from currently_in_repr

2012-09-25 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: py3k Changeset: r57583:125172469521 Date: 2012-09-25 12:16 +0200 http://bitbucket.org/pypy/pypy/changeset/125172469521/ Log:we need to put the chek for the empty set inside the try/finally, else the id() is never removed from

[pypy-commit] extradoc extradoc: draft for a new blog post

2012-09-25 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: extradoc Changeset: r4825:d0efef205bab Date: 2012-09-25 18:01 +0200 http://bitbucket.org/pypy/extradoc/changeset/d0efef205bab/ Log:draft for a new blog post diff --git a/blog/draft/py3k-status-update-6.rst

[pypy-commit] pypy length-hint: extend now takes any object

2012-09-25 Thread pjenvey
Author: Philip Jenvey pjen...@underboss.org Branch: length-hint Changeset: r57585:9b41167a4159 Date: 2012-09-25 13:11 -0700 http://bitbucket.org/pypy/pypy/changeset/9b41167a4159/ Log:extend now takes any object diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

[pypy-commit] pypy py3k: Fix VA_COPY on 32bit platforms, this lets all cpyext run to the end.

2012-09-25 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r57586:c3f9282e1524 Date: 2012-09-25 21:24 + http://bitbucket.org/pypy/pypy/changeset/c3f9282e1524/ Log:Fix VA_COPY on 32bit platforms, this lets all cpyext run to the end. diff --git

[pypy-commit] pypy result-in-resops: go for full replacement, so we can chain them

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57587:44551643eed7 Date: 2012-09-25 17:31 +0200 http://bitbucket.org/pypy/pypy/changeset/44551643eed7/ Log:go for full replacement, so we can chain them diff --git a/pypy/jit/metainterp/optimizeopt/intbounds.py

[pypy-commit] pypy result-in-resops: fix the pure ops and some cleanups

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57588:a8e4c82af18c Date: 2012-09-25 23:39 +0200 http://bitbucket.org/pypy/pypy/changeset/a8e4c82af18c/ Log:fix the pure ops and some cleanups diff --git a/pypy/jit/metainterp/optimizeopt/intbounds.py

[pypy-commit] pypy default: Fix tests around utf8 encoding

2012-09-25 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r57589:10e2fbb7bcec Date: 2012-09-25 23:51 +0200 http://bitbucket.org/pypy/pypy/changeset/10e2fbb7bcec/ Log:Fix tests around utf8 encoding diff --git a/pypy/objspace/std/ropeunicodeobject.py

[pypy-commit] pypy default: Fix test_rpoll after the recent RSocket changes.

2012-09-25 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r57590:0242a6311ed2 Date: 2012-09-25 23:59 +0200 http://bitbucket.org/pypy/pypy/changeset/0242a6311ed2/ Log:Fix test_rpoll after the recent RSocket changes. diff --git a/pypy/rlib/test/test_rpoll.py

[pypy-commit] pypy py3k: Remove a test which does not make sense now that int==long.

2012-09-25 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: py3k Changeset: r57591:95fa50c86cb3 Date: 2012-09-26 00:28 +0200 http://bitbucket.org/pypy/pypy/changeset/95fa50c86cb3/ Log:Remove a test which does not make sense now that int==long. Also fix an old __nonzero__ method. diff

[pypy-commit] pypy result-in-resops: for clarity rename _p to _r everywhere.

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57592:7df32b18fd0e Date: 2012-09-26 00:33 +0200 http://bitbucket.org/pypy/pypy/changeset/7df32b18fd0e/ Log:for clarity rename _p to _r everywhere. diff --git a/pypy/jit/backend/llgraph/llimpl.py

[pypy-commit] pypy result-in-resops: port tests until the first virtualref and stop

2012-09-25 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: result-in-resops Changeset: r57593:907b42338eff Date: 2012-09-26 00:41 +0200 http://bitbucket.org/pypy/pypy/changeset/907b42338eff/ Log:port tests until the first virtualref and stop diff --git