[issue10349] Error in Module/python.c when building on OpenBSD 4.8

Georg Brandl report at bugs.python.org
Sat Nov 20 13:06:02 CET 2010


Georg Brandl <georg at python.org> added the comment:

This is the old issue of casting the result of malloc() -- frowned upon in C, but required in C++.  Looking at the Python sources, most uses of PyMem_Malloc seem to have the cast, so it doesn't seem wrong to add one here (where it actually can be configured to be compiled with a C++ compiler).

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10349>
_______________________________________


More information about the Python-bugs-list mailing list