memoryview & ctypes: incorrect itemsize for empty array

eric-wieser · GitHub

BPO

32782

Nosy

@terryjreedy

,

@amauryfa

,

@abalkin

,

@skrah

,

@meadori

,

@eric-wieser

PRs

bpo-32782: PEP3118 itemsize of an empty ctypes array should not be 0 #5576

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more detailsGitHub fields:

assignee=Noneclosed_at=Nonecreated_at=<Date2018-02-06.18:53:21.025>labels= ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10', 'ctypes'] title='memoryview & ctypes: incorrect itemsize for empty array'updated_at=<Date2020-05-23.15:47:49.464>user='https://github.com/eric-wieser'bugs.python.org fields:

activity=<Date2020-05-23.15:47:49.464>actor='cheryl.sabella'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core', 'ctypes'] creation=<Date2018-02-06.18:53:21.025>creator='Eric.Wieser'dependencies= [] files= [] hgrepos= [] issue_num=32782keywords= ['patch'] message_count=9.0messages= ['311740', '321290', '324705', '340230', '340231', '340232', '340235', '340236', '348004'] nosy_count=8.0nosy_names= ['terry.reedy', 'teoliphant', 'amaury.forgeotdarc', 'belopolsky', 'skrah', 'meador.inge', 'Eric.Wieser', 'Eric Wieser'] pr_nums= ['5576'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue32782'versions= ['Python 3.8', 'Python 3.9', 'Python 3.10']Linked PRs

[3.10] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) #100451

[3.11] gh-76963: PEP3118 itemsize of an empty ctypes array should not be 0 (GH-5576) #100452