New submission from zaazbb <zaa...@163.com>:
In chm(python363.chm) documents, some unicode chars (non ascii chars) can not
display.
for example:
asyncio — Asynchronous I/O, event loop, coroutines and tasks
displayed as
asyncio � Asynchronous I/O, event loop, coroutines and
New submission from zaazbb:
# works.
>>> b'\x00\x08%(amount)b'% {b'amount':b'1'}
b'\x00\x081'
# not work.
>>> b'\x11\x00\x08%(amount)b'% {b'amount':b'1'}
b'\x11\x00\x08%(amount)b'
# not work.
>>> amount=bytearray(b'0010')
>>> posnum=b
zaazbb added the comment:
how about add a unitive style function name, for a compatibility reason, keep
the old function exists also.
for example, add int.tobytes(), and keep int.to_bytes() exists.
--
___
Python tracker <rep...@bugs.python.