Source

pypy / pypy / rpython / ootypesystem / rstr.py

Author Commit Message Labels Comments Date
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
rpython fix: str_decode_utf8 has already been annotated when we are rtyping .decode('utf-8'), so we need to make sure that the annotations are compatible
Antonio Cuni
rpython fix: unicode_encode_utf8 has already been annotated when we are rtyping .encode('utf-8'), so we need to make sure that the annotations are compatible
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
pff, the usual rpython test&fix dance
Antonio Cuni
test&fix for when the unicode %s argument is None: we cannot call convert_const, it's not rpython at all
Antonio Cuni
add proper support to (unicode %s unicode) formatting to ootype
Branches
rpython-unicode-formatting
Antonio Cuni
implement unicode formatting also for ootype; one failing test left
Branches
rpython-unicode-formatting
wlav
o) merge default into branch
Branches
reflex-support
wlav
rollback (translation fails in array)
Branches
reflex-support
Benjamin Peterson
add comment
Benjamin Peterson
Bring back 3b13b7c4c388 through 029ef1dd4a1a; fix slicing when stop > start
Armin Rigo
Revert 3b13b7c4c388 through 029ef1dd4a1a: this may look like a good
Benjamin Peterson
get correct behavior on JVM
Alex Gaynor
handle hashing a None rstr, fixes the test I checked in yesterday.
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.
Armin Rigo
(fijal, arigo)
Benjamin Peterson
allow chars to be joined into a different type
Branches
fast-forward
Antonio Cuni
- use oounicode to convert from string to unicode
Maciej Fijalkowski
(fijal, cfbolz, antocuni) Merge branch of rpython-unicode
Maciej Fijalkowski
Some unicode support (constants & getitem notably). More support needs fixes
Carl Friedrich Bolz
issue313 resolved
Antonio Cuni
test&fix for int('+') and int('+ 42')
Carl Friedrich Bolz
workaround for the inlining bug
Antonio Cuni
(antocuni, fijal)
Georg Brandl
it's -> its where appropriate.
  1. Prev
  2. 1
  3. 2
  4. Next