This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, njs, pitrou, rhettinger, tim.peters, vstinner
Date 2014-12-05.21:20:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Windows provides:

void * _aligned_malloc(
    size_t size, 
    size_t alignment

How should we handle platforms which don't provide a memory allocator with an alignment? The simplest option is to return NULL (MemoryError).

Allocating more memory and skip first bytes may work, but how do we retrieve the original address if the function releasing the memory block?

What about Solaris, Mac OS X, FreeBSD, etc.
Date User Action Args
2014-12-05 21:20:21vstinnersetrecipients: + vstinner, tim.peters, rhettinger, pitrou, njs, neologix
2014-12-05 21:20:21vstinnersetmessageid: <>
2014-12-05 21:20:21vstinnerlinkissue18835 messages
2014-12-05 21:20:21vstinnercreate