[pypy-commit] [COMMENT] Pull request #8 for pypy/pypy: added numpy.sort, tests, and docstring for numpy.array.sort

2011-09-30 Thread Bitbucket
New comment on pull request: https://bitbucket.org/pypy/pypy/pull-request/8/added-numpysort-tests-and-docstring-for#comment-250 yasirs said: I abandoned it assuming these features should be added after merging the dtypes branch after reading Alex's comments. I'd still like to work on numpy dev

[pypy-commit] pypy lightweight-finalizers: use the interface for tests

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47736:155952cafe97 Date: 2011-09-30 19:04 -0300 http://bitbucket.org/pypy/pypy/changeset/155952cafe97/ Log:use the interface for tests diff --git a/pypy/rlib/rsocket.py b/pypy/rlib/rsocket.py --- a/pypy/rlib/rsocket.py +++

[pypy-commit] pypy lightweight-finalizers: fix translation. I don't think this case can happen in practice though, no

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47735:e1e51f303ca9 Date: 2011-09-30 19:00 -0300 http://bitbucket.org/pypy/pypy/changeset/e1e51f303ca9/ Log:fix translation. I don't think this case can happen in practice though, no test. diff --git a/pypy/rpython/

[pypy-commit] pypy lightweight-finalizers: make test_translated_gc happy

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47734:e1db6077ba7e Date: 2011-09-30 18:49 -0300 http://bitbucket.org/pypy/pypy/changeset/e1db6077ba7e/ Log:make test_translated_gc happy diff --git a/pypy/annotation/builtin.py b/pypy/annotation/builtin.py --- a/pypy/annot

[pypy-commit] pypy default: unroll int_pow if the pow and mod are constant. (based on observing what GCC does)

2011-09-30 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47733:b12f33d4cb6b Date: 2011-09-30 16:47 -0400 http://bitbucket.org/pypy/pypy/changeset/b12f33d4cb6b/ Log:unroll int_pow if the pow and mod are constant. (based on observing what GCC does) diff --git a/pypy/objspace/std/intobject.py b/pypy/ob

[pypy-commit] pypy gil-improvement: Port the code. Trying with a random but larger value for

2011-09-30 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47732:c9ecb31b1680 Date: 2011-09-30 22:41 +0200 http://bitbucket.org/pypy/pypy/changeset/c9ecb31b1680/ Log:Port the code. Trying with a random but larger value for sys.checkinterval; will experiment more. diff --git a/pypy/interp

[pypy-commit] pypy stm: Allow (and ignore) nested descriptor_init()s.

2011-09-30 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47730:95f9547d2668 Date: 2011-09-27 22:30 +0200 http://bitbucket.org/pypy/pypy/changeset/95f9547d2668/ Log:Allow (and ignore) nested descriptor_init()s. diff --git a/pypy/translator/stm/src_stm/et.c b/pypy/translator/stm/src_stm/et.c --- a/pypy/tran

[pypy-commit] pypy gil-improvement: A branch in which to apply

2011-09-30 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47731:4e7771165dbb Date: 2011-09-30 19:14 +0200 http://bitbucket.org/pypy/pypy/changeset/4e7771165dbb/ Log:A branch in which to apply https://bitbucket.org/arigo/arigo/raw/default/hack/stm/misc ___

[pypy-commit] pypy stm: Fix the test.

2011-09-30 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47729:48df9339565e Date: 2011-09-27 22:28 +0200 http://bitbucket.org/pypy/pypy/changeset/48df9339565e/ Log:Fix the test. diff --git a/pypy/translator/stm/test/test_rffi_stm.py b/pypy/translator/stm/test/test_rffi_stm.py --- a/pypy/translator/stm/te

[pypy-commit] pypy stm: Improve comment.

2011-09-30 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r47728:8fa1184ad191 Date: 2011-09-27 22:08 +0200 http://bitbucket.org/pypy/pypy/changeset/8fa1184ad191/ Log:Improve comment. diff --git a/pypy/translator/stm/rstm.py b/pypy/translator/stm/rstm.py --- a/pypy/translator/stm/rstm.py +++ b/pypy/translato

[pypy-commit] pypy default: Fix TypeSubClass(object) to work like type(object)

2011-09-30 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47726:bd078728c56a Date: 2011-09-30 14:33 -0400 http://bitbucket.org/pypy/pypy/changeset/bd078728c56a/ Log:Fix TypeSubClass(object) to work like type(object) diff --git a/pypy/objspace/std/test/test_typeobject.py b/pypy/objspace/std/test/test_typeobj

[pypy-commit] pypy default: merged upstream

2011-09-30 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47725:dc61f672410a Date: 2011-09-30 14:07 -0400 http://bitbucket.org/pypy/pypy/changeset/dc61f672410a/ Log:merged upstream diff --git a/pypy/annotation/test/test_annrpython.py b/pypy/annotation/test/test_annrpython.py --- a/pypy/annotation/test/test_

[pypy-commit] pypy default: list.pop should call __int__ on its argument.

2011-09-30 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47724:298dc7122a7f Date: 2011-09-30 14:06 -0400 http://bitbucket.org/pypy/pypy/changeset/298dc7122a7f/ Log:list.pop should call __int__ on its argument. diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace

[pypy-commit] pypy default: Hack to ensure that ll_arraycopy gets a proper effectinfo.write_descrs_arrays

2011-09-30 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r47722:bf3f65e2b1c2 Date: 2011-09-30 19:48 +0200 http://bitbucket.org/pypy/pypy/changeset/bf3f65e2b1c2/ Log:Hack to ensure that ll_arraycopy gets a proper effectinfo.write_descrs_arrays diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py --- a/pypy

[pypy-commit] pypy default: a setslice mutates the array

2011-09-30 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r47723:631873ac63b7 Date: 2011-09-30 20:02 +0200 http://bitbucket.org/pypy/pypy/changeset/631873ac63b7/ Log:a setslice mutates the array diff --git a/pypy/annotation/test/test_annrpython.py b/pypy/annotation/test/test_annrpython.py --- a/pypy/annotatio

[pypy-commit] pypy ppc-jit-backend: Adopted gen_descr_encoding from ARM backend and applied

2011-09-30 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r47721:72bc90d0a73b Date: 2011-09-30 18:44 +0200 http://bitbucket.org/pypy/pypy/changeset/72bc90d0a73b/ Log:Adopted gen_descr_encoding from ARM backend and applied fix to a problem that occured when allocating memory for guard encodings

[pypy-commit] extradoc extradoc: merge default

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r3919:98beef48b53c Date: 2011-09-30 12:57 -0300 http://bitbucket.org/pypy/extradoc/changeset/98beef48b53c/ Log:merge default diff --git a/blog/draft/numpy-statups-update.rst b/blog/draft/numpy-statups-update.rst new file mode 100644 ---

[pypy-commit] extradoc extradoc: update

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r3918:a9c207f83b8d Date: 2011-09-30 12:52 -0300 http://bitbucket.org/pypy/extradoc/changeset/a9c207f83b8d/ Log:update diff --git a/talk/pyconbr2011/author.latex b/talk/pyconbr2011/author.latex --- a/talk/pyconbr2011/author.latex +++ b/ta

[pypy-commit] pypy lightweight-finalizers: implement in minimark

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47720:3ed151f19bd2 Date: 2011-09-30 11:56 -0300 http://bitbucket.org/pypy/pypy/changeset/3ed151f19bd2/ Log:implement in minimark diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py --- a/p

[pypy-commit] pypy lightweight-finalizers: improve the test and fix it

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47719:1d3fe3419101 Date: 2011-09-30 11:41 -0300 http://bitbucket.org/pypy/pypy/changeset/1d3fe3419101/ Log:improve the test and fix it diff --git a/pypy/rpython/memory/gc/generation.py b/pypy/rpython/memory/gc/generation.

[pypy-commit] pypy lightweight-finalizers: Make it work with generation & hybrid. Improve the test

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47718:f290c558b3be Date: 2011-09-30 11:31 -0300 http://bitbucket.org/pypy/pypy/changeset/f290c558b3be/ Log:Make it work with generation & hybrid. Improve the test diff --git a/pypy/rpython/memory/gc/base.py b/pypy/rpython/

[pypy-commit] pypy lightweight-finalizers: semispace support

2011-09-30 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r47717:a71ab91a7f4c Date: 2011-09-30 11:16 -0300 http://bitbucket.org/pypy/pypy/changeset/a71ab91a7f4c/ Log:semispace support diff --git a/pypy/rpython/memory/gc/semispace.py b/pypy/rpython/memory/gc/semispace.py --- a/pyp

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz): this needs an equivalent look_inside_iff

2011-09-30 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47716:d09c1d4594e4 Date: 2011-09-30 15:57 +0200 http://bitbucket.org/pypy/pypy/changeset/d09c1d4594e4/ Log:(l.diekmann, cfbolz): this needs an equivalent look_inside_iff diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/st

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz): this list is now an integer list

2011-09-30 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47715:5f833273693d Date: 2011-09-30 15:56 +0200 http://bitbucket.org/pypy/pypy/changeset/5f833273693d/ Log:(l.diekmann, cfbolz): this list is now an integer list diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py b/pypy/modul

[pypy-commit] pypy list-strategies: unroll get_strategy_from_objects if the list is constant and small

2011-09-30 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47714:d79089a32b7e Date: 2011-09-30 15:16 +0200 http://bitbucket.org/pypy/pypy/changeset/d79089a32b7e/ Log:unroll get_strategy_from_objects if the list is constant and small diff --git a/pypy/objspace/std/listobject.py b/pypy/objspac

[pypy-commit] pypy arm-backend-2: fix translation

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47713:44b786acf170 Date: 2011-09-30 11:59 +0200 http://bitbucket.org/pypy/pypy/changeset/44b786acf170/ Log:fix translation diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/jit/backend/arm/

[pypy-commit] pypy arm-backend-2: fix test

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47712:1bb3d419cca5 Date: 2011-09-30 11:59 +0200 http://bitbucket.org/pypy/pypy/changeset/1bb3d419cca5/ Log:fix test diff --git a/pypy/jit/backend/arm/test/test_regalloc.py b/pypy/jit/backend/arm/test/test_regalloc.py --- a/pypy/jit/b

[pypy-commit] pypy arm-backend-2: refactor and test regalloc_push

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47709:99de51bb629b Date: 2011-09-29 16:06 +0200 http://bitbucket.org/pypy/pypy/changeset/99de51bb629b/ Log:refactor and test regalloc_push diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/

[pypy-commit] pypy arm-backend-2: fix for exception propagation

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47702:c2d7db47c6d7 Date: 2011-09-22 10:49 +0200 http://bitbucket.org/pypy/pypy/changeset/c2d7db47c6d7/ Log:fix for exception propagation diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/ji

[pypy-commit] pypy arm-backend-2: test and refactor regalloc_pop

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47711:3fba66f3639e Date: 2011-09-29 17:08 +0200 http://bitbucket.org/pypy/pypy/changeset/3fba66f3639e/ Log:test and refactor regalloc_pop diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/j

[pypy-commit] pypy arm-backend-2: fix tests

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47710:90c03da94722 Date: 2011-09-29 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/90c03da94722/ Log:fix tests diff --git a/pypy/jit/backend/arm/test/test_gc_integration.py b/pypy/jit/backend/arm/test/test_gc_integration.py ---

[pypy-commit] pypy arm-backend-2: refactor and test mov_to_vfp_loc

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47708:2c2975a81d25 Date: 2011-09-29 14:33 +0200 http://bitbucket.org/pypy/pypy/changeset/2c2975a81d25/ Log:refactor and test mov_to_vfp_loc diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy

[pypy-commit] pypy arm-backend-2: test and refactor mov_from_vfp_loc

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47707:6b54c5d93928 Date: 2011-09-29 14:24 +0200 http://bitbucket.org/pypy/pypy/changeset/6b54c5d93928/ Log:test and refactor mov_from_vfp_loc diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/py

[pypy-commit] pypy arm-backend-2: also support REF types

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47706:ffb8697a5a63 Date: 2011-09-29 14:23 +0200 http://bitbucket.org/pypy/pypy/changeset/ffb8697a5a63/ Log:also support REF types diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/jit/backe

[pypy-commit] pypy arm-backend-2: add more tests for unsupported cases when moving between locations

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47705:222f53104914 Date: 2011-09-29 13:10 +0200 http://bitbucket.org/pypy/pypy/changeset/222f53104914/ Log:add more tests for unsupported cases when moving between locations diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/b

[pypy-commit] pypy arm-backend-2: refactor regalloc_mov, create separate methods for different casese and add tests checking the generated instructions and also add tests that check that the not suppo

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47704:9f76d024fa8d Date: 2011-09-29 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/9f76d024fa8d/ Log:refactor regalloc_mov, create separate methods for different casese and add tests checking the generated instructions an

[pypy-commit] pypy arm-backend-2: fix tests

2011-09-30 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r47703:d30b03c1a38e Date: 2011-09-23 09:17 +0200 http://bitbucket.org/pypy/pypy/changeset/d30b03c1a38e/ Log:fix tests diff --git a/pypy/jit/backend/arm/test/test_calling_convention.py b/pypy/jit/backend/arm/test/test_calling_conventio

[pypy-commit] pypy list-strategies: document the new behaviour

2011-09-30 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47700:949dbd6aba1e Date: 2011-09-30 11:09 +0200 http://bitbucket.org/pypy/pypy/changeset/949dbd6aba1e/ Log:document the new behaviour diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst --- a/pypy/do

[pypy-commit] pypy list-strategies: skip tests under certain circumstances

2011-09-30 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47701:9d84a22aa5fe Date: 2011-09-30 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/9d84a22aa5fe/ Log:skip tests under certain circumstances diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj