Skip to content

base64.encodestring does not actually accept strings #47863

@ddvoinikov

Description

@ddvoinikov
BPO 3613
Nosy @gvanrossum, @birkenfeld, @pitrou, @devdanzin
Files
  • get_host_info.diff: Use unquote_to_bytes to feed base64.encodestring, then decode
  • encodestring_rename.patch: base64.py with encodestring/decodestring renamed to encodebytes/decodebytes.
  • encodebytes_new_types.patch: encodestring/decodestring with new input/output types.
  • 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/birkenfeld'
    closed_at = <Date 2009-06-04.09:13:14.845>
    created_at = <Date 2008-08-20.06:00:33.285>
    labels = ['type-bug', 'library', 'docs']
    title = 'base64.encodestring does not actually accept strings'
    updated_at = <Date 2009-06-04.09:13:14.844>
    user = 'https://bugs.python.org/ddvoinikov'

    bugs.python.org fields:

    activity = <Date 2009-06-04.09:13:14.844>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2009-06-04.09:13:14.845>
    closer = 'georg.brandl'
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2008-08-20.06:00:33.285>
    creator = 'ddvoinikov'
    dependencies = []
    files = ['12983', '13753', '13754']
    hgrepos = []
    issue_num = 3613
    keywords = ['patch']
    message_count = 12.0
    messages = ['71513', '71531', '71532', '71535', '71536', '71550', '81413', '81904', '86307', '86390', '86391', '88869']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'georg.brandl', 'pitrou', 'ajaksu2', 'kawai', 'ddvoinikov', 'mgiuca']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'test needed'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3613'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    Labels

    docsDocumentation in the Doc dirstdlibStandard 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