Commits

Author Commit Message Labels Comments Date
Lukas Diekmann
_newobj moved to W_SetObject and W_FrozenSetObject
Branches
set-strategies
Lukas Diekmann
_is_sane_hash was renamed to _never_equal_to_string
Branches
set-strategies
Lukas Diekmann
argument must be None to create a new empty set
Branches
set-strategies
Lukas Diekmann
merged default into set-strategies
Branches
set-strategies
Lukas Diekmann
only iterate over keys
Branches
set-strategies
Lukas Diekmann
implemented new iteratorimplementation (similar to dictmultiobject)
Branches
set-strategies
Lukas Diekmann
fix in EmptySetStrategy.issuperset
Branches
set-strategies
Lukas Diekmann
not needed anymore
Branches
set-strategies
Lukas Diekmann
obviuosly d_obj still could be an int-dict
Branches
set-strategies
Lukas Diekmann
Altough the if-part will never be executed in IntegerSetStrategy, the annotator doesn't know what type d is. It could be an int-dict and then d[w_key], where w_key is always a wrapped object because of the getkeys()-method, would degenerate this object to an integer.
Branches
set-strategies
Lukas Diekmann
added _is_sane_hash to delitem; fixed _is_sane_hash in has_key; added strategy tests
Branches
set-strategies
Lukas Diekmann
refactored discard/delitem and wrote some more tests
Branches
set-strategies
Lukas Diekmann
fix and test for fakeobject in has_key
Branches
set-strategies
Lukas Diekmann
fix and tests for fakeints in instrategy
Branches
set-strategies
Lukas Diekmann
added strategy test for union
Branches
set-strategies
Lukas Diekmann
was not rpython
Branches
set-strategies
Lukas Diekmann
satisfying the annotator
Branches
set-strategies
Lukas Diekmann
tell annotator that this obj must be a set
Branches
set-strategies
Lukas Diekmann
fixed bug in difference method for objectsets and added tests
Branches
set-strategies
Lukas Diekmann
this is the same but hopefully it will satisfy the annotator
Branches
set-strategies
Lukas Diekmann
space not necessary here?
Branches
set-strategies
Lukas Diekmann
make sure the annotator sees this as set or a subclass of set
Branches
set-strategies
Lukas Diekmann
added test for user generated subclass of setobject
Branches
set-strategies
Lukas Diekmann
be sure that w_obj is setobject
Branches
set-strategies
Lukas Diekmann
another way of creating a frozen set
Branches
set-strategies
Lukas Diekmann
fixed _mixin_
Branches
set-strategies
Lukas Diekmann
fixed ne__Set_settypedef
Branches
set-strategies
Lukas Diekmann
added intelligent way to treat the different strategies in W_SetObject.difference
Branches
set-strategies
Lukas Diekmann
switch back to empty strategy on remove and clear
Branches
set-strategies
Lukas Diekmann
EmptySet.add() switches to correct strategy now
Branches
set-strategies
  1. Prev
  2. Next