1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / objspace / std / stringtype.py

Author Commit Message Date Builds
Alex Gaynor
removed unused strjoin objects
Alex Gaynor
Remove unused strjoin option
Alex Gaynor
Remove rope support from std objspace
Maciej Fijalkowski
use newer shinier interface a bit everywhere
Branches
kill-someobject
Armin Rigo
Fix fix fix in-progress
Branches
kill-someobject
Armin Rigo
Add the internal method str._formatter_field_name_split().
Armin Rigo
Implement str._formatter_parser().
Dan Villiom Podlaski Christiansen
No-op merge to register the merge done in 0e3099e3cc33 with Mercurial.
Branches
fast-forward
Amaury Forgeot d'Arc
Merge from trunk: svn merge -r77543:78227 ../trunk/ .
Branches
fast-forward
Amaury Forgeot d'Arc
Merge from trunk
Branches
fast-forward
Amaury Forgeot d'Arc
Add keyword arguments to str.encode and str.decode
Branches
fast-forward
Benjamin Peterson
implement advanced string formatting - add space.format() and a format() builtin - add unicode/str format() method - implement formatting for integers and string Floats, complex, and locale aware formatting will follow.
Branches
fast-forward
Maciej Fijalkowski
Some tests and fixes. Also fixes translation.
Maciej Fijalkowski
What the hell, implement this optimization
Armin Rigo
Kill an obvious inefficiency.
Armin Rigo
Comments to clarify r40234.
Carl Friedrich Bolz
svn merge -r 40042:HEAD svn+ssh://codespeak.net/svn/pypy/branch/rope-branch2
Alexander Schremmer
(xorAxAx, gbrandl, armin with useful svn hints) Merged pypy-2.5 branch into dist.
Armin Rigo
(cfbolz, arigo) Prebuild the empty string and single-character strings. Controlled by two new option, --objspace-std-sharesmallstr and --objspace-std-withprebuiltchar.
Carl Friedrich Bolz
svn merge http://codespeak.net/svn/pypy/dist@29785 http://codespeak.net/svn/pypy/branch/objspace-config-cleanup@29920 . thanks arre. second attemt at merging, seems to work. I ran all tests and fixed some places where tests didn't use gettestobjspace
Carl Friedrich Bolz
(pzieschang, xoraxax, cfbolz): also use the join object when doing multiplication
Carl Friedrich Bolz
(cfbolz, pzieschang): bad armin, no cookie! the strslice object was actually broken, since it just always delegated because its multimethod implementations were not registered. Now this is fixed. In addition we added a strjoin object, which implements efficient adding of strings.
Carl Friedrich Bolz
(pzieschang, cfbolz): don't always use sliced string implementation, only when a heuristic is fulfilled. The heuristic is more or less picked randomly, should be benchmarked or made adaptive at one point. The tests needed to be fixed to actually test something again.
Armin Rigo
Experimental (and turned off by default): W_StringSliceObject, representing a slice of an RPython string. Only a few operations are implemented on it, but by automatic delegation to W_StringObject it still works transparently. I guess this should at least check how large the slice will be, and only use W_StringSliceObject for "large enough" slices.
Armin Rigo
Added docstrings to all (non-special) methods of built-in types in the StdObjSpace.
Armin Rigo
Just for fun, or maybe to try to win the largest diff award: refactored the StdObjSpace to no longer store the 'space' attribute on any of the W_XxxObject classes. It was not really used in any essential way any more.
Armin Rigo
Hash support: some Wrappables were missing a hash. The main work in this check-in, though, is about making sure the hash_cache field inserted by the rtyper for instances on which hash() is called, only shows up in selected subclasses of W_Root instead of on W_Root. Classes like W_IntObject and W_TupleObject don't need it. (This is a step towards tagged pointers, which has no chance to work if the W_SmallIntObject class contains more than an 'intval' field.)
Carl Friedrich Bolz
oops
Carl Friedrich Bolz
replace MultiMethod with StdObjspaceMultiMethod
Carl Friedrich Bolz
changing space.is_true(space.is_ to space.is_w and space.is_true(space.eq to space.eq_w a bit everywhere. Also remove commented out code.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next