Skip to content

[Linux] ctypes packs bitfields Incorrectly #73939

Closed
@CharlesMachalow

Description

@CharlesMachalow
BPO 29753
Nosy @terryjreedy, @amauryfa, @jaraco, @abalkin, @meadori, @eryksun, @ztane, @pablogsal, @mleroy003, @miss-islington, @shihai1991, @karlding, @FFY00, @thesamprice
PRs
  • bpo-29753: fix merging packed bitfields in ctypes struct/union #19850
  • bpo-29753: revert 0d7ad9f (GH-19850) #27085
  • [3.10] bpo-29753: revert 0d7ad9f (GH-19850) (GH-27085) #27086
  • Files
  • test.py: File to test with
  • ctypes-bitfields-bug.tar.gz: tar file containing a test program in C and Python 3, plus a makefile. to tets : make rebuild ; make test
  • 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 = None
    created_at = <Date 2017-03-08.00:36:40.502>
    labels = ['ctypes', 'type-bug', '3.9', '3.10', '3.11']
    title = '[Linux] ctypes packs bitfields Incorrectly'
    updated_at = <Date 2021-07-17.02:08:19.325>
    user = 'https://bugs.python.org/CharlesMachalow'

    bugs.python.org fields:

    activity = <Date 2021-07-17.02:08:19.325>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2017-03-08.00:36:40.502>
    creator = 'Charles Machalow'
    dependencies = []
    files = ['46708', '47511']
    hgrepos = []
    issue_num = 29753
    keywords = ['patch']
    message_count = 21.0
    messages = ['289193', '289209', '289211', '289212', '301020', '306410', '306434', '306466', '314778', '343998', '363440', '367950', '387821', '392460', '397255', '397257', '397259', '397260', '397261', '397262', '397679']
    nosy_count = 15.0
    nosy_names = ['terry.reedy', 'amaury.forgeotdarc', 'jaraco', 'belopolsky', 'meador.inge', 'eryksun', 'ztane', 'Charles Machalow', 'pablogsal', 'mleroy003', 'miss-islington', 'shihai1991', 'karlding', 'FFY00', 'thesamprice']
    pr_nums = ['19850', '27085', '27086']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29753'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixestopic-ctypestype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions