Source

pypy / pypy / objspace / std / tupleobject.py

Author Commit Message Labels Comments Date
Maciej Fijalkowski
backout 5f1c0d3ad87f
Branches
virtual-arguments
Maciej Fijalkowski
few more hits
Branches
virtual-arguments
Armin Rigo
Fix for issue1077: [nan] <= [5] should be False.
Maciej Fijalkowski
(agaynor, fijal) bah fix translation
Maciej Fijalkowski
(arigo, agaynor, fijal) a bit more precise unrolling condition
Maciej Fijalkowski
add a few unrolls to tuple
Armin Rigo
- fix space.fixedlist/unpackiterable/listview to handle directly tuples of any kind - fix the test to raise an OperationError, printing nicer tracebacks
Branches
SpecialisedTuples
Armin Rigo
Fix annotation issues.
Armin Rigo
Add the requirement that W_XxxObject classes that are different implementations of the same app-level type should inherit from a common base class more precise than W_Object. This is actually easy, just by adding some empty W_AbstractXxxObject classes here and there. This property allows us to build the _interplevel_classes for-speed-only dictionary in a way that doesn't depend on dictionary order. Previously it would randomly pick a class if there are several ones, which might be (if you're unluckly) not the most commonly used one.
Carl Friedrich Bolz
reuse the new helper here too
Armin Rigo
Clean up: min() is now RPython.
Alex Gaynor
hash_w is a bit prettier.
Alex Gaynor
rename this function so it doesn't look like something we copied out of the CPython C-API
Carl Friedrich Bolz
merge default
Branches
dict-strategies
Carl Friedrich Bolz
kill silly XXXs
Carl Friedrich Bolz
merge smalltuple stuff that lukas did
Carl Friedrich Bolz
problem in merge
Branches
dict-strategies
Carl Friedrich Bolz
merge default, needs fixing about the new dict proxy
Branches
dict-strategies
Lukas Diekmann
(l.diekmann, cfbolz): Fixed W_TupleObject to go via space.newtuple
Lukas Diekmann
(l.diekmann, cfbolz): Implemented getitem and slicing for small tuples
Alex Gaynor
Move pre/post -amble of hash__Tuple into a seperate function so allocations can be removed.
Dan Villiom Podlaski Christiansen
No-op merge to register the merge done in 0e3099e3cc33 with Mercurial.
Branches
fast-forward
Benjamin Peterson
merge from trunk
Branches
fast-forward
Benjamin Peterson
add index and count methods to tuple
Branches
fast-forward
Armin Rigo
A generous sprinkle of "_immutable_=True" in the std object space.
Anders Hammarquist
Dont short-circuit subtype_of_tuple * 1
Anders Hammarquist
fix tuple * 1 is tuple checked by CPython tests
Maciej Fijalkowski
Check-in merge attempt. Diff is to huge to read it.
Armin Rigo
A W_FastSeqIterObject that is a lot more efficient than the W_SeqIterObject for lists and tuples.
Armin Rigo
Details about __index__: * gateways should not clamp by default, but raise OverflowError * make w_exception=None be no longer a default argument, to avoid clamping-by-surprize if we forget it * better hack (maybe) for the bootstrap issue in getitem__Tuple_ANY() * unified the way error messages are built * (unrelated) 'int * unicode' should not use space.mul()
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next