]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-120380: fix Python implementation of `pickle.Pickler` for `bytes` and ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Jun 2024 10:12:04 +0000 (12:12 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2024 10:12:04 +0000 (12:12 +0200)
commit6de373d7508ef621854a08a4bc770431b46f8f82
treef28e96cc93a249a21d5489bade428ac1157ee98f
parent41e1ac6a2375f169ed40edd6219904f96cbf9792
[3.12] gh-120380: fix Python implementation of `pickle.Pickler` for `bytes` and `bytearray` objects in protocol version 5. (GH-120422) (GH-120833)

gh-120380: fix Python implementation of `pickle.Pickler` for `bytes` and `bytearray` objects in protocol version 5. (GH-120422)
(cherry picked from commit 7595e6743ac78ac0dd19418176f66d251668fafc)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/pickle.py
Lib/test/pickletester.py
Misc/NEWS.d/next/Core and Builtins/2024-06-12-18-23-15.gh-issue-120380.edtqjq.rst [new file with mode: 0644]