Skip to content
  • Amaury Forgeot d'Arc's avatar
    Merge branch/interplevel-codecs: · f969809ec83d
    Amaury Forgeot d'Arc authored
    Rewrite all encodings implemented at applevel,
    move most of them to rlib.runicode where they may be useful for RPython programs.
    
    - This fixes translation with -O0: this option disables geninterp,
    and uses the pypy compiler instead to compile applevel code.
    But unicode literals need to be decoded with the codec module...
    
    - This also removes some huge geninterp'd code: app_codecs.py used to contain 3
    or 4 functions each rendered with 20000 lines of C code!
    
    + use StringBuilder everywhere
    f969809ec83d