[pypy-commit] pypy default: move some code arround to avoid swallowing unwanted exceptions.

2011-10-05 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r47825:cdb51e95efd2 Date: 2011-10-05 02:14 -0400 http://bitbucket.org/pypy/pypy/changeset/cdb51e95efd2/ Log:move some code arround to avoid swallowing unwanted exceptions. diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py

[pypy-commit] pypy.org extradoc: add progressbar

2011-10-05 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: extradoc Changeset: r277:f20036f73b59 Date: 2011-10-05 09:34 +0200 http://bitbucket.org/pypy/pypy.org/changeset/f20036f73b59/ Log:add progressbar diff --git a/donate1.html b/donate1.html --- a/donate1.html +++ b/donate1.html @@ -4,6 +4,20

[pypy-commit] pypy list-strategies: The ticker does not necessarily decrease by one. it depends on the trace length.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47826:4125c33b4c6c Date: 2011-10-05 10:40 +0200 http://bitbucket.org/pypy/pypy/changeset/4125c33b4c6c/ Log:The ticker does not necessarily decrease by one. it depends on the trace length. diff --git

[pypy-commit] pypy list-strategies: don't rely on the file encoding, which seems to be brittle in some situations.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47827:d9497f6bf240 Date: 2011-10-05 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/d9497f6bf240/ Log:don't rely on the file encoding, which seems to be brittle in some situations. diff --git

[pypy-commit] pypy list-strategies: making an empty wrapped list takes a lot less allocations now.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47828:92ccf911530a Date: 2011-10-05 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/92ccf911530a/ Log:making an empty wrapped list takes a lot less allocations now. diff --git

[pypy-commit] pypy list-strategies: unroll getitem as well, if the list has a constant size.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47829:d396dfd92356 Date: 2011-10-05 11:45 +0200 http://bitbucket.org/pypy/pypy/changeset/d396dfd92356/ Log:unroll getitem as well, if the list has a constant size. diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: clean up getitem variants a bit

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47830:623e452781d4 Date: 2011-10-05 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/623e452781d4/ Log:clean up getitem variants a bit diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: add a space.newlist_str method that can be used to wrap a list of unwrapped

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47832:36b7b2d1a3d8 Date: 2011-10-05 13:59 +0200 http://bitbucket.org/pypy/pypy/changeset/36b7b2d1a3d8/ Log:add a space.newlist_str method that can be used to wrap a list of unwrapped strings. implement a

[pypy-commit] pypy list-strategies: add a new space method listview_str which returns None except if the argument

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47831:547bc8141987 Date: 2011-10-05 13:29 +0200 http://bitbucket.org/pypy/pypy/changeset/547bc8141987/ Log:add a new space method listview_str which returns None except if the argument is a list using the

[pypy-commit] pypy list-strategies: that means we can now use the split in rlib.rstring

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47833:05b957a9d0ad Date: 2011-10-05 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/05b957a9d0ad/ Log:that means we can now use the split in rlib.rstring diff --git a/pypy/objspace/std/stringobject.py

[pypy-commit] pypy default: Implement sys.gettrace()

2011-10-05 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r47834:d71f4eb207d1 Date: 2011-10-05 22:00 +0200 http://bitbucket.org/pypy/pypy/changeset/d71f4eb207d1/ Log:Implement sys.gettrace() diff --git a/pypy/interpreter/executioncontext.py b/pypy/interpreter/executioncontext.py

[pypy-commit] pypy default: Fix sys.getprofile() docstring

2011-10-05 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r47835:be4e5bec46c1 Date: 2011-10-05 22:01 +0200 http://bitbucket.org/pypy/pypy/changeset/be4e5bec46c1/ Log:Fix sys.getprofile() docstring diff --git a/pypy/module/sys/vm.py b/pypy/module/sys/vm.py ---

[pypy-commit] pypy default: Have cpython's test_sys_settrace test something.

2011-10-05 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: Changeset: r47836:383ca802ba07 Date: 2011-10-05 22:17 +0200 http://bitbucket.org/pypy/pypy/changeset/383ca802ba07/ Log:Have cpython's test_sys_settrace test something. diff --git a/lib-python/modified-2.7/test/test_sys_settrace.py

[pypy-commit] pypy.org extradoc: update progress bar

2011-10-05 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: extradoc Changeset: r278:711a769c80c1 Date: 2011-10-06 03:31 +0200 http://bitbucket.org/pypy/pypy.org/changeset/711a769c80c1/ Log:update progress bar diff --git a/donate1.html b/donate1.html --- a/donate1.html +++ b/donate1.html @@ -7,12

[pypy-commit] pypy default: support length of a builder

2011-10-05 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r47837:b9e14afe8066 Date: 2011-10-04 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/b9e14afe8066/ Log:support length of a builder diff --git a/pypy/module/__pypy__/interp_builders.py

[pypy-commit] pypy lightweight-finalizers: remove one set of hacks to another in order for it to work after translation

2011-10-05 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: lightweight-finalizers Changeset: r47838:a85b330c7a9c Date: 2011-10-04 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/a85b330c7a9c/ Log:remove one set of hacks to another in order for it to work after translation as well

[pypy-commit] pypy default: merge default

2011-10-05 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r47840:f4baf68db210 Date: 2011-10-06 04:05 +0200 http://bitbucket.org/pypy/pypy/changeset/f4baf68db210/ Log:merge default diff --git a/pypy/module/__pypy__/interp_builders.py b/pypy/module/__pypy__/interp_builders.py ---

[pypy-commit] pypy default: hopefully fix annenforceargs

2011-10-05 Thread fijal
Author: Maciej Fijalkowski fij...@gmail.com Branch: Changeset: r47839:9af0a17b33a8 Date: 2011-10-06 04:04 +0200 http://bitbucket.org/pypy/pypy/changeset/9af0a17b33a8/ Log:hopefully fix annenforceargs diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/lltypesystem/rstr.py ---

[pypy-commit] pypy numpy-indexing-by-arrays: bool indexing requires a numpy array and matching size. use array's dtype if it is an ind for integer indexing.

2011-10-05 Thread justinpeel
Author: Justin Peel notmuchtot...@gmail.com Branch: numpy-indexing-by-arrays Changeset: r47842:67245c6b73ee Date: 2011-10-05 23:07 -0600 http://bitbucket.org/pypy/pypy/changeset/67245c6b73ee/ Log:bool indexing requires a numpy array and matching size. use array's dtype if it is an ind