Skip to content

os.environ converts key type from string to bytes in KeyError exception #61902

@RobertTasarz

Description

@RobertTasarz
BPO 17702
Nosy @vstinner, @bitdancer
Files
  • os_environ_keyerror.patch
  • os_environb_raise_from_none.patch
  • 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 2013-08-23.17:24:48.946>
    created_at = <Date 2013-04-12.00:36:11.381>
    labels = ['extension-modules', 'type-bug']
    title = 'os.environ converts key type from string to bytes in KeyError exception'
    updated_at = <Date 2013-08-23.17:27:48.800>
    user = 'https://bugs.python.org/RobertTasarz'

    bugs.python.org fields:

    activity = <Date 2013-08-23.17:27:48.800>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-08-23.17:24:48.946>
    closer = 'python-dev'
    components = ['Extension Modules']
    creation = <Date 2013-04-12.00:36:11.381>
    creator = 'Robert.Tasarz'
    dependencies = []
    files = ['29788', '31441']
    hgrepos = []
    issue_num = 17702
    keywords = ['patch']
    message_count = 12.0
    messages = ['186604', '186612', '186613', '186620', '186626', '186634', '186923', '195973', '195980', '195981', '195987', '195990']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'r.david.murray', 'python-dev', 'Drekin', 'Robert.Tasarz']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17702'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      extension-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