mirror of https://github.com/python/cpython
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
This commit is contained in:
commit
04f6974d84
|
@ -58,6 +58,7 @@ _Py_atomic_thread_fence(_Py_memory_order order)
|
|||
static __inline__ void
|
||||
_Py_ANNOTATE_MEMORY_ORDER(const volatile void *address, _Py_memory_order order)
|
||||
{
|
||||
(void)address; /* shut up -Wunused-parameter */
|
||||
switch(order) {
|
||||
case _Py_memory_order_release:
|
||||
case _Py_memory_order_acq_rel:
|
||||
|
|
|
@ -10,6 +10,9 @@ What's New in Python 3.3 Alpha 1?
|
|||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
|
||||
given by Campbell Barton).
|
||||
|
||||
- Issue #13503: Use a more efficient reduction format for bytearrays with
|
||||
pickle protocol >= 3. The old reduction format is kept with older protocols
|
||||
in order to allow unpickling under Python 2. Patch by Irmen de Jong.
|
||||
|
|
Loading…
Reference in New Issue