[New-bugs-announce] [issue31912] PyMem_Malloc() should guarantee alignof(max_align_t)

Stefan Krah report at bugs.python.org
Tue Oct 31 14:01:35 EDT 2017


New submission from Stefan Krah <stefan at bytereef.org>:

This is related to #27987 and #20064 and perhaps the pymalloc patch
from #18835.

I think PyMem_Malloc() should guarantee alignof(max_align_t).

It actually did before the "#define PYMEM_FUNCS PYOBJ_FUNCS" optimization,
so we have a sort of regression here.

----------
components: Interpreter Core
messages: 305320
nosy: skrah
priority: normal
severity: normal
stage: needs patch
status: open
title: PyMem_Malloc() should guarantee alignof(max_align_t)
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31912>
_______________________________________


More information about the New-bugs-announce mailing list