Skip to content

Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError #60600

Description

@techtonik
mannequin
BPO 16396
Nosy @amauryfa, @jaraco, @abalkin, @tiran, @benjaminp, @ezio-melotti, @meadori, @serhiy-storchaka, @zooba, @miss-islington, @hauntsaninja
PRs
  • bpo-16396: Allow wintypes to be imported on non-Windows systems. #21394
  • [3.9] bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) #22790
  • [3.8] bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) #22791
  • bpo-16396: fix BPO number in changelog #23951
  • [3.9] bpo-16396: fix BPO number in changelog (GH-23951) #23956
  • Files
  • 16396_vbool.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 = 'https://github.com/benjaminp'
    closed_at = <Date 2020-10-19.22:07:07.341>
    created_at = <Date 2012-11-03.15:22:51.972>
    labels = ['ctypes', 'type-bug', '3.8', '3.9', '3.10']
    title = 'Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError'
    updated_at = <Date 2020-12-29.11:52:15.433>
    user = 'https://bugs.python.org/techtonik'

    bugs.python.org fields:

    activity = <Date 2020-12-29.11:52:15.433>
    actor = 'serhiy.storchaka'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2020-10-19.22:07:07.341>
    closer = 'steve.dower'
    components = ['ctypes']
    creation = <Date 2012-11-03.15:22:51.972>
    creator = 'techtonik'
    dependencies = []
    files = ['30684']
    hgrepos = []
    issue_num = 16396
    keywords = ['patch']
    message_count = 22.0
    messages = ['174634', '174635', '188245', '188707', '191756', '191763', '192324', '194927', '194948', '194985', '195652', '195675', '195825', '195924', '195926', '195940', '284191', '379033', '379042', '379047', '383808', '383983']
    nosy_count = 14.0
    nosy_names = ['amaury.forgeotdarc', 'jaraco', 'belopolsky', 'techtonik', 'christian.heimes', 'benjamin.peterson', 'ezio.melotti', 'meador.inge', 'serhiy.storchaka', 'steve.dower', 'dmi.baranov', 'Mike Place', 'miss-islington', 'hauntsaninja']
    pr_nums = ['21394', '22790', '22791', '23951', '23956']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16396'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions