]> granicus.if.org Git - python/commit
bpo-20047: Make bytearray methods partition() and rpartition() rejecting (#4158)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 28 Oct 2017 23:11:54 +0000 (02:11 +0300)
committerGitHub <noreply@github.com>
Sat, 28 Oct 2017 23:11:54 +0000 (02:11 +0300)
commita2314283ff87c65e1745a42c2f2b716b1a209128
treeb1b1287aeea750c8694673939ec72b469c19cc59
parent5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a
bpo-20047: Make bytearray methods partition() and rpartition() rejecting (#4158)

separators that are not bytes-like objects.
Doc/library/stdtypes.rst
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
Objects/clinic/bytearrayobject.c.h
Objects/clinic/bytesobject.c.h
Objects/clinic/unicodeobject.c.h
Objects/unicodeobject.c