cpython: f855f929bc48 (original) (raw)

Mercurial > cpython

changeset 73624:f855f929bc48 3.2

Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER This allows compiling extension modules with -Wswitch-enum on gcc. Initial patch by Floris Bruynooghe. [#13338]

Petri Lehtinen petri@digip.org
date Sat, 19 Nov 2011 22:03:10 +0200
parents 795c184b0282
children c2e588a5237a ba3da86d1c5d
files Include/pyatomic.h Misc/ACKS Misc/NEWS
diffstat 3 files changed, 9 insertions(+), 2 deletions(-)[+] [-] Include/pyatomic.h 6 Misc/ACKS 1 Misc/NEWS 4

line wrap: on

line diff

--- a/Include/pyatomic.h +++ b/Include/pyatomic.h @@ -64,7 +64,8 @@ static inline void case _Py_memory_order_seq_cst: _Py_ANNOTATE_HAPPENS_BEFORE(address); break;

--- a/Misc/ACKS +++ b/Misc/ACKS @@ -124,6 +124,7 @@ Gary S. Brown Oleg Broytmann Dave Brueck Francisco Martín Brugué +Floris Bruynooghe Stan Bubrouski Erik de Bueger Dick Bulterman

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,10 @@ What's New in Python 3.2.3? Core and Builtins ----------------- +- Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER