[pypy-commit] pypy jit-optimizeopt-cleanups: unskip test thats now passing thanx to 8dfeb716d0ab

2011-09-23 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47408:dd6b6ecd9c7e Date: 2011-09-23 09:00 +0200 http://bitbucket.org/pypy/pypy/changeset/dd6b6ecd9c7e/ Log:unskip test thats now passing thanx to 8dfeb716d0ab diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py

[pypy-commit] lang-io default: fix Object getSlot to not only look in the own slots but do a full lookup

2011-09-23 Thread bivab
Author: David Schneider Branch: Changeset: r47:912b15c364e0 Date: 2011-09-23 09:47 +0200 http://bitbucket.org/pypy/lang-io/changeset/912b15c364e0/ Log:fix Object getSlot to not only look in the own slots but do a full lookup diff --git a/io/object.py b/io/object.py --- a/io/object.p

[pypy-commit] lang-io default: fix sequence asCapitalized to only capitalize first char and leave the rest unchanged

2011-09-23 Thread bivab
Author: David Schneider Branch: Changeset: r46:495612e30422 Date: 2011-09-23 09:28 +0200 http://bitbucket.org/pypy/lang-io/changeset/495612e30422/ Log:fix sequence asCapitalized to only capitalize first char and leave the rest unchanged diff --git a/io/sequence.py b/io/sequence.py -

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz): start to sketch the way we want things to look: introduce

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47409:ec034fe3b9b8 Date: 2011-01-20 14:01 +0100 http://bitbucket.org/pypy/pypy/changeset/ec034fe3b9b8/ Log:(l.diekmann, cfbolz): start to sketch the way we want things to look: introduce list strategies (which are supposed to

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz): Implemented getslice

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47410:9adef7c602c2 Date: 2011-01-20 14:38 +0100 http://bitbucket.org/pypy/pypy/changeset/9adef7c602c2/ Log:(l.diekmann, cfbolz): Implemented getslice diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz around): some more calls to length; changed contains to use strategies

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47412:a6dcfde63812 Date: 2011-01-20 14:57 +0100 http://bitbucket.org/pypy/pypy/changeset/a6dcfde63812/ Log:(l.diekmann, cfbolz around): some more calls to length; changed contains to use strategies diff --git a/pypy/objspace/

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz): more slicing

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47411:e2e33e1676ab Date: 2011-01-20 14:41 +0100 http://bitbucket.org/pypy/pypy/changeset/e2e33e1676ab/ Log:(l.diekmann, cfbolz): more slicing diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/o

[pypy-commit] pypy list-strategies: Replaced more w_list.wrappeditems by using the (temporary) method w_list.getitems()

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47413:3f7f0c7b Date: 2011-01-26 11:45 +0100 http://bitbucket.org/pypy/pypy/changeset/3f7f0c7b/ Log:Replaced more w_list.wrappeditems by using the (temporary) method w_list.getitems() diff --git a/pypy/objspace/std/lis

[pypy-commit] pypy list-strategies: Choose ListStrategy matching items in list

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47414:58cd6e224558 Date: 2011-02-01 13:07 +0100 http://bitbucket.org/pypy/pypy/changeset/58cd6e224558/ Log:Choose ListStrategy matching items in list (had to change .hgsub to do commits - otherwise got error: unknown subrepo s

[pypy-commit] pypy list-strategies: test_listobject works again: changed init method to call W_List.append instead of wrapped_items.append

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47415:0da72c36ed08 Date: 2011-02-01 14:37 +0100 http://bitbucket.org/pypy/pypy/changeset/0da72c36ed08/ Log:test_listobject works again: changed init method to call W_List.append instead of wrapped_items.append diff --git a/py

[pypy-commit] pypy list-strategies: Added Integer- and StringListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47416:8743cea829a0 Date: 2011-02-01 17:01 +0100 http://bitbucket.org/pypy/pypy/changeset/8743cea829a0/ Log:Added Integer- and StringListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pyp

[pypy-commit] pypy list-strategies: Implemented inplace_mul in strategies

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47419:05ab11979465 Date: 2011-02-16 11:55 +0100 http://bitbucket.org/pypy/pypy/changeset/05ab11979465/ Log:Implemented inplace_mul in strategies diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pyp

[pypy-commit] pypy list-strategies: Convert ListStrategies to ObjectListStrategy when a differen element is added

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47417:79361ae2fe98 Date: 2011-02-02 11:14 +0100 http://bitbucket.org/pypy/pypy/changeset/79361ae2fe98/ Log:Convert ListStrategies to ObjectListStrategy when a differen element is added diff --git a/pypy/objspace/std/listobjec

[pypy-commit] pypy list-strategies: Implemented setitem

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47421:b55d9ead88af Date: 2011-02-16 12:44 +0100 http://bitbucket.org/pypy/pypy/changeset/b55d9ead88af/ Log:Implemented setitem diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/lis

[pypy-commit] pypy list-strategies: Carl: Append with cast_to_void_star

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47418:f2f2a37ebb4c Date: 2011-02-14 10:19 +0100 http://bitbucket.org/pypy/pypy/changeset/f2f2a37ebb4c/ Log:Carl: Append with cast_to_void_star diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/

[pypy-commit] pypy list-strategies: remove some comments; replaced len() by w_list.length() in repr

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47423:7cfc2472e868 Date: 2011-02-16 13:03 +0100 http://bitbucket.org/pypy/pypy/changeset/7cfc2472e868/ Log:remove some comments; replaced len() by w_list.length() in repr diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/s

[pypy-commit] pypy list-strategies: Implemented deleteitem

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47420:5476d5e4a096 Date: 2011-02-16 12:26 +0100 http://bitbucket.org/pypy/pypy/changeset/5476d5e4a096/ Log:Implemented deleteitem diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/

[pypy-commit] pypy list-strategies: Added base class AbstractUnwrappedStrategy (implemented append and getitem)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47426:0339252ceb1e Date: 2011-02-23 13:43 +0100 http://bitbucket.org/pypy/pypy/changeset/0339252ceb1e/ Log:Added base class AbstractUnwrappedStrategy (implemented append and getitem) diff --git a/pypy/objspace/std/listobject.

[pypy-commit] pypy list-strategies: Switch strategy depending on type of item that was set

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47422:3a9a1a59af86 Date: 2011-02-16 12:51 +0100 http://bitbucket.org/pypy/pypy/changeset/3a9a1a59af86/ Log:Switch strategy depending on type of item that was set diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listob

[pypy-commit] pypy list-strategies: Implemented all remaining methods in AbstractUnwrappedStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47427:5658dc32c129 Date: 2011-02-23 13:57 +0100 http://bitbucket.org/pypy/pypy/changeset/5658dc32c129/ Log:Implemented all remaining methods in AbstractUnwrappedStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/st

[pypy-commit] pypy list-strategies: Implemented insert

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47424:5fca9acec5b7 Date: 2011-02-16 13:23 +0100 http://bitbucket.org/pypy/pypy/changeset/5fca9acec5b7/ Log:Implemented insert diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/list

[pypy-commit] pypy list-strategies: ObjectListStrategy inherits from AbstractUnwrappedStrategy (is_correct_type returns always True)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47429:e8a8165c7468 Date: 2011-02-23 14:30 +0100 http://bitbucket.org/pypy/pypy/changeset/e8a8165c7468/ Log:ObjectListStrategy inherits from AbstractUnwrappedStrategy (is_correct_type returns always True) diff --git a/pypy/obj

[pypy-commit] pypy list-strategies: Fixed casting in insert and setitem (ListStrategies)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47425:fbf3d9dfc40a Date: 2011-02-23 13:15 +0100 http://bitbucket.org/pypy/pypy/changeset/fbf3d9dfc40a/ Log:Fixed casting in insert and setitem (ListStrategies) diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobje

[pypy-commit] pypy list-strategies: Added tests for strategy changes in setslice and fixed is_correct_type error

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47435:750c8eed3a9d Date: 2011-02-23 17:15 +0100 http://bitbucket.org/pypy/pypy/changeset/750c8eed3a9d/ Log:Added tests for strategy changes in setslice and fixed is_correct_type error diff --git a/pypy/objspace/std/listobject

[pypy-commit] pypy list-strategies: StringListStartegy now inherits from AbstractUnwrappedStrategy too (removed unnecessary methods)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47428:0f35f1ee48eb Date: 2011-02-23 14:01 +0100 http://bitbucket.org/pypy/pypy/changeset/0f35f1ee48eb/ Log:StringListStartegy now inherits from AbstractUnwrappedStrategy too (removed unnecessary methods) diff --git a/pypy/obj

[pypy-commit] pypy list-strategies: Replaced more 'wrappeditems'

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47438:5cc282e2b68e Date: 2011-02-25 12:08 +0100 http://bitbucket.org/pypy/pypy/changeset/5cc282e2b68e/ Log:Replaced more 'wrappeditems' diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspac

[pypy-commit] pypy list-strategies: Implemented deleteslice; Move delitem_slice_helper to bytearrayobject

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47430:2a6c4e1e444b Date: 2011-02-23 14:55 +0100 http://bitbucket.org/pypy/pypy/changeset/2a6c4e1e444b/ Log:Implemented deleteslice; Move delitem_slice_helper to bytearrayobject diff --git a/pypy/objspace/std/bytearrayobject.p

[pypy-commit] pypy list-strategies: Implemented reverse

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47439:82ea67038f92 Date: 2011-02-25 12:12 +0100 http://bitbucket.org/pypy/pypy/changeset/82ea67038f92/ Log:Implemented reverse diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/lis

[pypy-commit] pypy list-strategies: Implemented setslice

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47431:37b25c13f634 Date: 2011-02-23 16:00 +0100 http://bitbucket.org/pypy/pypy/changeset/37b25c13f634/ Log:Implemented setslice diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/li

[pypy-commit] pypy list-strategies: Removed wrappeditems form EmptyListStrategy.append and fixed related problems

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47440:bac867bdab47 Date: 2011-02-25 14:35 +0100 http://bitbucket.org/pypy/pypy/changeset/bac867bdab47/ Log:Removed wrappeditems form EmptyListStrategy.append and fixed related problems diff --git a/pypy/objspace/std/listobjec

[pypy-commit] pypy list-strategies: Implemented extend

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47432:f6705d4e93a3 Date: 2011-02-23 16:43 +0100 http://bitbucket.org/pypy/pypy/changeset/f6705d4e93a3/ Log:Implemented extend diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/list

[pypy-commit] pypy list-strategies: Replaced warppeditems in sort-method (this only moved the problem to W_List._overwrite)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47441:29691b49fdf7 Date: 2011-02-25 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/29691b49fdf7/ Log:Replaced warppeditems in sort-method (this only moved the problem to W_List._overwrite) diff --git a/pypy/objspace/std

[pypy-commit] pypy list-strategies: Added tests for extend

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47433:f34cf6b46a37 Date: 2011-02-23 16:58 +0100 http://bitbucket.org/pypy/pypy/changeset/f34cf6b46a37/ Log:Added tests for extend diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/

[pypy-commit] pypy list-strategies: Refactored EmptyListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47443:7c904798d50d Date: 2011-02-25 16:19 +0100 http://bitbucket.org/pypy/pypy/changeset/7c904798d50d/ Log:Refactored EmptyListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspac

[pypy-commit] pypy list-strategies: setslice may change strategy if necessary

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47434:f8f4c2997bac Date: 2011-02-23 17:09 +0100 http://bitbucket.org/pypy/pypy/changeset/f8f4c2997bac/ Log:setslice may change strategy if necessary diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a

[pypy-commit] pypy list-strategies: Preparation for wrapping/unwrapping in Strategies

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47445:12e339ff3b4a Date: 2011-03-01 13:49 +0100 http://bitbucket.org/pypy/pypy/changeset/12e339ff3b4a/ Log:Preparation for wrapping/unwrapping in Strategies diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.

[pypy-commit] pypy list-strategies: If list is empty after deletion (item, slice) switch to EmptyListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47436:3978ca76f7a3 Date: 2011-02-23 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/3978ca76f7a3/ Log:If list is empty after deletion (item, slice) switch to EmptyListStrategy diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz): store list as unwrapped data

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47446:71cbd6ccc1b1 Date: 2011-03-01 16:36 +0100 http://bitbucket.org/pypy/pypy/changeset/71cbd6ccc1b1/ Log:(l.diekmann, cfbolz): store list as unwrapped data diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject

[pypy-commit] pypy list-strategies: Implemented pop

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47437:91f2d172c7d6 Date: 2011-02-25 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/91f2d172c7d6/ Log:Implemented pop diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobj

[pypy-commit] pypy list-strategies: Removed remaining wrappeditems

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47442:664e24c98b22 Date: 2011-02-25 16:13 +0100 http://bitbucket.org/pypy/pypy/changeset/664e24c98b22/ Log:Removed remaining wrappeditems diff --git a/pypy/objspace/std/frame.py b/pypy/objspace/std/frame.py --- a/pypy/objspace/std/fr

[pypy-commit] pypy list-strategies: Refactored switching to Object-/EmptyListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47444:a5b007459cfc Date: 2011-02-25 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/a5b007459cfc/ Log:Refactored switching to Object-/EmptyListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.

[pypy-commit] pypy list-strategies: Added RangeListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47449:a17bc9c78e16 Date: 2011-03-02 14:43 +0100 http://bitbucket.org/pypy/pypy/changeset/a17bc9c78e16/ Log:Added RangeListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std

[pypy-commit] pypy list-strategies: Fixed delete_slice in EmptyListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47448:d6a714086628 Date: 2011-03-01 18:36 +0100 http://bitbucket.org/pypy/pypy/changeset/d6a714086628/ Log:Fixed delete_slice in EmptyListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/p

[pypy-commit] pypy list-strategies: Try to keep rangelist on append and pop

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47454:ed567fc8e950 Date: 2011-03-09 10:30 +0100 http://bitbucket.org/pypy/pypy/changeset/ed567fc8e950/ Log:Try to keep rangelist on append and pop diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/p

[pypy-commit] pypy list-strategies: Switch RangeListStrategy to EmptyListStrategy if length is zero

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47456:025d68e4eb4c Date: 2011-03-09 11:38 +0100 http://bitbucket.org/pypy/pypy/changeset/025d68e4eb4c/ Log:Switch RangeListStrategy to EmptyListStrategy if length is zero diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/s

[pypy-commit] pypy list-strategies: Changed W_ListObject iterable to use getitem

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47451:e31f975d8b0f Date: 2011-03-02 14:49 +0100 http://bitbucket.org/pypy/pypy/changeset/e31f975d8b0f/ Log:Changed W_ListObject iterable to use getitem diff --git a/pypy/objspace/std/iterobject.py b/pypy/objspace/std/iterobject.py --

[pypy-commit] pypy list-strategies: Use RangeListStrategy instead of RangeListObject

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47450:4c5fbb6e58e6 Date: 2011-03-02 14:48 +0100 http://bitbucket.org/pypy/pypy/changeset/4c5fbb6e58e6/ Log:Use RangeListStrategy instead of RangeListObject diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__

[pypy-commit] pypy list-strategies: Implemented RangeListStrategy (not_forced tests still not working)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47452:a2106499f6e3 Date: 2011-03-08 14:04 +0100 http://bitbucket.org/pypy/pypy/changeset/a2106499f6e3/ Log:Implemented RangeListStrategy (not_forced tests still not working) diff --git a/pypy/objspace/std/listobject.py b/pypy/objspac

[pypy-commit] pypy list-strategies: Refactored casting

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47457:42c65af8f36f Date: 2011-03-09 14:00 +0100 http://bitbucket.org/pypy/pypy/changeset/42c65af8f36f/ Log:Refactored casting diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/list

[pypy-commit] pypy list-strategies: Refactored RangeListStrateg.pop()

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47458:6f8c358e4389 Date: 2011-03-09 14:12 +0100 http://bitbucket.org/pypy/pypy/changeset/6f8c358e4389/ Log:Refactored RangeListStrateg.pop() diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/ob

[pypy-commit] pypy list-strategies: Added tests for RangeListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47453:75956a940aea Date: 2011-03-08 15:06 +0100 http://bitbucket.org/pypy/pypy/changeset/75956a940aea/ Log:Added tests for RangeListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/ob

[pypy-commit] pypy list-strategies: Cast sequence to W_ListObject (translation fix)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47463:eb7765a263ed Date: 2011-03-15 14:47 +0100 http://bitbucket.org/pypy/pypy/changeset/eb7765a263ed/ Log:Cast sequence to W_ListObject (translation fix) diff --git a/pypy/objspace/std/iterobject.py b/pypy/objspace/std/iterobject.py

[pypy-commit] pypy list-strategies: Switch to IntegerStrategy without wrapping; Reverse without switching

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47455:2b05113ecfe1 Date: 2011-03-09 10:48 +0100 http://bitbucket.org/pypy/pypy/changeset/2b05113ecfe1/ Log:Switch to IntegerStrategy without wrapping; Reverse without switching diff --git a/pypy/objspace/std/listobject.py b/p

[pypy-commit] pypy list-strategies: Each strategy must implement (not inherit) it's own length method (translation fix)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47464:40905329581f Date: 2011-03-15 14:51 +0100 http://bitbucket.org/pypy/pypy/changeset/40905329581f/ Log:Each strategy must implement (not inherit) it's own length method (translation fix) diff --git a/pypy/objspace/std/lis

[pypy-commit] pypy list-strategies: Forget to delete comment

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47459:36b0dfe66616 Date: 2011-03-09 14:15 +0100 http://bitbucket.org/pypy/pypy/changeset/36b0dfe66616/ Log:Forget to delete comment diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/st

[pypy-commit] pypy list-strategies: Stop must not be negative (translation fix); Wrapping/Unwrapping not neccessary here

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47466:a88228a2c43d Date: 2011-03-15 16:27 +0100 http://bitbucket.org/pypy/pypy/changeset/a88228a2c43d/ Log:Stop must not be negative (translation fix); Wrapping/Unwrapping not neccessary here diff --git a/pypy/objspace/std/li

[pypy-commit] pypy list-strategies: Finally use (real) rerased

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47460:aa3d3bbda4d5 Date: 2011-03-09 14:40 +0100 http://bitbucket.org/pypy/pypy/changeset/aa3d3bbda4d5/ Log:Finally use (real) rerased diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/

[pypy-commit] pypy list-strategies: Unvisited path: Added test and fixed error

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47467:8efc606bcbbe Date: 2011-03-15 17:54 +0100 http://bitbucket.org/pypy/pypy/changeset/8efc606bcbbe/ Log:Unvisited path: Added test and fixed error diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy list-strategies: Strategies are now singletons

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47461:69819f8b5be9 Date: 2011-03-09 15:06 +0100 http://bitbucket.org/pypy/pypy/changeset/69819f8b5be9/ Log:Strategies are now singletons diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspa

[pypy-commit] pypy list-strategies: Two more translation fixes

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47468:174a022afec3 Date: 2011-03-16 09:47 +0100 http://bitbucket.org/pypy/pypy/changeset/174a022afec3/ Log:Two more translation fixes diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/

[pypy-commit] pypy list-strategies: Another list init fix

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47470:1914a506afec Date: 2011-03-16 11:24 +0100 http://bitbucket.org/pypy/pypy/changeset/1914a506afec/ Log:Another list init fix diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/l

[pypy-commit] pypy list-strategies: Use unresizable list here (translation fix)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47465:eb82a1290057 Date: 2011-03-15 16:25 +0100 http://bitbucket.org/pypy/pypy/changeset/eb82a1290057/ Log:Use unresizable list here (translation fix) diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py --- a/p

[pypy-commit] pypy list-strategies: Check correct type with strategy instance instead of class

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47462:b9213520c508 Date: 2011-03-11 11:32 +0100 http://bitbucket.org/pypy/pypy/changeset/b9213520c508/ Log:Check correct type with strategy instance instead of class diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/li

[pypy-commit] pypy list-strategies: Spezialized function for getitems (wrapped/unwrapped); Fixed list initialisation with (translation error)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47469:05f252f29f4e Date: 2011-03-16 11:14 +0100 http://bitbucket.org/pypy/pypy/changeset/05f252f29f4e/ Log:Spezialized function for getitems (wrapped/unwrapped); Fixed list initialisation with (translation error) diff --git a

[pypy-commit] pypy list-strategies: Fixed untested path in RangeListStrategy.setslice

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47471:e7955881eadb Date: 2011-03-16 11:46 +0100 http://bitbucket.org/pypy/pypy/changeset/e7955881eadb/ Log:Fixed untested path in RangeListStrategy.setslice diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.

[pypy-commit] pypy list-strategies: Removed old rangelist implementation

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47478:4fe6b0555b56 Date: 2011-03-17 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/4fe6b0555b56/ Log:Removed old rangelist implementation diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypy

[pypy-commit] pypy list-strategies: Replaced storage with lstorage to avoid collision with mapdict

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47480:54924c51a01b Date: 2011-03-18 11:22 +0100 http://bitbucket.org/pypy/pypy/changeset/54924c51a01b/ Log:Replaced storage with lstorage to avoid collision with mapdict diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/st

[pypy-commit] pypy list-strategies: Deactivate old rangelist

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47472:3000f02317b9 Date: 2011-03-16 12:56 +0100 http://bitbucket.org/pypy/pypy/changeset/3000f02317b9/ Log:Deactivate old rangelist diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py ++

[pypy-commit] pypy list-strategies: Replaced some more wrappeditems

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47473:f367e25b4ed2 Date: 2011-03-16 13:06 +0100 http://bitbucket.org/pypy/pypy/changeset/f367e25b4ed2/ Log:Replaced some more wrappeditems diff --git a/pypy/module/cpyext/listobject.py b/pypy/module/cpyext/listobject.py --- a/pypy/mo

[pypy-commit] pypy list-strategies: added new method copy_into to extend an EmptyList with other lists

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47481:4fc5434c0449 Date: 2011-03-22 11:23 +0100 http://bitbucket.org/pypy/pypy/changeset/4fc5434c0449/ Log:added new method copy_into to extend an EmptyList with other lists diff --git a/pypy/objspace/std/listobject.py b/pypy/objspac

[pypy-commit] pypy list-strategies: Need to make a fixed list here

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47474:05c02d1ce657 Date: 2011-03-16 13:26 +0100 http://bitbucket.org/pypy/pypy/changeset/05c02d1ce657/ Log:Need to make a fixed list here diff --git a/pypy/objspace/std/marshal_impl.py b/pypy/objspace/std/marshal_impl.py --- a/pypy/

[pypy-commit] pypy list-strategies: index is non-negative because of get_positive_index in list_insert_List_ANY_ANY

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47482:f3df821d227f Date: 2011-03-22 11:43 +0100 http://bitbucket.org/pypy/pypy/changeset/f3df821d227f/ Log:index is non-negative because of get_positive_index in list_insert_List_ANY_ANY diff --git a/pypy/objspace/std/listobj

[pypy-commit] pypy list-strategies: This will make rtyper happier...hopefully

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47476:4c0e74dd0f30 Date: 2011-03-16 14:53 +0100 http://bitbucket.org/pypy/pypy/changeset/4c0e74dd0f30/ Log:This will make rtyper happier...hopefully diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a

[pypy-commit] pypy list-strategies: Moved non-negative prove to get_positive_index

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47484:bbc59e3c25ea Date: 2011-03-22 13:23 +0100 http://bitbucket.org/pypy/pypy/changeset/bbc59e3c25ea/ Log:Moved non-negative prove to get_positive_index diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: Just create a copy from storage when extending an EmptyList

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47477:24c514951069 Date: 2011-03-16 15:26 +0100 http://bitbucket.org/pypy/pypy/changeset/24c514951069/ Log:Just create a copy from storage when extending an EmptyList diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/l

[pypy-commit] pypy list-strategies: (l.diekmann, cfbolz):

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47489:c9f9f040c318 Date: 2011-03-29 13:39 +0200 http://bitbucket.org/pypy/pypy/changeset/c9f9f040c318/ Log:(l.diekmann, cfbolz): Implemented getitems_copy used in objspace.unpackiterable (+ tests) Now getitems() in Obj

[pypy-commit] pypy list-strategies: a little refactoring

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47479:e8148de5e147 Date: 2011-03-18 11:12 +0100 http://bitbucket.org/pypy/pypy/changeset/e8148de5e147/ Log:a little refactoring diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/li

[pypy-commit] pypy list-strategies: Optimized W_ListObject.setslice to take w_list as slice instead of sequence_w

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47491:4729d45b3dc6 Date: 2011-03-30 14:02 +0200 http://bitbucket.org/pypy/pypy/changeset/4729d45b3dc6/ Log:Optimized W_ListObject.setslice to take w_list as slice instead of sequence_w This avoids unnecessary wrapping and unwr

[pypy-commit] pypy list-strategies: This index is non-negativ too

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47483:bc617ef7061f Date: 2011-03-22 13:04 +0100 http://bitbucket.org/pypy/pypy/changeset/bc617ef7061f/ Log:This index is non-negativ too diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspa

[pypy-commit] pypy list-strategies: added _getitem_unwrapped in RangeListStrategy to avoid wrapping/unwrapping

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47492:158c79deb4df Date: 2011-03-30 15:05 +0200 http://bitbucket.org/pypy/pypy/changeset/158c79deb4df/ Log:added _getitem_unwrapped in RangeListStrategy to avoid wrapping/unwrapping diff --git a/pypy/objspace/std/listobject.p

[pypy-commit] pypy list-strategies: More tests for extend with empty list

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47485:2a4e6bf4229e Date: 2011-03-23 09:51 +0100 http://bitbucket.org/pypy/pypy/changeset/2a4e6bf4229e/ Log:More tests for extend with empty list diff --git a/pypy/objspace/std/test/test_liststrategies.py b/pypy/objspace/std/test/tes

[pypy-commit] pypy list-strategies: Fixed setting slice of EmptyList (getitems of ObjectList doesn't copy anymore)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47493:abbd13b48791 Date: 2011-03-30 15:21 +0200 http://bitbucket.org/pypy/pypy/changeset/abbd13b48791/ Log:Fixed setting slice of EmptyList (getitems of ObjectList doesn't copy anymore) diff --git a/pypy/objspace/std/listobje

[pypy-commit] pypy list-strategies: Use new method _temporarily_as_objects in extend, too

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47494:71c4ed6fd9da Date: 2011-03-30 16:21 +0200 http://bitbucket.org/pypy/pypy/changeset/71c4ed6fd9da/ Log:Use new method _temporarily_as_objects in extend, too diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobj

[pypy-commit] pypy list-strategies: copy_into method needed for ALL ListStrategies

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47486:fd011d8f9e6d Date: 2011-03-23 09:53 +0100 http://bitbucket.org/pypy/pypy/changeset/fd011d8f9e6d/ Log:copy_into method needed for ALL ListStrategies diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: extend any list with emptylist

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47487:d6d8f46ff357 Date: 2011-03-23 14:01 +0100 http://bitbucket.org/pypy/pypy/changeset/d6d8f46ff357/ Log:extend any list with emptylist diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objsp

[pypy-commit] pypy list-strategies: Avoid duplicate copy in RangeList.mul() + tests

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47496:be8327c01c6a Date: 2011-04-12 12:02 +0200 http://bitbucket.org/pypy/pypy/changeset/be8327c01c6a/ Log:Avoid duplicate copy in RangeList.mul() + tests diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: (cfbolz, l.diekmann): one less copy in extend

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47488:42ec7bd0633f Date: 2011-03-29 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/42ec7bd0633f/ Log:(cfbolz, l.diekmann): one less copy in extend diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py -

[pypy-commit] pypy list-strategies: Optimized add__List_List to not use getitems anymore

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47490:6ce154248735 Date: 2011-03-29 17:17 +0200 http://bitbucket.org/pypy/pypy/changeset/6ce154248735/ Log:Optimized add__List_List to not use getitems anymore diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobje

[pypy-commit] pypy list-strategies: Fixed getslice bug in RangeListStrategy

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47499:8b2722432eef Date: 2011-04-20 14:19 +0200 http://bitbucket.org/pypy/pypy/changeset/8b2722432eef/ Log:Fixed getslice bug in RangeListStrategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/p

[pypy-commit] pypy list-strategies: Implemented mul on strategies

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47495:df95e88b13b3 Date: 2011-04-11 14:32 +0200 http://bitbucket.org/pypy/pypy/changeset/df95e88b13b3/ Log:Implemented mul on strategies diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspa

[pypy-commit] pypy list-strategies: Added tests for adding lists (especially range lists)

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47505:a5c9d09d47ae Date: 2011-04-26 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/a5c9d09d47ae/ Log:Added tests for adding lists (especially range lists) diff --git a/pypy/objspace/std/test/test_listobject.py b/pypy/objspace/

[pypy-commit] pypy list-strategies: fix nonsense

2011-09-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: list-strategies Changeset: r47498:fdb21a0533f2 Date: 2011-04-12 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/fdb21a0533f2/ Log:fix nonsense diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listo

[pypy-commit] pypy list-strategies: Fixed setslice on EmptyList to work with RPython

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47500:4c910a687b80 Date: 2011-04-21 11:12 +0200 http://bitbucket.org/pypy/pypy/changeset/4c910a687b80/ Log:Fixed setslice on EmptyList to work with RPython diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.p

[pypy-commit] pypy list-strategies: merged default into list-strategies

2011-09-23 Thread ldiekmann
Author: ldiekmann Branch: list-strategies Changeset: r47508:8eff389e3bcd Date: 2011-04-27 13:26 + http://bitbucket.org/pypy/pypy/changeset/8eff389e3bcd/ Log:merged default into list-strategies diff --git a/pypy/jit/metainterp/optimizeopt/intutils.py b/pypy/jit/metainterp/optimizeopt/intu

[pypy-commit] pypy list-strategies: RPython wasn't satiesfied before

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47501:205bca6bc815 Date: 2011-04-21 12:02 +0200 http://bitbucket.org/pypy/pypy/changeset/205bca6bc815/ Log:RPython wasn't satiesfied before diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/obj

[pypy-commit] pypy list-strategies: Fixed getstorage_copy again

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47502:9b07ebaab89c Date: 2011-04-21 12:42 +0200 http://bitbucket.org/pypy/pypy/changeset/9b07ebaab89c/ Log:Fixed getstorage_copy again diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace

[pypy-commit] pypy list-strategies: RPython does not throw IndexError when there is not try/catch around

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47503:eca3aafc0a2e Date: 2011-04-25 16:34 +0200 http://bitbucket.org/pypy/pypy/changeset/eca3aafc0a2e/ Log:RPython does not throw IndexError when there is not try/catch around diff --git a/pypy/objspace/std/listobject.py b/pypy/objsp

[pypy-commit] pypy default: merge

2011-09-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r47509:cba07b6bbd87 Date: 2011-05-24 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/cba07b6bbd87/ Log:merge diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyoption.py

[pypy-commit] pypy list-strategies: It would be clever to return the clone

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47504:cb99ab592ac6 Date: 2011-04-26 10:34 +0200 http://bitbucket.org/pypy/pypy/changeset/cb99ab592ac6/ Log:It would be clever to return the clone diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/py

[pypy-commit] pypy list-strategies: stop must not be smaller than start in rpython

2011-09-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r47514:527e4a735f22 Date: 2011-07-08 14:29 +0200 http://bitbucket.org/pypy/pypy/changeset/527e4a735f22/ Log:stop must not be smaller than start in rpython diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

  1   2   >