summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyboard.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-13 21:23:00 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-14 01:21:13 +0300
commit2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e (patch)
tree5bc282117e32cb70604b617d5692900529cc9ded /tests/pyboard.py
parente9036c295ca1240946c122044e86ba8b569184e1 (diff)
downloadmicropython-2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e.tar.gz
micropython-2ec38a17d4e357f8f12ee6a2643e2dd2ff7a426e.zip
objstr: Be 8-bit clean even for repr().
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).
Diffstat (limited to 'tests/pyboard.py')
0 files changed, 0 insertions, 0 deletions