Skip to content

collections.UserString encode method returns a string #80763

Description

@treyhunner
BPO 36582
Nosy @rhettinger, @asqui, @Mariatta, @treyhunner, @csabella, @tirkarthi, @mblahay
PRs
  • bpo-36582: Make collections.UserString.encode() return bytes, not str #13138
  • [3.8] bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) #15557
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/rhettinger'
    closed_at = <Date 2019-08-28.05:00:29.638>
    created_at = <Date 2019-04-09.23:38:53.294>
    labels = ['easy', '3.8', 'type-bug', 'library', '3.9']
    title = 'collections.UserString encode method returns a string'
    updated_at = <Date 2019-08-28.05:00:29.637>
    user = 'https://github.com/treyhunner'

    bugs.python.org fields:

    activity = <Date 2019-08-28.05:00:29.637>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2019-08-28.05:00:29.638>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2019-04-09.23:38:53.294>
    creator = 'trey'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36582
    keywords = ['patch', 'easy']
    message_count = 9.0
    messages = ['339818', '339824', '341550', '341563', '341593', '341594', '341649', '350653', '350654']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'dfortunov', 'Mariatta', 'trey', 'cheryl.sabella', 'xtreak', 'mblahay']
    pr_nums = ['13138', '15557']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36582'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.8 (EOL)end of life3.9 (EOL)end of lifeeasystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions