[pypy-commit] pypy jit-short_from_state: better handling of constants

2011-05-25 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44415:290f86a86129 Date: 2011-05-25 09:01 +0200 http://bitbucket.org/pypy/pypy/changeset/290f86a86129/ Log:better handling of constants diff --git a/pypy/jit/metainterp/optimizeopt/heap.py b/pypy/jit/metainterp/optimizeopt/heap.py

[pypy-commit] pypy default: Fix.

2011-05-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r44416:cc48085456cf Date: 2011-05-24 16:14 +0200 http://bitbucket.org/pypy/pypy/changeset/cc48085456cf/ Log:Fix. diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py --- a/pypy/jit/backend/x86/assembler.py +++ b/pypy/jit/b

[pypy-commit] pypy default: merge heads

2011-05-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r44417:3bdfa021b9cb Date: 2011-05-25 11:12 +0200 http://bitbucket.org/pypy/pypy/changeset/3bdfa021b9cb/ Log:merge heads diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py --- a/pypy/objspace/descroperation.py +++ b/pypy/objsp

[pypy-commit] pypy default: Also check that __len__() doesn't return a negative answer. This

2011-05-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r44418:c7eb8ff71d32 Date: 2011-05-25 11:19 +0200 http://bitbucket.org/pypy/pypy/changeset/c7eb8ff71d32/ Log:Also check that __len__() doesn't return a negative answer. This kind of cancels the performance hack of _check_len_result(), which

[pypy-commit] pypy unpickle-coroutine-trampoline: fix pickling of stackless.tasklet.

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: unpickle-coroutine-trampoline Changeset: r44419:036d74657c0f Date: 2011-05-25 13:55 +0200 http://bitbucket.org/pypy/pypy/changeset/036d74657c0f/ Log:fix pickling of stackless.tasklet. diff --git a/lib_pypy/stackless.py b/lib_pypy/stackless.py --- a/lib_pyp

[pypy-commit] pypy default: somewhat better optimized now

2011-05-25 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r44420:707fe01a8fb3 Date: 2011-05-25 14:15 +0200 http://bitbucket.org/pypy/pypy/changeset/707fe01a8fb3/ Log:somewhat better optimized now diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.

[pypy-commit] pypy unpickle-coroutine-trampoline: kill support for resume points

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: unpickle-coroutine-trampoline Changeset: r44421:a82ffce9bc55 Date: 2011-05-25 15:22 +0200 http://bitbucket.org/pypy/pypy/changeset/a82ffce9bc55/ Log:kill support for resume points diff --git a/pypy/rlib/rcoroutine.py b/pypy/rlib/rcoroutine.py --- a/pypy/rl

[pypy-commit] pypy default: (l.diekmann, cfbolz): Implemented rudimentary 2-tuple implementation. No operations implemented so far, delegates to normal Tuple.

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44422:c65a0b686e65 Date: 2011-01-18 13:20 +0100 http://bitbucket.org/pypy/pypy/changeset/c65a0b686e65/ Log:(l.diekmann, cfbolz): Implemented rudimentary 2-tuple implementation. No operations implemented so far, delegates to normal Tu

[pypy-commit] pypy default: (l.diekmann, cfbolz): prepared supporting differently sized small tuples

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44423:24de77c03098 Date: 2011-01-18 14:05 +0100 http://bitbucket.org/pypy/pypy/changeset/24de77c03098/ Log:(l.diekmann, cfbolz): prepared supporting differently sized small tuples diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/o

[pypy-commit] pypy default: (l.diekmann, cfbolz): Implemented length and getitem for small tuples

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44424:16c4f125ec76 Date: 2011-01-18 14:24 +0100 http://bitbucket.org/pypy/pypy/changeset/16c4f125ec76/ Log:(l.diekmann, cfbolz): Implemented length and getitem for small tuples diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objs

[pypy-commit] pypy default: (l.diekmann, cfbolz): Implemented getitem and slicing for small tuples

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44425:7c21b36a853f Date: 2011-01-18 14:56 +0100 http://bitbucket.org/pypy/pypy/changeset/7c21b36a853f/ Log:(l.diekmann, cfbolz): Implemented getitem and slicing for small tuples diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/obj

[pypy-commit] pypy default: (l.diekmann, cfbolz): Fixed W_TupleObject to go via space.newtuple

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44426:3b8838b02d10 Date: 2011-01-18 15:14 +0100 http://bitbucket.org/pypy/pypy/changeset/3b8838b02d10/ Log:(l.diekmann, cfbolz): Fixed W_TupleObject to go via space.newtuple diff --git a/pypy/objspace/std/test/test_smalltupleobject.py b/pypy/objsp

[pypy-commit] pypy default: (l.diekmann, cfbolz): Added test slicing from small tuple

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44427:68649a77ff97 Date: 2011-01-18 16:29 +0100 http://bitbucket.org/pypy/pypy/changeset/68649a77ff97/ Log:(l.diekmann, cfbolz): Added test slicing from small tuple diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleo

[pypy-commit] pypy default: (l.diekmann, cfbolz): use implemented method instead

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44428:8d639235d7d9 Date: 2011-01-18 16:50 +0100 http://bitbucket.org/pypy/pypy/changeset/8d639235d7d9/ Log:(l.diekmann, cfbolz): use implemented method instead diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject

[pypy-commit] pypy default: (l.diekmann, cfbolz): Implemented dynamic generation of small tuple classes

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44429:7e59d115b3d1 Date: 2011-01-18 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/7e59d115b3d1/ Log:(l.diekmann, cfbolz): Implemented dynamic generation of small tuple classes diff --git a/pypy/objspace/std/smalltupleobject.py b/pyp

[pypy-commit] pypy default: Implemented multiply for small tuples to fix identity error: (1, 2, 3)*1 is (1, 2, 3)

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44430:c8bdf2dc5966 Date: 2011-01-18 17:33 +0100 http://bitbucket.org/pypy/pypy/changeset/c8bdf2dc5966/ Log:Implemented multiply for small tuples to fix identity error: (1,2,3)*1 is (1,2,3) diff --git a/pypy/objspace/std/smalltupleobject.py

[pypy-commit] pypy default: Added small tuple with length 3

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44431:41a61689e25c Date: 2011-01-18 17:34 +0100 http://bitbucket.org/pypy/pypy/changeset/41a61689e25c/ Log:Added small tuple with length 3 diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.py --- a/pypy/objspa

[pypy-commit] pypy default: Added more specialized SmallTupleObjects

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44432:442cdda5a8a4 Date: 2011-01-26 11:15 +0100 http://bitbucket.org/pypy/pypy/changeset/442cdda5a8a4/ Log:Added more specialized SmallTupleObjects diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.py --- a/py

[pypy-commit] pypy default: Implemented equals-Method for SmallTuples

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44433:6230987c412f Date: 2011-02-02 11:33 +0100 http://bitbucket.org/pypy/pypy/changeset/6230987c412f/ Log:Implemented equals-Method for SmallTuples diff --git a/.hgsub b/.hgsub --- a/.hgsub +++ b/.hgsub @@ -1,4 +1,4 @@ -greenlet = [svn]http://code

[pypy-commit] pypy default: Added hash-Method for small tuples

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44434:d325e8a0c84d Date: 2011-02-02 11:40 +0100 http://bitbucket.org/pypy/pypy/changeset/d325e8a0c84d/ Log:Added hash-Method for small tuples diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.py --- a/pypy/obj

[pypy-commit] pypy default: Added test to better understand relationship between W_SmallTupleObject and W_TupleObject

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44435:e8b21691c24e Date: 2011-02-03 13:54 +0100 http://bitbucket.org/pypy/pypy/changeset/e8b21691c24e/ Log:Added test to better understand relationship between W_SmallTupleObject and W_TupleObject diff --git a/pypy/objspace/std/test/test_sm

[pypy-commit] pypy default: Merged default

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44436:964e0e018357 Date: 2011-03-01 18:40 +0100 http://bitbucket.org/pypy/pypy/changeset/964e0e018357/ Log:Merged default diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyoptio

[pypy-commit] pypy default: merge

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44437:2a73c37a0c1f Date: 2011-03-16 14:50 +0100 http://bitbucket.org/pypy/pypy/changeset/2a73c37a0c1f/ 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 default: Optimized eq- and hash-method in SmallTupleObject

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r44438:b16b79d718eb Date: 2011-04-06 11:47 +0200 http://bitbucket.org/pypy/pypy/changeset/b16b79d718eb/ Log:Optimized eq- and hash-method in SmallTupleObject diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.py

[pypy-commit] pypy default: Forgot to add space to abstract function

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r1:5190a79c54a2 Date: 2011-04-06 14:47 +0200 http://bitbucket.org/pypy/pypy/changeset/5190a79c54a2/ Log:Forgot to add space to abstract function diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.py --- a/py

[pypy-commit] pypy default: Fixed methodobject to work with SmallTupleObjects

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r2:db88b5c97244 Date: 2011-04-06 15:31 +0200 http://bitbucket.org/pypy/pypy/changeset/db88b5c97244/ Log:Fixed methodobject to work with SmallTupleObjects diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a

[pypy-commit] pypy default: Fixed cpyext to work with W_SmallTupleObjects

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r3:e05258a73ff3 Date: 2011-04-06 18:34 +0200 http://bitbucket.org/pypy/pypy/changeset/e05258a73ff3/ Log:Fixed cpyext to work with W_SmallTupleObjects diff --git a/pypy/module/cpyext/test/test_tupleobject.py b/pypy/module/cpyext/test/test_tupleo

[pypy-commit] pypy default: Added unwrap method needed for some tests in cpyext

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r4:8cd8afed0062 Date: 2011-04-07 11:49 +0200 http://bitbucket.org/pypy/pypy/changeset/8cd8afed0062/ Log:Added unwrap method needed for some tests in cpyext diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.

[pypy-commit] pypy default: forgot to import W_SmallTupleObject

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r5:975f1912a755 Date: 2011-04-07 11:50 +0200 http://bitbucket.org/pypy/pypy/changeset/975f1912a755/ Log:forgot to import W_SmallTupleObject diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobject.py --- a/pypy/module/cpy

[pypy-commit] pypy default: added test for setitem for tupleobjects in cpyext

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r6:d90518dcf43b Date: 2011-04-07 12:45 +0200 http://bitbucket.org/pypy/pypy/changeset/d90518dcf43b/ Log:added test for setitem for tupleobjects in cpyext diff --git a/pypy/module/cpyext/test/test_tupleobject.py b/pypy/module/cpyext/test/test_tu

[pypy-commit] pypy default: fail if type in tupleobject is neither W_TupleObject nor W_SmallTupleObject

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r7:1a71c2e2dc13 Date: 2011-04-07 12:46 +0200 http://bitbucket.org/pypy/pypy/changeset/1a71c2e2dc13/ Log:fail if type in tupleobject is neither W_TupleObject nor W_SmallTupleObject diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/mo

[pypy-commit] pypy default: Merge with latest pypy

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r8:7f149ef3d99d Date: 2011-04-12 12:06 +0200 http://bitbucket.org/pypy/pypy/changeset/7f149ef3d99d/ Log:Merge with latest pypy diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/p

[pypy-commit] pypy dict-strategies: Introduced strategies for dicts starting with StringDictStrategy (coming next: switching to ObjectStrategy)

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r9:cbdf49645f39 Date: 2011-04-12 17:10 +0200 http://bitbucket.org/pypy/pypy/changeset/cbdf49645f39/ Log:Introduced strategies for dicts starting with StringDictStrategy (coming next: switching to ObjectStrategy) diff --git

[pypy-commit] pypy dict-strategies: Fixed most of ObjectDictStrategy and implemented conversion between strategies

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44450:36be86c8b63c Date: 2011-04-13 14:54 +0200 http://bitbucket.org/pypy/pypy/changeset/36be86c8b63c/ Log:Fixed most of ObjectDictStrategy and implemented conversion between strategies diff --git a/pypy/objspace/std/dictmult

[pypy-commit] pypy dict-strategies: Fixed remaining methods (all tests work, except ModuleDict)

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44451:e750d6a9e538 Date: 2011-04-13 16:47 +0200 http://bitbucket.org/pypy/pypy/changeset/e750d6a9e538/ Log:Fixed remaining methods (all tests work, except ModuleDict) diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace

[pypy-commit] pypy dict-strategies: Fixed ModuleDict to work with Strategies

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44452:a701aaad6e3c Date: 2011-04-13 17:23 +0200 http://bitbucket.org/pypy/pypy/changeset/a701aaad6e3c/ Log:Fixed ModuleDict to work with Strategies diff --git a/pypy/objspace/std/celldict.py b/pypy/objspace/std/celldict.py --- a/pypy

[pypy-commit] pypy dict-strategies: Added test for getitem-fallback in ModuleDictStrategy (still missing: tests for fallbacks setdefault, delitem; also in StringDictStrategy)

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44453:1d437de8e20e Date: 2011-04-13 17:33 +0200 http://bitbucket.org/pypy/pypy/changeset/1d437de8e20e/ Log:Added test for getitem-fallback in ModuleDictStrategy (still missing: tests for fallbacks setdefault, delitem; also in

[pypy-commit] pypy dict-strategies: Fixed some remaining tests for strategies in DictMultiObject

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44454:50273ddc728c Date: 2011-04-13 17:39 +0200 http://bitbucket.org/pypy/pypy/changeset/50273ddc728c/ Log:Fixed some remaining tests for strategies in DictMultiObject diff --git a/pypy/objspace/std/test/test_dictmultiobject.py b/py

[pypy-commit] pypy dict-strategies: Added fallback tests for Module- and StringDictStrategy and implemented corresponding methods

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44455:90dde1a37e04 Date: 2011-04-15 12:08 +0200 http://bitbucket.org/pypy/pypy/changeset/90dde1a37e04/ Log:Added fallback tests for Module- and StringDictStrategy and implemented corresponding methods diff --git a/pypy/objspa

[pypy-commit] pypy dict-strategies: Changed MapDictImplementation to behave as strategy

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44456:5dc385b32fce Date: 2011-04-15 14:27 +0200 http://bitbucket.org/pypy/pypy/changeset/5dc385b32fce/ Log:Changed MapDictImplementation to behave as strategy diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dic

[pypy-commit] pypy dict-strategies: only switch to objectstrategy if this did not already happen

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44457:7ad098a82426 Date: 2011-04-15 15:15 +0200 http://bitbucket.org/pypy/pypy/changeset/7ad098a82426/ Log:only switch to objectstrategy if this did not already happen diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/map

[pypy-commit] pypy dict-strategies: fixed WaryDict to use strategies; tests in module/__builtin__/test_builtin.py work again

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44458:4986ec1afa46 Date: 2011-04-15 15:17 +0200 http://bitbucket.org/pypy/pypy/changeset/4986ec1afa46/ Log:fixed WaryDict to use strategies; tests in module/__builtin__/test_builtin.py work again diff --git a/pypy/objspace/st

[pypy-commit] pypy dict-strategies: refactored clear-method of dict strategies and moved it to base strategy class (DictStrategy)

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44459:edaa171f9274 Date: 2011-04-15 15:20 +0200 http://bitbucket.org/pypy/pypy/changeset/edaa171f9274/ Log:refactored clear-method of dict strategies and moved it to base strategy class (DictStrategy) diff --git a/pypy/objspa

[pypy-commit] pypy dict-strategies: Fixed test_celldict.py to use strategies

2011-05-25 Thread l . diekmann
Author: Lukas Diekmann Branch: dict-strategies Changeset: r44460:f52ea3c5db05 Date: 2011-04-15 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/f52ea3c5db05/ Log:Fixed test_celldict.py to use strategies diff --git a/pypy/objspace/std/test/test_celldict.py b/pypy/objspace/std/test/test_c

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

2011-05-25 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44467:2bd1326af39e Date: 2011-05-25 14:23 +0200 http://bitbucket.org/pypy/pypy/changeset/2bd1326af39e/ Log:hg merge default diff --git a/pypy/jit/backend/test/calling_convention_test.py b/pypy/jit/backend/test/calling_convention_te

[pypy-commit] pypy jit-short_from_state: flush out any posponed op (such as lazy setfields) before fixing jumpargs

2011-05-25 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44468:a7d6860a7031 Date: 2011-05-25 17:34 +0200 http://bitbucket.org/pypy/pypy/changeset/a7d6860a7031/ Log:flush out any posponed op (such as lazy setfields) before fixing jumpargs diff --git a/pypy/jit/metainterp/optimizeop

[pypy-commit] pypy default: kill silly XXXs

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r44469:bcb9cb871147 Date: 2011-05-25 17:33 +0200 http://bitbucket.org/pypy/pypy/changeset/bcb9cb871147/ Log:kill silly XXXs diff --git a/pypy/objspace/std/smalltupleobject.py b/pypy/objspace/std/smalltupleobject.py --- a/pypy/objspace/std/smal

[pypy-commit] pypy dict-strategies: clean up some nonsense

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44470:d62968e3fd9f Date: 2011-05-25 17:45 +0200 http://bitbucket.org/pypy/pypy/changeset/d62968e3fd9f/ Log:clean up some nonsense diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --- a/py

[pypy-commit] pypy dict-strategies: the whole MeasuringDictImplementation is broken since ages, kill it. can be ressurected later if necessary

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44471:e8dde724d3cf Date: 2011-05-25 17:46 +0200 http://bitbucket.org/pypy/pypy/changeset/e8dde724d3cf/ Log:the whole MeasuringDictImplementation is broken since ages, kill it. can be ressurected later if necessary diff -

[pypy-commit] pypy dict-strategies: split string strategy into an abstract mixin and a concrete instantiation

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44472:b9b197fbbede Date: 2011-05-25 18:10 +0200 http://bitbucket.org/pypy/pypy/changeset/b9b197fbbede/ Log:split string strategy into an abstract mixin and a concrete instantiation diff --git a/pypy/objspace/std/dictmult

[pypy-commit] pypy dict-strategies: move code around, no changes

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44473:3f0fc60699d5 Date: 2011-05-25 18:11 +0200 http://bitbucket.org/pypy/pypy/changeset/3f0fc60699d5/ Log:move code around, no changes diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --

[pypy-commit] pypy dict-strategies: rename AbstractUnwrappedStrategy to AbtractTypedStrategy. make ObjectStrategy an AbtractTypedStrategy.

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44474:8b801718efea Date: 2011-05-25 18:16 +0200 http://bitbucket.org/pypy/pypy/changeset/8b801718efea/ Log:rename AbstractUnwrappedStrategy to AbtractTypedStrategy. make ObjectStrategy an AbtractTypedStrategy. diff --git

[pypy-commit] pypy unpickle-coroutine-trampoline: close branch

2011-05-25 Thread cfbolz
Author: Carl Friedrich Bolz Branch: unpickle-coroutine-trampoline Changeset: r44475:15df27bdf536 Date: 2011-05-25 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/15df27bdf536/ Log:close branch ___ pypy-commit mailing list [email protected]

[pypy-commit] pypy invalidate-virtualrefs: a branch in which virtualrefs are marked as invalid after the virtualref_finish, unless they were already forced before; this should allow the jit *not* to a

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44477:40134b879055 Date: 2011-05-25 10:08 +0200 http://bitbucket.org/pypy/pypy/changeset/40134b879055/ Log:a branch in which virtualrefs are marked as invalid after the virtualref_finish, unless they were already forced b

[pypy-commit] pypy invalidate-virtualrefs: refactor the untranslated version of vrefs: now they can be in the non-forced, forced or invalid state

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44478:da62de19afc8 Date: 2011-05-25 14:27 +0200 http://bitbucket.org/pypy/pypy/changeset/da62de19afc8/ Log:refactor the untranslated version of vrefs: now they can be in the non-forced, forced or invalid state diff --git

[pypy-commit] pypy invalidate-virtualrefs: fix the call to vref_finish in ec.leave()

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44480:4f845a5a8b69 Date: 2011-05-25 15:08 +0200 http://bitbucket.org/pypy/pypy/changeset/4f845a5a8b69/ Log:fix the call to vref_finish in ec.leave() diff --git a/pypy/interpreter/executioncontext.py b/pypy/interpreter/execution

[pypy-commit] pypy invalidate-virtualrefs: fix annotation/rtyping

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44479:8d7f15ce19ee Date: 2011-05-25 14:49 +0200 http://bitbucket.org/pypy/pypy/changeset/8d7f15ce19ee/ Log:fix annotation/rtyping diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py --- a/pypy/rlib/jit.py +++ b/pypy/rlib/jit.py @@

[pypy-commit] pypy invalidate-virtualrefs: make sure that the frame vref is forced when we call sys._getframe()

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44481:d866dcaad5cb Date: 2011-05-25 15:31 +0200 http://bitbucket.org/pypy/pypy/changeset/d866dcaad5cb/ Log:make sure that the frame vref is forced when we call sys._getframe() diff --git a/pypy/interpreter/executioncontext.py b

[pypy-commit] pypy invalidate-virtualrefs: mark the frame as escaped in case we call sys.exc_info(), which returns the traceback

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44482:010bf8715e0e Date: 2011-05-25 15:54 +0200 http://bitbucket.org/pypy/pypy/changeset/010bf8715e0e/ Log:mark the frame as escaped in case we call sys.exc_info(), which returns the traceback diff --git a/pypy/interpret

[pypy-commit] pypy invalidate-virtualrefs: fix tests due to the changed signature of virtual_ref_finish

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44483:6406fedc4b94 Date: 2011-05-25 17:18 +0200 http://bitbucket.org/pypy/pypy/changeset/6406fedc4b94/ Log:fix tests due to the changed signature of virtual_ref_finish diff --git a/pypy/jit/metainterp/test/test_virtualref.py b/

[pypy-commit] pypy invalidate-virtualrefs: a failing test

2011-05-25 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44484:0caf8c042b5e Date: 2011-05-25 17:31 +0200 http://bitbucket.org/pypy/pypy/changeset/0caf8c042b5e/ Log:a failing test diff --git a/pypy/jit/metainterp/test/test_virtualref.py b/pypy/jit/metainterp/test/test_virtualref.py --

[pypy-commit] pypy default: Improve the error message when file.__del__() fails

2011-05-25 Thread arigo
Author: Armin Rigo Branch: Changeset: r44485:ded93b2eecd9 Date: 2011-05-25 20:48 +0200 http://bitbucket.org/pypy/pypy/changeset/ded93b2eecd9/ Log:Improve the error message when file.__del__() fails in closing the descriptor. diff --git a/pypy/module/_file/interp_file.py b/pypy/modul

[pypy-commit] pypy default: Merged upstream.

2011-05-25 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44488:6f081eefa4ae Date: 2011-05-25 13:39 -0700 http://bitbucket.org/pypy/pypy/changeset/6f081eefa4ae/ Log:Merged upstream. diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_file/interp_file.py --- a/pypy/module/_file/interp_file.py +++ b/p

[pypy-commit] pypy default: Allow inlining of ll_append and ll_extend, now don't inline the _resize_ge method. This will play nicer with virtual arrays.

2011-05-25 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44487:61d8d6aa6218 Date: 2011-05-25 13:38 -0700 http://bitbucket.org/pypy/pypy/changeset/61d8d6aa6218/ Log:Allow inlining of ll_append and ll_extend, now don't inline the _resize_ge method. This will play nicer with virtual arrays. diff --git