[issue38357] print adding extra bytes in hex above x7F

Artificial report at bugs.python.org
Wed Oct 2 21:37:47 EDT 2019


Artificial <me at artificialamateur.xyz> added the comment:

python3 -c "print('\x7F')" > test.txt && xxd test.txt
00000000: 7f0a                                     ..                               

python3 -c "print('\x80')" > test.txt && xxd test.txt
00000000: c280 0a                                  ...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38357>
_______________________________________


More information about the Python-bugs-list mailing list