Skip to content

Passing 'None' if argtype is set to POINTER(...) doesn't always result in NULL #48856

@robertluce

Description

@robertluce
mannequin
BPO 4606
Nosy @theller
Files
  • patch_ctypes_none_arg.diff: proposed patch against 2.6
  • patch-ctypes-none-arg-2.diff: New patch against trunk, added the missing Py_INCREF().
  • 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/theller'
    closed_at = <Date 2009-09-18.20:13:47.659>
    created_at = <Date 2008-12-09.09:46:59.651>
    labels = ['ctypes', 'type-crash']
    title = "Passing 'None' if argtype is set to POINTER(...) doesn't always result in NULL"
    updated_at = <Date 2011-04-11.12:49:47.597>
    user = 'https://bugs.python.org/robertluce'

    bugs.python.org fields:

    activity = <Date 2011-04-11.12:49:47.597>
    actor = 'olt'
    assignee = 'theller'
    closed = True
    closed_date = <Date 2009-09-18.20:13:47.659>
    closer = 'theller'
    components = ['ctypes']
    creation = <Date 2008-12-09.09:46:59.651>
    creator = 'robertluce'
    dependencies = []
    files = ['12300', '14608']
    hgrepos = []
    issue_num = 4606
    keywords = ['patch']
    message_count = 10.0
    messages = ['77397', '82371', '91082', '91103', '91104', '91112', '91144', '91145', '92841', '133518']
    nosy_count = 5.0
    nosy_names = ['theller', 'amcnabb', 'LambertDW', 'olt', 'robertluce']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue4606'
    versions = ['Python 2.6', 'Python 3.1', 'Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    topic-ctypestype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions