1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / rpython / rstr.py

The branch 'remove-globals-in-jit' does not exist.
Author Commit Message Date Builds
Maciej Fijalkowski
basic bytearray creation
Alex Gaynor
isdigit on strings
Alex Gaynor
support isalpha on strings
Antonio Cuni
unskip&fix test_{upper,lower}_char for ootype (this fixes also the correspondent CLI tests)
Alex Gaynor
(alex, fijal) Make char.{lower,upper}() return chars instead of upcasting to strings.
Amaury Forgeot d'Arc
Fix tests around utf8 encoding
Antonio Cuni
delay the import of rlib.runicode as much as possible, else we get circular imports
Antonio Cuni
kill a leftover
Antonio Cuni
do the same with str_decode_utf_8
Antonio Cuni
it is too hard to call unicode_encode_utf_8 from a LL graph while keeping the same annotations computed during normal translation. Instead, we clone a new function with func_with_new_name and we call it. Also, we share the code between LLtype and OOtype now
Antonio Cuni
add the possibility of doing x.decode('utf-8') in rpython
Branches
rpython-utf8
Antonio Cuni
add the possibility of doing x.encode('utf-8') in rpython
Branches
rpython-utf8
Antonio Cuni
correctly support u'%s' % my_unicode_string
Armin Rigo
More.
Maciej Fijalkowski
a missing hop.exception_is_here
Alex Gaynor
Specialize str.{start,end}swith for char values at the RPython level, this makes long(), and inevitably other stuff generate considerably saner code.
Alex Gaynor
Remove rlib.rstring.repeat_string, replace with normal * operator for rstrings, also improved the efficiency (only one allocation, and log(n) copies).
Amaury Forgeot d'Arc
Add RPython support for str.rsplit(char, maxsplit=-1)
Amaury Forgeot d'Arc
The 'maxsplit' argument of str.split(sep, maxsplit=-1) is now RPython.
Amaury Forgeot d'Arc
Move float/double related code from rarithmetic.py to rfloat.py
Branches
move-rfloat
Carl Friedrich Bolz
write this function in the style of the others around it
Amaury Forgeot d'Arc
Avoid name collision and nasty recursion
Amaury Forgeot d'Arc
One function for them to call and to shorter repr bring them.
Armin Rigo
(fijal, arigo) Support in RPython of str(x) where x is either a string or None. For None, returns the string None.
Dan Villiom Podlaski Christiansen
No-op merge to register the merge done in 0e3099e3cc33 with Mercurial.
Branches
fast-forward
Armin Rigo
Fix for r76143.
Armin Rigo
The previous fix broke unichar.encode("latin-1"). Test it and re-fix it.
Armin Rigo
Fix for encode("ascii") called on a unichar.
Armin Rigo
Fix for str(u) where u is a UniChar.
Benjamin Peterson
merge from trunk
Branches
fast-forward
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next