Skip to content
  • Paul Sokolovsky's avatar
    objstr: Be 8-bit clean even for repr(). · 2ec38a17
    Paul Sokolovsky authored
    This will allow roughly the same behavior as Python3 for non-ASCII strings,
    for example, print("<phrase in non-Latin script>".split()) will print list
    of words, not weird hex dump (like Python2 behaves). (Of course, that it
    will print list of words, if there're "words" in that phrase at all, separated
    by ASCII-compatible whitespace; that surely won't apply to every human
    language in existence).
    2ec38a17