[issue36582] collections.UserString encode method returns a string

Raymond Hettinger report at bugs.python.org
Wed Aug 28 00:38:13 EDT 2019


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


New changeset 2a16eea71f56c2d8f38c295c8ce71a9a9a140aff by Raymond Hettinger (Daniel Fortunov) in branch 'master':
bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138)
https://github.com/python/cpython/commit/2a16eea71f56c2d8f38c295c8ce71a9a9a140aff


----------

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


More information about the Python-bugs-list mailing list