Skip to content

struct and memoryview tests rely on undefined behavior (as revealed by clang 9) #83870

@stratakis

Description

@stratakis
mannequin
BPO 39689
Nosy @gpshead, @ronaldoussoren, @mdickinson, @vstinner, @benjaminp, @encukou, @skrah, @meadori, @stratakis, @ammaraskar, @miss-islington
PRs
  • bpo-39689: _struct: Avoid undefined behavior when loading native _Bool #18925
  • bpo-39689: Do not test undefined casts to _Bool (GH-18964) #18964
  • [3.7] bpo-39689: Do not test undefined casts to _Bool (GH-18964) #18965
  • [3.8] bpo-39689: Do not test undefined casts to _Bool (GH-18964) #18966
  • bpo-39689: Do not use native packing for format "?" with standard size #18969
  • [3.7] bpo-39689: Do not use native packing for format "?" with standard size (GH-18969) #19154
  • [3.8] bpo-39689: Do not use native packing for format "?" with standard size (GH-18969) #19155
  • 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 2020-04-07.15:12:29.798>
    created_at = <Date 2020-02-19.15:01:49.939>
    labels = ['type-bug', '3.8', '3.9', 'extension-modules', '3.7', 'tests']
    title = 'struct and memoryview tests rely on undefined behavior (as revealed by clang 9)'
    updated_at = <Date 2020-12-08.00:44:33.929>
    user = 'https://github.com/stratakis'

    bugs.python.org fields:

    activity = <Date 2020-12-08.00:44:33.929>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-04-07.15:12:29.798>
    closer = 'petr.viktorin'
    components = ['Extension Modules', 'Tests']
    creation = <Date 2020-02-19.15:01:49.939>
    creator = 'cstratak'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39689
    keywords = ['patch']
    message_count = 43.0
    messages = ['362277', '362278', '362698', '362811', '362815', '362829', '362833', '363275', '363284', '363294', '363299', '363305', '363310', '363472', '363924', '363927', '363930', '363931', '363933', '363954', '363955', '363966', '363978', '364008', '364025', '364026', '364027', '364038', '364042', '364043', '364044', '364437', '364450', '364472', '364501', '364506', '364511', '364927', '364928', '364933', '365382', '365383', '382703']
    nosy_count = 11.0
    nosy_names = ['gregory.p.smith', 'ronaldoussoren', 'mark.dickinson', 'vstinner', 'benjamin.peterson', 'petr.viktorin', 'skrah', 'meador.inge', 'cstratak', 'ammar2', 'miss-islington']
    pr_nums = ['18925', '18964', '18965', '18966', '18969', '19154', '19155']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39689'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifeextension-modulesC modules in the Modules dirtestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions