Skip to content

base64 throws 'incorrect padding' exception when the issue is NOT with the padding #77951

Description

@dniq
mannequin
BPO 33770
Nosy @terryjreedy, @mdickinson, @taleinat, @ned-deily, @bitdancer, @serhiy-storchaka, @dniq
PRs
  • bpo-33770: improve base64 exception message for encoded inputs of invalid length #7416
  • [3.7] bpo-33770: improve base64 exception message for encoded inputs of invalid length (GH-7416) #7602
  • 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 = None
    closed_at = <Date 2018-06-11.05:31:13.374>
    created_at = <Date 2018-06-04.19:53:31.414>
    labels = ['extension-modules', '3.8', 'type-bug', '3.7']
    title = "base64 throws 'incorrect padding' exception when the issue is NOT with the padding"
    updated_at = <Date 2018-06-11.05:31:13.373>
    user = 'https://github.com/dniq'

    bugs.python.org fields:

    activity = <Date 2018-06-11.05:31:13.373>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-06-11.05:31:13.374>
    closer = 'ned.deily'
    components = ['Extension Modules']
    creation = <Date 2018-06-04.19:53:31.414>
    creator = 'dniq'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33770
    keywords = ['patch']
    message_count = 23.0
    messages = ['318691', '318697', '318701', '318704', '318716', '318721', '318727', '318728', '318729', '318733', '318752', '318755', '318762', '318789', '319093', '319094', '319101', '319102', '319104', '319202', '319248', '319249', '319272']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'mark.dickinson', 'taleinat', 'ned.deily', 'r.david.murray', 'serhiy.storchaka', 'dniq']
    pr_nums = ['7416', '7602']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33770'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions