]> granicus.if.org Git - python/commit
[2.7] bpo-20047: Make bytearray methods partition() and rpartition() rejecting (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 29 Oct 2017 10:25:38 +0000 (12:25 +0200)
committerGitHub <noreply@github.com>
Sun, 29 Oct 2017 10:25:38 +0000 (12:25 +0200)
commit107f3cc791d223dc06b7c80f0de672e88ae6a8d1
tree12acb7fd8656ad23bbfb6f996741efcd6e97d9ae
parent7c622be4f2e86c1999baba4f64671a5987d43d73
[2.7] bpo-20047: Make bytearray methods partition() and rpartition() rejecting (GH-4158) (#4163)

separators that are not bytes-like objects..
(cherry picked from commit a2314283ff87c65e1745a42c2f2b716b1a209128)
Lib/test/test_bytes.py
Misc/NEWS.d/next/Core and Builtins/2017-10-28-19-11-05.bpo-20047.GuNAto.rst [new file with mode: 0644]
Objects/bytearrayobject.c
Objects/bytesobject.c [new file with mode: 0644]