Ma Lin <malin...@163.com> added the comment:
`_Stream.write` method in tarfile.py also has this code: https://github.com/python/cpython/blob/v3.11.0a6/Lib/tarfile.py#L434 But this bug will not be triggered. When calling this method, always pass bytes data. `_ConnectionBase.send_bytes` method in multiprocessing\connection.py can be micro-optimized: https://github.com/python/cpython/blob/v3.11.0a6/Lib/multiprocessing/connection.py#L193 This can be done in another issue. So I think this issue can be closed. ---------- stage: patch review -> resolved status: pending -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44439> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com