Skip to content

ctypes.c_char gives a misleading error when passed a one-character unicode string #62191

@BlckKnght

Description

@BlckKnght
mannequin
BPO 17991
Nosy @amauryfa, @vstinner, @meadori, @BlckKnght
Superseder
  • bpo-22161: Remove unsupported code from ctypes
  • 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 2015-07-29.07:00:28.087>
    created_at = <Date 2013-05-16.03:21:57.548>
    labels = ['ctypes', 'type-feature']
    title = 'ctypes.c_char gives a misleading error when passed a one-character unicode string'
    updated_at = <Date 2015-07-29.09:51:43.265>
    user = 'https://github.com/BlckKnght'

    bugs.python.org fields:

    activity = <Date 2015-07-29.09:51:43.265>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-07-29.07:00:28.087>
    closer = 'Steven.Barker'
    components = ['ctypes']
    creation = <Date 2013-05-16.03:21:57.548>
    creator = 'Steven.Barker'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 17991
    keywords = []
    message_count = 3.0
    messages = ['189338', '190487', '247561']
    nosy_count = 5.0
    nosy_names = ['amaury.forgeotdarc', 'vstinner', 'meador.inge', 'Steven.Barker', 'jamadagni']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '22161'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17991'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions