[issue36582] collections.UserString encode method returns a string

Raymond Hettinger report at bugs.python.org
Wed Aug 28 00:59:57 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:


New changeset 2cb82d2a88710b0af10b9d9721a9710ecc037e72 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8':
bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) (GH-15557)
https://github.com/python/cpython/commit/2cb82d2a88710b0af10b9d9721a9710ecc037e72


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36582>
_______________________________________


More information about the Python-bugs-list mailing list